The relay pushes events only to subscriptions that exist at delivery time. Both connect flows spawned the handshake task before run_demux registered the kind-24133 author subscription, so a fast signer reply (the live Sep 23 Amber scan: clean connect + secret echo, then get_public_key) landed in the gap and was silently dropped — the identity RPC timed out 30s later and the session died with 'The signer would not reveal its public key' after the connection was already stored, leaving the UI signed in with no profile. Both run_sign_task (bunker flow) and run_paired (QR pairing) now subscribe first via subscribe_to_signer and hand the stream + subscription to run_demux. futures-util promoted from dev-dependency to runtime. cargo test 209+3e2e green, clippy 0, fmt clean, release rebuilt.
30 lines
626 B
TOML
30 lines
626 B
TOML
[package]
|
|
name = "keynectr"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
nostr = { version = "0.45", features = ["nip44", "nip46", "nip98"] }
|
|
nostr-sdk = "0.45"
|
|
tokio = { version = "1", features = ["full"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
uuid = { version = "1.0", features = ["v4"] }
|
|
hex = "0.4"
|
|
argon2 = "0.5"
|
|
aes-gcm = "0.10"
|
|
base64 = "0.22"
|
|
getrandom = "0.2"
|
|
zeroize = "1"
|
|
rpassword = "7"
|
|
sha2 = "0.10"
|
|
async-trait = "0.1"
|
|
keyring = "4.2"
|
|
futures-util = "0.3"
|
|
|
|
[dev-dependencies]
|
|
base64 = "0.22"
|
|
futures-util = "0.3"
|
|
getrandom = "0.2"
|
|
nostr = "0.45"
|
|
tokio-tungstenite = "0.28"
|