190 Commits

Author SHA1 Message Date
Nick Daly
1e514b57c5 The hosting and consuming data store is now signed. v0.2 2012-05-16 19:51:48 -05:00
Nick Daly
2ba96ede89 Load and save data from file correctly.
Still need to sign the data though.
2012-05-16 17:33:22 -05:00
Nick Daly
07e7195d48 TODO cleanup. :) v0.1 2012-05-15 09:28:52 -05:00
Nick Daly
602e6732ab Removed server state saving. That was a bad approach to it. 2012-05-15 09:28:43 -05:00
Nick Daly
329e92ab86 Fixed imports. 2012-05-15 08:58:15 -05:00
Nick Daly
8d44a5c12a A little doc cleanup; load named key from config. 2012-05-15 08:44:40 -05:00
Nick Daly
244d71bdb2 Moved simplesantiago to santiago. 2012-05-15 08:44:09 -05:00
Nick Daly
ec8d401ea5 Moved simplesantiago to santiago. 2012-05-15 08:42:58 -05:00
Nick Daly
c8e269faaf Removed santiago.py. 2012-05-15 08:41:02 -05:00
Nick Daly
f6b4f0cc07 It works!
- Fixed error reporting.
- Fixed variable key error.
- Added a couple debugging statements.
2012-05-15 07:36:22 -05:00
Nick Daly
96b8171871 Removed evil data-loading hack. 2012-05-15 07:35:16 -05:00
Nick Daly
328a720d72 Almost done. 2012-05-14 22:21:12 -05:00
Nick Daly
29a1b41996 Completed Santiago.handle_request's tests. 2012-05-13 10:24:28 -05:00
Nick Daly
88d35a83ca A bunch of new tests and changes to support them. 2012-05-13 09:48:31 -05:00
Nick Daly
9dca3ed02e Santiago now knows required and optional keys at class level
This abstraction makes message processing more intuitive.
2012-05-13 09:47:56 -05:00
Nick Daly
edf035c222 Renamed errors to utilities, added more utility functions. 2012-05-13 09:45:33 -05:00
Nick Daly
36420059df Document test design decisions. 2012-05-12 16:42:11 -05:00
Nick Daly
8fb9d6cce1 Build the message list correctly. Oops. 2012-05-12 16:02:51 -05:00
Nick Daly
ab0986ed42 Removed proxying code; incoming message handling finished.
simplesantiago
==============

- Removed the unnecessary proxying message functions.
- Messages are now versioned.  
- Each Santiago now has supported (incoming/outgoing) protocol versions.
- Completed santiago.unpack_request.

test_santiago
=============

- Removed VerifySender and VerifyClient, they're no longer needed.
- Completed VerifyRequest, UnpackRequest.
- Started HandleRequest.
2012-05-12 15:40:08 -05:00
Nick Daly
568ae9f2f3 Removed proxying-related documentation. 2012-05-12 15:31:24 -05:00
Nick Daly
ad89a8dd15 Move MessageWrapper's message wrapping into multi_sign. 2012-05-12 15:22:26 -05:00
Nick Daly
e8f6df8d04 Forego proxying for direct message sending. 2012-05-10 07:29:24 -05:00
Nick Daly
5cc01cc92d Santiago.verify_sender works; commented out old test stubs. 2012-05-10 07:23:47 -05:00
Nick Daly
3ffbe02cb6 All Santiago() arguments are optional.
Renamed SimpleSantiago to Santiago.
2012-05-10 07:22:45 -05:00
Nick Daly
b0f0f353db Unwrapper.next now returns a gnupg.Verify. 2012-05-10 07:20:42 -05:00
Nick Daly
d9d0ef69ff Listeners must unwrap requests for the Santiago service.
- Contextualized a few error messages.
2012-05-09 23:12:44 -05:00
Nick Daly
10e13aab56 Fix stupid syntax issue. 2012-05-06 18:03:37 -05:00
Nick Daly
40c7f97ff6 Completed the module and cleaned up the documentation. 2012-05-06 18:01:08 -05:00
Nick Daly
c28f5464ed All pgpprocessor tests but one now pass. 2012-05-06 16:33:20 -05:00
Nick Daly
d499ea794c Added more tests, made tests more reliable. 2012-05-01 07:46:43 -05:00
Nick Daly
832185338b First tests for pgpprocessor! 2012-04-29 21:24:38 -05:00
Nick Daly
af6e9800cf Use testing script to simplify sys.path management. 2012-04-29 21:24:20 -05:00
Nick Daly
8650c6f447 Renamed PgpUnwrapper to Unwrapper; update correct lines.
The update-correct-lines fix is a functional one, there are tests to avoid these
sorts of stupid problems now.

Also, compile the regexes only once.
2012-04-29 21:22:34 -05:00
Nick Daly
873fed5a28 Moved shared errors out to new module. 2012-04-29 21:19:33 -05:00
Nick Daly
1ed42f97c1 Cleaned up testing code a bit. 2012-04-29 21:15:38 -05:00
Nick Daly
1f00fd95ce Added RST formatting to show. 2012-04-29 01:38:33 -05:00
Nick Daly
309d0682a0 Added (incomplete) test-cases. 2012-04-24 22:01:09 -05:00
Nick Daly
db44fe60e6 Moved a few FIXMEs and reorganized the verify methods. 2012-04-22 23:04:17 -05:00
Nick Daly
4399b579ca Built out request unwrapping. Now I need to wrap outgoing ones.
- Added request diagram.
- Renamed a couple things.
2012-04-22 22:43:14 -05:00
Nick Daly
75c33bf84e Added .gitignore. 2012-04-22 10:07:43 -05:00
Nick Daly
d14f85bfc4 Updated references after move. 2012-04-22 10:07:22 -05:00
Nick Daly
8fe7e82260 Renamed simple_santiago.py to simplesantiago.py 2012-04-20 18:33:29 -05:00
Nick Daly
a2cc208aee Started building request handling; moved PgpUnwrapper. 2012-04-20 18:21:47 -05:00
Nick Daly
2945b04779 Moved PgpUnwrapper to pgpprocessor.PgpUnwrapper 2012-04-20 18:10:45 -05:00
Nick Daly
8b2b73a74c Use gnupg-agent for testing (part 2). 2012-04-20 17:59:01 -05:00
Nick Daly
ec0aee49bb Use gnupg-agent for testing. 2012-04-20 17:58:21 -05:00
Nick Daly
ac2782aba4 Added a few more ideas to think about. 2012-04-20 17:56:39 -05:00
Nick Daly
6659b9bbd5 Added PGP message unwrapper (forgot to add in last commit). 2012-04-17 19:04:45 -05:00
Nick Daly
0c7abd2ca8 Added PGP message unwrapper; added functional py-gnupg tests 2012-04-17 18:42:53 -05:00
Nick Daly
22a5682907 Started documenting message signature verification. 2012-04-10 21:08:51 -05:00