Skip to content
Snippets Groups Projects
Commit e66bcb07 authored by fred's avatar fred
Browse files

Add twinkey support

parent 3f0456d7
Branches
No related tags found
1 merge request!49Draft: Nostr
Pipeline #40633 passed
...@@ -54,7 +54,7 @@ checksum = "edeef7d7b199195a2d7d7a8155d2d04aee736e60c5c7bdd7097d115369a8817d" ...@@ -54,7 +54,7 @@ checksum = "edeef7d7b199195a2d7d7a8155d2d04aee736e60c5c7bdd7097d115369a8817d"
dependencies = [ dependencies = [
"age-core", "age-core",
"base64 0.21.7", "base64 0.21.7",
"bech32", "bech32 0.9.1",
"chacha20poly1305", "chacha20poly1305",
"cookie-factory", "cookie-factory",
"hmac 0.12.1", "hmac 0.12.1",
...@@ -806,6 +806,12 @@ version = "0.9.1" ...@@ -806,6 +806,12 @@ version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d86b93f97252c47b41663388e6d155714a9d0c398b99f1005cbc5f978b29f445" checksum = "d86b93f97252c47b41663388e6d155714a9d0c398b99f1005cbc5f978b29f445"
[[package]]
name = "bech32"
version = "0.10.0-beta"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "98f7eed2b2781a6f0b5c903471d48e15f56fb4e1165df8a9a2337fd1a59d45ea"
[[package]] [[package]]
name = "beef" name = "beef"
version = "0.5.2" version = "0.5.2"
...@@ -851,6 +857,20 @@ dependencies = [ ...@@ -851,6 +857,20 @@ dependencies = [
"unicode-normalization", "unicode-normalization",
] ]
[[package]]
name = "bitcoin"
version = "0.31.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c85783c2fe40083ea54a33aa2f0ba58831d90fcd190f5bdc47e74e84d2a96ae"
dependencies = [
"bech32 0.10.0-beta",
"bitcoin-internals",
"bitcoin_hashes 0.13.0",
"hex-conservative",
"hex_lit",
"secp256k1",
]
[[package]] [[package]]
name = "bitcoin-internals" name = "bitcoin-internals"
version = "0.2.0" version = "0.2.0"
...@@ -2357,8 +2377,10 @@ version = "0.4.2" ...@@ -2357,8 +2377,10 @@ version = "0.4.2"
dependencies = [ dependencies = [
"age", "age",
"anyhow", "anyhow",
"bech32", "base64 0.21.7",
"bech32 0.9.1",
"bip39", "bip39",
"bitcoin",
"bs58", "bs58",
"clap", "clap",
"clap_complete", "clap_complete",
...@@ -2629,6 +2651,12 @@ version = "0.1.2" ...@@ -2629,6 +2651,12 @@ version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "212ab92002354b4819390025006c897e8140934349e8635c9b077f47b4dcbd20" checksum = "212ab92002354b4819390025006c897e8140934349e8635c9b077f47b4dcbd20"
[[package]]
name = "hex_lit"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3011d1213f159867b13cfd6ac92d2cd5f1345762c63be3554e84092d85a50bbd"
[[package]] [[package]]
name = "hkdf" name = "hkdf"
version = "0.12.4" version = "0.12.4"
...@@ -5193,6 +5221,7 @@ version = "0.28.2" ...@@ -5193,6 +5221,7 @@ version = "0.28.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d24b59d129cdadea20aea4fb2352fa053712e5d713eee47d700cd4b2bc002f10" checksum = "d24b59d129cdadea20aea4fb2352fa053712e5d713eee47d700cd4b2bc002f10"
dependencies = [ dependencies = [
"bitcoin_hashes 0.13.0",
"rand", "rand",
"secp256k1-sys", "secp256k1-sys",
] ]
......
...@@ -19,6 +19,8 @@ subxt = { git = 'https://github.com/duniter/subxt', branch = 'subxt-v0.37.0-duni ...@@ -19,6 +19,8 @@ subxt = { git = 'https://github.com/duniter/subxt', branch = 'subxt-v0.37.0-duni
"native", "native",
"jsonrpsee", "jsonrpsee",
] } ] }
base64 = "0.21.0"
bitcoin = "0.31.1" # ou une version compatible
# substrate primitives dependencies # substrate primitives dependencies
sp-core = { git = "https://github.com/duniter/duniter-polkadot-sdk.git", branch = "duniter-substrate-v1.14.0" } sp-core = { git = "https://github.com/duniter/duniter-polkadot-sdk.git", branch = "duniter-substrate-v1.14.0" }
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment