You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(dashcore-crypto): expose typed ECDH on EcdsaSecretKey #1446
Follow-up of dashpay/base-sdk#137, which adds typed secp256k1 ECDH to dash-pkc (EcdsaSecretKey::ecdh_shared_secret returning the hashed 32-byte secret, and EcdsaSecretKey::ecdh_shared_point returning the raw 64-byte point).
Platform reaches these keys through dashcore::crypto::ecdsa, and dashcore-crypto wraps the dash-pkc types in its own newtypes (crypto/src/ecdsa.rs). The new methods will not reach Platform until the wrapper exposes them.
Once a dash-pkc release ships the base-sdk change, this needs to:
bump dash-pkc in the workspace Cargo.toml;
delegate ecdh_shared_secret and ecdh_shared_point from the EcdsaSecretKey wrapper, taking the dashcore EcdsaPublicKey as the peer.
This lets Platform drop its remaining direct secp256k1 dependencies at the ECDH boundaries (see dashpay/platform#5519).
Activity