Use shared OPAQUE password authentication

This commit is contained in:
Alex-Emmet 2026-09-30 20:45:19 +02:00
commit e3a16be2f9
No known key found for this signature in database
10 changed files with 115 additions and 657 deletions

35
Cargo.lock generated
View file

@ -2229,19 +2229,13 @@ dependencies = [
name = "iota-auth"
version = "0.1.0"
dependencies = [
"argon2",
"async-trait",
"dashmap",
"generic-array",
"iota-identity",
"mtp",
"opaque-ke",
"rand_core 0.6.4",
"sha2 0.10.9",
"thiserror 2.0.20",
"tokio",
"uuid",
"zeroize",
]
[[package]]
@ -3299,7 +3293,7 @@ dependencies = [
"iota-util",
"json",
"mtp",
"opaque-ke",
"opague-integration",
"rand_core 0.6.4",
"reqwest",
"serde",
@ -3311,7 +3305,6 @@ dependencies = [
"trust-dns-resolver",
"url",
"uuid",
"zeroize",
]
[[package]]
@ -3326,6 +3319,32 @@ version = "1.70.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
[[package]]
name = "opague-integration"
version = "0.1.0"
source = "git+https://git.methanium.net/tensamin/opaque-integration.git?rev=d996c29366429160103e2a3f99c3e435522456f0#d996c29366429160103e2a3f99c3e435522456f0"
dependencies = [
"opague-integration-core",
]
[[package]]
name = "opague-integration-core"
version = "0.1.0"
source = "git+https://git.methanium.net/tensamin/opaque-integration.git?rev=d996c29366429160103e2a3f99c3e435522456f0#d996c29366429160103e2a3f99c3e435522456f0"
dependencies = [
"argon2",
"chacha20poly1305",
"generic-array",
"getrandom 0.2.17",
"hkdf 0.12.4",
"opaque-ke",
"rand_core 0.6.4",
"sha2 0.10.9",
"thiserror 2.0.20",
"uuid",
"zeroize",
]
[[package]]
name = "opaque-debug"
version = "0.3.1"