Commit Graph

260 Commits

Author SHA1 Message Date
Ryan Heywood 6fc2c47391
keyfork: impl `shard transport` 2024-01-07 02:41:26 -05:00
Ryan Heywood d548276bc3
keyfork: impl `recover remote-shard` 2024-01-07 00:44:59 -05:00
Ryan Heywood 4a6e3687c2
keyfork: start tracing for `recover` 2024-01-07 00:36:23 -05:00
Ryan Heywood ac2cb3d8ca
keyfork: add `recover` porcelain to start keyforkd 2024-01-07 00:33:43 -05:00
Ryan Heywood e3e7f0bf44
keyfork-prompt: make clippy happy 2024-01-06 23:23:41 -05:00
Ryan Heywood f88a4d21f2
keyfork-shard: make clippy happy 2024-01-06 23:23:03 -05:00
Ryan Heywood ec212a8975
keyforkd: make clippy happy 2024-01-06 23:20:45 -05:00
Ryan Heywood b5d2244091
keyfork-mnemonic-util: make clippy happy 2024-01-06 23:20:19 -05:00
Ryan Heywood 91a6b845ba
keyfork-derive-path-data: make clippy happy 2024-01-06 23:19:47 -05:00
Ryan Heywood 2aba00c457
keyfork-derive-openpgp: make clippy happy 2024-01-06 23:19:28 -05:00
Ryan Heywood dc1e192b67
keyfork-derive-util: make clippy happy 2024-01-06 23:18:52 -05:00
Ryan Heywood 6b61279656
keyfork-{shard,prompt}: add QR code functionality 2024-01-06 00:58:18 -05:00
Ryan Heywood d08765b956
keyfork-shard: make custom error for Sharks errors 2024-01-04 23:13:42 -05:00
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