Commit Graph

86 Commits

Author SHA1 Message Date
Ryan Heywood a7feed1bcc
keyforkd: extract serialization logic into middleware 2023-09-07 08:05:38 -05:00
Ryan Heywood 1a13acdfe3
keyfork-derive-util: add ed25519 support 2023-09-06 10:21:47 -05:00
Ryan Heywood 69b4aa9a18
keyfork-mnemonic-generate: land 0.1.0 2023-09-01 07:30:34 -05:00
Ryan Heywood f0148a8c38
keyfork-mnemonic-util: land 0.1.0 2023-09-01 07:24:40 -05:00
Ryan Heywood 54526af46e
deny.toml: initial commit, ban bad serde 2023-09-01 00:19:26 -05:00
Ryan Heywood 1006fd9503
keyfork-derive-util: cleanup types 2023-08-31 23:57:05 -05:00
Ryan Heywood 96e6c236f0
keyfork-derive-util: add some documentation 2023-08-31 23:49:35 -05:00
Ryan Heywood 5424e66aed
**/Cargo.toml: refactorings 2023-08-31 23:11:42 -05:00
Ryan Heywood e850c75879
keyfork-derive-util: Flesh out most of secp256k1 2023-08-31 23:10:56 -05:00
Ryan Heywood da09b95bae
keyfork-mnemonic-util: Mnemonic::seed(&self) -> Vec<u8> 2023-08-25 05:19:47 -05:00
Ryan Heywood 98baaed81c
cargo fmt 2023-08-25 04:28:47 -05:00
Ryan Heywood da96ea94bd
keyforkd: extract DerivablePath 2023-08-25 04:27:16 -05:00
Ryan Heywood a9209ee36a
keyforkd: swap minicbor for serde + bincode 2023-08-25 02:47:54 -05:00
Ryan Heywood 067de52e4b
keyforkd: initial commit 2023-08-25 01:32:21 -05:00
Ryan Heywood fa8e6d726d
keyfork-frame: add asyncext to allow AsyncRead/AsyncWrite 2023-08-25 01:32:06 -05:00
Ryan Heywood 76c9214d73
keyfork-mnemonic-util: impl FromStr for Mnemonic
This changes the actual structure of Mnemonic since it requires
exclusively owned types when implementing FromStr. Now, Mnemonic
contains an Arc. Thread safety is required because of the Tokio
multithreaded runtime, hence an Arc instead of an Rc.

This does add some level of burden for people instantiating Mnemonics,
but `Wordlist::arc(self) -> Arc<Self>` has been provided as a
convenience method to make working with mnemonics easier.
2023-08-24 21:56:35 -05:00
Ryan Heywood ee15145662
keyfork-frame: initial commit 2023-08-24 20:25:42 -05:00
Ryan Heywood 5d7a3c99ba
keyfork-mnemonic-util: split mnemonic utilities out of keyfork-mnemonic-generate 2023-08-18 22:52:37 -05:00
Ryan Heywood 8e74c18135
keyfork-mnemonic-generate: split wordlist parsing into its own thing 2023-08-18 01:12:09 -05:00
Ryan Heywood 8ec5dc0dec
keyfork-mnemonic-generate: test ensure entropy floats around what we expect from birthday values 2023-08-18 00:59:03 -05:00
Ryan Heywood ac40930b2f
keyfork-mnemonic-generate: so, dedup only removes sequential duplicates 2023-08-18 00:28:31 -05:00
Ryan Heywood 3032e11b78
keyfork-mnemonic-generate: the math ain't mathin 2023-08-17 23:57:44 -05:00
Ryan Heywood 2c06b96953
keyfork-mnemonic-generate: add failing test to track birthday paradox 2023-08-17 21:45:15 -05:00
Ryan Heywood 6f00eb6fd7
keyfork-mnemonic-generate: add README 2023-08-16 18:27:55 -05:00
Ryan Heywood bf0468e405
keyfork-mnemonic-generate: properly slice entropy 2023-08-16 16:38:10 -05:00
Ryan Heywood d0eead5eb3
keyfork-mnemonic-generate: make idiomatic 2023-08-16 16:10:56 -05:00
Ryan Heywood 6a99a09089
keyfork-mnemonic-generate: fix endianness 2023-08-16 15:49:37 -05:00
Ryan Heywood 7eff9531bc
keyfork-mnemonic-generate: passes first test (pre rewrite) 2023-08-16 15:32:23 -05:00
Ryan Heywood 7467a30c40
keyfork-mnemonic-generate: begin work on tests 2023-08-16 07:42:13 -05:00
Ryan Heywood 0d768a6eef
keyfork-mnemonic-generate: add correct amount of bits to bitvec 2023-08-16 06:40:17 -05:00
Ryan Heywood 4feb2b6bce
keyfork-mnemonic-generate: extract converters 2023-08-16 06:12:01 -05:00
Ryan Heywood d4036d8b72
keyfork-mnemonic-generate: treat offline as success 2023-08-16 05:50:08 -05:00
Ryan Heywood 067a373993
keyfork-mnemonic-generate: clean up 2023-08-16 05:47:46 -05:00
Ryan Heywood 754fdc10e5
README: Clarify the use of the agent 2023-08-16 05:45:40 -05:00
Ryan Heywood 298f9a1e26
keyfork-mnemonic-generate: initial commit 2023-08-16 05:43:40 -05:00
Lance Vick 6e4f63e248
first commit 2023-08-15 18:23:15 -07:00