204 Commits

Author SHA1 Message Date
Nick Daly
db2186f2ca Removed protocol stuff, it's not ready yet. 2012-05-29 18:04:00 -05:00
Nick Daly
975f3e747c Added stop to listener. 2012-05-29 17:47:22 -05:00
Nick Daly
9dbb11e4bd Abstracted connection process somewhat.
Everything's data!  Whee!
2012-05-29 17:46:41 -05:00
Nick Daly
5979987c45 Added support for module-leve setup and start tags. 2012-05-29 17:45:57 -05:00
Nick Daly
1ce3bb1a96 Added viewing consuming data. 2012-05-29 07:37:40 -05:00
Nick Daly
eb15e94822 Added basic GET templates. 2012-05-28 17:49:29 -05:00
Nick Daly
af8c23a332 Started building the hosting and consuming handlers.
- Remove todo, the idea's there.
2012-05-28 17:46:37 -05:00
Nick Daly
44495093d2 Move protocol controllers into subdirectories. 2012-05-28 17:43:24 -05:00
Nick Daly
4d2713fc86 Removed unnecessary json call. 2012-05-28 17:38:58 -05:00
Nick Daly
ecf3dfcc5d Added output format parameter TODO. 2012-05-23 21:39:25 -05:00
Nick Daly
b7c89ed1b3 Less ridiculous debugging messages. 2012-05-23 21:27:18 -05:00
Nick Daly
35d641795b Documentation updates. 2012-05-23 20:58:55 -05:00
Nick Daly
5a6f25f300 Added a querying API. 2012-05-23 20:53:57 -05:00
Nick Daly
36f8fff888 Encrypt the data store instead of signing it. v0.2.1 2012-05-16 21:09:29 -05:00
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