Commit Graph

336 Commits

Author SHA1 Message Date
Ryan Heywood 7eeb494819
keyfork-shard: add basic oneshot decrypt mechanism 2023-12-26 18:09:11 -05:00
Ryan Heywood b873ef4d5c
keyfork-prompt: redraw screen on events for prompt_message 2023-12-26 18:08:52 -05:00
Ryan Heywood 55b41a49ef
keyfork-mnemonic-from-seed: allow arbitrary sized mnemonic 2023-12-26 18:08:09 -05:00
Ryan Heywood 2670cf63a3
keyfork-shard: homogenize function signatures, start work on decrypt_one() 2023-12-26 15:45:11 -05:00
Ryan Heywood 726670fe96
keyfork-shard: add PIN cache 2023-12-26 15:17:33 -05:00
Ryan Heywood ddefe1c6b5
keyfork-shard: extract message decryptor functions 2023-12-26 15:17:14 -05:00
Ryan Heywood 1cdbab1a1d
keyfork-prompt: allow delete-word 2023-12-26 13:35:56 -05:00
Ryan Heywood 6c25cb8f31
keyfork-prompt: fixup passphrase handling, add prompt_wordlist 2023-12-22 14:41:17 -05:00
Ryan Heywood d452eba133
keyfork-mnemonic-util: expose additional functions from wordlist 2023-12-22 14:35:53 -05:00
Ryan Heywood 920e04ba23
keyfork-prompt: add DefaultPromptManager 2023-12-21 15:44:57 -05:00
Ryan Heywood bfb44292f4
keyfork-mnemonic-util: allow seeds of arbitrary size 2023-12-21 15:02:59 -05:00
Ryan Heywood 30a582ed8c
keyfork-pinentry: remove 2023-12-21 15:02:32 -05:00
Ryan Heywood dc1b36a92c
keyfork-shard: move to keyfork-prompt 2023-12-21 15:01:59 -05:00
Ryan Heywood be74cd8ad1
keyfork-prompt: make prompt_message show up nicer 2023-12-21 14:02:42 -05:00
Ryan Heywood 1ac99e16f8
keyfork-prompt: add PromptManager::prompt_message 2023-12-21 12:18:16 -05:00
Ryan Heywood 0ea49109d1
keyfork-prompt: refactor to use lifetimes 2023-12-21 12:12:58 -05:00
Ryan Heywood d8f9fc216f
keyfork-prompt: basic working version, committing before refactor 2023-12-21 12:04:35 -05:00
Ryan Heywood e42e362aea
keyfork-shard: extract threshold from encrypted metadata 2023-12-20 14:49:10 -05:00
Ryan Heywood 869860a903
keyfork-shard: create metadata version 1 2023-12-20 13:14:24 -05:00
Ryan Heywood 5cf8e9bb0c
keyfork-shard: better error handling 2023-12-19 09:55:22 -05:00
Ryan Heywood f91ca2f709
keyfork: begin work on provisioner 2023-12-18 12:19:21 -05:00
Ryan Heywood 8e7b4b90bf
add licenses 2023-11-16 21:56:57 -05:00
Ryan Heywood ca2ce33d7a
keyfork-shard: add message for PIN too short 2023-11-10 18:11:24 -05:00
Ryan Heywood 01fce410a5
keyfork-derive-openpgp: fix encryption keys 2023-11-05 23:57:41 -06:00
Ryan Heywood ee258ac115
keyforkd: allow sending server-side error to clients 2023-11-05 23:21:10 -06:00
Ryan Heywood ada6cf150b
keyforkd: split into enum based request 2023-11-05 22:51:40 -06:00
Ryan Heywood 48e4d7096c
keyfork-shard: remove recovery file 2023-11-05 16:34:45 -06:00
Ryan Heywood 0ec9f9c567
keyfork-shard: cleanup eprintln 2023-11-05 16:26:19 -06:00
Ryan Heywood fa61d31f3f
keyfork-shard: further improve error handling, add multiline prompt and PIN retry detection 2023-11-05 16:21:54 -06:00
Ryan Heywood baa289ce62
keyfork-pinentry: use multiline prompts at least for passphrase 2023-11-05 16:21:16 -06:00
Ryan Heywood 2c9d09ea61
keyfork: use better error handling 2023-11-05 16:21:02 -06:00
Ryan Heywood 307941087a
keyfork-shard: slightly improved error handling 2023-11-05 13:57:22 -06:00
Ryan Heywood 0768339487
keyfork-shard: parse cardholder name when using smartcards 2023-11-05 01:36:12 -05:00
Ryan Heywood 4b4b85931f
cargo fmt 2023-11-05 01:29:10 -05:00
Ryan Heywood c206800ad2
keyfork-shard: add keyfork-pinentry 2023-11-05 00:48:30 -05:00
Ryan Heywood 7f90e4ada4
keyfork-shard: fixup user PIN prompt 2023-11-04 12:19:53 -05:00
Ryan Heywood 726b62b3f4
keyfork-shard: make recovery file required, key discovery optional 2023-11-03 20:58:51 -05:00
Ryan Heywood 5b427516c6
keyfork-shard: enable step 1 decoding with openpgp-card, fix bug with multiple smartcards when decrypting 2023-11-03 20:42:33 -05:00
Ryan Heywood a184c62f42
keyfork-shard: ah, whitespace, why are you so cruel 2023-11-02 01:12:28 -05:00
Ryan Heywood adad3e5b6b
keyfork-shard: begin work on OpenPGP card support 2023-11-02 01:01:34 -05:00
Ryan Heywood 8afcae5447
keyfork-user-guide: add more helpful info 2023-11-01 21:28:55 -05:00
Ryan Heywood 008390d087
keyfork-derive-openpgp: use run-fn style 2023-11-01 21:28:06 -05:00
Ryan Heywood bc5bd8a7b9
keyfork-derive-openpgp: serialize armored message as Kind::SecretKey 2023-11-01 21:26:46 -05:00
Ryan Heywood f41fd18afb
keyfork: add docs, clean help output 2023-11-01 21:21:26 -05:00
Ryan Heywood 7a80799115
keyfork-shard: derive cert from combined secret to ensure data integrity 2023-10-19 20:10:02 -05:00
Ryan Heywood 0615a66ace
keyfork-shard: propagate errors when message signature validation fails 2023-10-19 19:55:12 -05:00
Ryan Heywood 4e64c73f21
keyfork-user-guide: docs for `keyfork shard` 2023-10-19 19:20:26 -05:00
Ryan Heywood 7da9738d52
keyfork: add `keyfork shard` 2023-10-19 19:20:10 -05:00
Ryan Heywood a72bfaecec
keyfork-shard: split openpgp code into its own module 2023-10-19 17:06:34 -05:00
Ryan Heywood 64c5c648a6
keyfork mnemonic generate: impl ValueEnum for SeedSize 2023-10-19 12:08:16 -05:00