Commit Graph

338 Commits

Author SHA1 Message Date
Ryan Heywood 50cc58469d
keyfork-crossterm: silence clippy 2024-01-10 23:28:40 -05:00
Ryan Heywood aba62fc4bf
keyfork-prompt: incorporate AlternateScreen and RawMode into a generic guard type 2024-01-10 23:16:58 -05:00
Ryan Heywood f6b41fce5f
keyfork-crossterm: add FdTerminal struct to manage non-default terminals 2024-01-10 22:35:49 -05:00
Ryan Heywood 6825ac9cea
keyfork-prompt: use vendored keyfork-crossterm 2024-01-10 21:28:46 -05:00
Ryan Heywood 023f6c5dfa
keyfork-crossterm: change name 2024-01-10 21:27:52 -05:00
Ryan Heywood e1347d94c0
keyfork-crossterm: initial commit, import project 2024-01-10 21:04:43 -05:00
Ryan Heywood 11ced19bc5
keyfork-shard: use MnemonicSetValidator 2024-01-10 15:34:29 -05:00
Ryan Heywood b396497108
keyfork-prompt: remove unused MaybeUninit 2024-01-10 15:34:17 -05:00
Ryan Heywood 0c4fc16285
keyfork-prompt: add mnemonic validators 2024-01-10 15:13:42 -05:00
Ryan Heywood 09c3e1bda8
keyfork-user-guide: tidy up more docs 2024-01-10 13:42:48 -05:00
Ryan Heywood 155de0ce31
README: cleanup wordings 2024-01-10 13:21:21 -05:00
Ryan Heywood 535fccc64f
keyfork-user-guide: document porcelain 2024-01-10 13:01:59 -05:00
Ryan Heywood 24cc670b7a
**/Cargo.toml: reorder dependencies 2024-01-10 00:23:47 -05:00
Ryan Heywood c6f3eac727
README: add instructions for storing entropy 2024-01-09 20:41:57 -05:00
Ryan Heywood 9604d783cc
README: Add basic usage guide 2024-01-09 20:39:11 -05:00
Ryan Heywood 44c6ebed06
keyfork-entropy: split off from keyfork-plumbing, ensure_safe() always 2024-01-09 19:59:58 -05:00
Ryan Heywood 1b33e3cf0e
keyfork-shard: add prompt for loading any smartcard 2024-01-09 19:28:02 -05:00
Ryan Heywood 4384964ea5
keyfork-prompt: add validator system 2024-01-09 02:21:46 -05:00
Ryan Heywood 37d2f09c6b
keyfork-user-guide: add shard commands guide 2024-01-08 19:17:49 -05:00
Ryan Heywood b6f758c2bd
keyfork wizard generate-shard-secret: do not write to terminal 2024-01-08 18:04:58 -05:00
Ryan Heywood 471ff0e972
keyfork: `cargo fmt` 2024-01-08 14:26:22 -05:00
Ryan Heywood 9375bc3933
keyfork wizard generate-shard-secret: add ability to set new PINs 2024-01-08 14:22:33 -05:00
Ryan Heywood 49f7374f2f
keyforkd-client: fixup error message 2024-01-08 14:06:03 -05:00
Ryan Heywood 3df3caa235
keyfork-shard: use hkdf for remote shard keys 2024-01-08 14:00:31 -05:00
Ryan Heywood 488e9f48da
keyfork: remove env_logger 2024-01-08 13:28:17 -05:00
Ryan Heywood 203d190955
keyfork wizard generate-shard-secret: cache all seen cards instead of last seen card 2024-01-08 13:13:08 -05:00
Ryan Heywood 8792ef69e1
keyfork: add `wizard generate-shard-secret` 2024-01-08 00:24:55 -05:00
Ryan Heywood 87a40f636d
keyfork: impl `derive openpgp` 2024-01-07 03:20:17 -05:00
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