Commit Graph

247 Commits

Author SHA1 Message Date
Ryan Heywood a79c4a4079
keyfork-shard: make remote operation algorithm agnostic 2024-01-04 23:05:30 -05:00
Ryan Heywood 3240ab9e1f
keyfork-shard: decrypt only in `decrypt` command
The way this previously runs, the combining operator would be *required*
to decrypt a share. This was not ideal for enclaves, where the process
should just send out public keys and read in public keys and payloads.
This is now resolved.
2024-01-04 22:01:13 -05:00
Ryan Heywood 1b19a08cd4
keyfork-shard: add keyfork-shard-remote-openpgp 2024-01-01 16:58:15 -05:00
Ryan Heywood 3190ba97db
keyfork-prompt: add bracketed paste 2024-01-01 16:57:57 -05:00
Ryan Heywood d7f33874f6
keyfork-shard: move code from bin file to library 2023-12-29 16:23:04 -05:00
Ryan Heywood f157a8c954
keyfork-prompt: split on word boundaries for textual prompts 2023-12-28 17:54:38 -05:00
Ryan Heywood df7be182e4
keyfork-shard: dynamic bit size for decrypted secret, up to 512 bits 2023-12-28 16:02:24 -05:00
Ryan Heywood 11c9bd2ab3
README, keyfork-user-guide: minor fixes 2023-12-27 17:31:30 -05:00
Ryan Heywood 077d845405
README, keyfork-user-guide: improve docs on keyfork-shard 2023-12-27 14:05:34 -05:00
Ryan Heywood 5e62d8909d
keyfork-prompt: improve delete-word handling 2023-12-26 19:06:59 -05:00
Ryan Heywood 27e7aba901
keyfork-mnemonic-util: rewrite to only process entropy on demand 2023-12-26 18:57:44 -05:00
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