decentralized-identity / did-key.rs

Rust implementation of the did:key method
Apache License 2.0
47 stars 24 forks source link

`did_key::Bls12381KeyPair::from_secret_key(secret_key_bytes: &[u8]) -> Bls12381KeyPair` panics on taking right bytes? #23

Closed asmmo closed 2 years ago

asmmo commented 2 years ago

As stated. the mentioned function panics because it wants 48 bytes while the generated secret j\key bytes are 32!

tmarkovski commented 2 years ago

Thanks for reporting this. Fixed with #24