Commit Graph

264 Commits

Author SHA1 Message Date
Netscape Navigator 4970355834 ✔️ Update CLI 2020-04-18 10:51:08 -05:00
Netscape Navigator 3dd47bfe5e Done with singleton removal 2020-04-18 10:30:35 -05:00
Netscape Navigator 49a3623b28 🤞 One failure left... 2020-04-18 10:19:06 -05:00
Netscape Navigator 68c4c45427 ...almost done removing singletons... 2020-04-18 09:37:43 -05:00
Netscape Navigator a24486e583 Start removing @db instance vars 2020-04-18 09:24:51 -05:00
Netscape Navigator d3ddc21de3 WIP, Need to fix saved drafts. 2020-04-18 08:51:54 -05:00
Netscape Navigator 780823ccaf [REALLY UNSTABLE] Started removal of Pigeon::Storage.current 2020-04-16 09:05:10 -05:00
Netscape Navigator a0573b3687 README updates 2020-04-15 08:09:49 -05:00
Netscape Navigator bd34ce89c7 Remove singleton usage in ::Storage 2020-04-15 08:06:24 -05:00
Netscape Navigator a710a7905f Singleton removal: Remove Pigeon::Bundle 2020-04-15 08:00:11 -05:00
Netscape Navigator 21ec42dbd7 Begin singleton removal 2020-04-15 07:46:49 -05:00
Netscape Navigator 9fba00c48b Add message size limit of 64 keys. 2020-04-15 07:31:18 -05:00
Netscape Navigator ee37cd012e Done with `lipmaa` addtions 2020-04-14 08:21:51 -05:00
Netscape Navigator 9adc19aa9c All tests pass. 2020-04-14 08:18:36 -05:00
Netscape Navigator 975d7cde57 Done with lipmaalinks, but probably not partial verification. 2020-04-14 08:09:45 -05:00
Netscape Navigator 48625599d6 Add lexer method to tokenize just the top half of an entry 2020-04-13 09:12:58 -05:00
Netscape Navigator f175c99067 [WIP][UNSTABLE] Gradually adding `lipmaa` header. 2020-04-12 09:38:52 -05:00
Netscape Navigator d6742bb9c0 Ready to write tests for Lipmaa linking 2020-04-11 09:53:22 -05:00
Netscape Navigator 71a93e91e7 Add Pigeon::Helpers.lipmaa in preparation for lipmaa backlinking 2020-04-11 09:46:40 -05:00
Netscape Navigator c82eb7a3c9 Cleanup ::Storage (make some public methods private) 2020-04-11 09:42:43 -05:00
Netscape Navigator a699607c6d Make most of Pigeon::Lexer methods and attrs private 2020-04-11 09:32:41 -05:00
Netscape Navigator 866bd9d2d0 Clean up kitchen_sink.sh 2020-04-10 07:53:38 -05:00
Netscape Navigator 291b450da6 Improve lexer error handling tests 2020-04-10 07:39:50 -05:00
Netscape Navigator e8e223f2ee More method renaming and dead code removal 2020-04-10 07:21:00 -05:00
Netscape Navigator e977015868 Make #save! private 2020-04-10 07:13:42 -05:00
Netscape Navigator 000a653ec5 Rename Draft#save to Draft#save_as_draft for clarity 2020-04-10 07:06:22 -05:00
Netscape Navigator b43e47261f ✔️ Complete TODO items 2020-04-09 08:15:00 -05:00
Netscape Navigator b4d05444ae ✔️ Complete TODO items 2020-04-09 08:14:50 -05:00
Netscape Navigator 89e7016528 README updates 2020-04-09 08:14:06 -05:00
Netscape Navigator d54b04bdaf README updates 2020-04-09 08:13:23 -05:00
Netscape Navigator 58926b4c68 [STABLE] Pass all message creation (even local messages) through the message lexer/parser for validation. 2020-04-09 08:12:23 -05:00
Netscape Navigator 8df1336702 Continuing fixes for ::Draft. 6 failures 2020-04-09 07:30:32 -05:00
Netscape Navigator 0fb9ab2b66 Updates to README 2020-04-08 08:54:28 -05:00
Netscape Navigator a6a8634cab WIP. 7 tests failing. Refactor Pigeon::Draft / ::Message
Pigeon::Message was holding on to too many drafting responsibilities.
It also was possible for the local identity to inadvertantly author
malformed messages. This is because local messages were not passed
through the ::Lexer / ::Parser and thereby did not receive the same
scrutiny of remote messages.

To avoid security problems later, and for additional security,
I will only allow messages to be saved *after* passing through the
lexer/parser. This means moving much of Pigeon::Message's logic
into Pigeon::Draft.
2020-04-07 08:58:53 -05:00
Netscape Navigator 0836a30b0e README updates 2020-04-07 08:17:43 -05:00
Netscape Navigator d76f72ed88 Test case: ingesting malformed messages (whitespace keys and kind) 2020-04-07 08:13:28 -05:00
Netscape Navigator 492b2da385 WIP: Validate that `kind` and body keys dont contain whitespace 2020-04-06 07:52:32 -05:00
Netscape Navigator 29c67be3ca Rename .find_message to .read_message. Enforce stricter signature lengths in ::Lexer 2020-04-06 07:35:27 -05:00
Netscape Navigator 8a7eec964a Use `find_all` when creating bundles 2020-04-06 07:32:19 -05:00
Netscape Navigator dd7456cc88 Rename .public_key attributes to .multihash for consistency 2020-04-06 07:22:24 -05:00
Netscape Navigator 6d6e8ffa37 Fix kitchen_sink.sh. Add tests for base32 encoder 2020-04-06 07:18:04 -05:00
Netscape Navigator dd455ff1df [STABLE] Convert URLSafeb64 to Crockford32. 2020-04-05 20:21:50 -05:00
Netscape Navigator 30d6690b1c [UNSTABLE] Remove b64, add b32 2020-04-05 19:38:37 -05:00
Netscape Navigator 96e2025dc9 Start writing base32 parser 2020-04-05 17:20:36 -05:00
Netscape Navigator 554fbfe625 === Begin conversion to Base32 === 2020-04-05 15:31:44 -05:00
Netscape Navigator ae4c29ad0b WIP. Brainstorm base32 ideas. 2020-04-04 17:35:07 -05:00
Netscape Navigator 50d4b29f1a Re-prioritize README TODO items 2020-04-03 05:35:48 -05:00
Netscape Navigator b0181234af Test case: Verification / assertion error 2020-04-03 05:29:19 -05:00
Netscape Navigator cf8232d2d7 Works again! 🎉 2020-04-03 05:19:42 -05:00
Netscape Navigator 6b71044e86 Fix most failing tests. 2020-04-03 04:48:28 -05:00