signatures: Bump pkcs8 to 0.6.1 proper
This commit is contained in:
parent
c198cf6e9f
commit
97776d7132
@ -21,7 +21,7 @@ unstable-exhaustive-types = []
|
||||
[dependencies]
|
||||
base64 = "0.13.0"
|
||||
ed25519-dalek = "1.0.1"
|
||||
pkcs8 = { git = "https://github.com/RustCrypto/utils", rev = "51e7c9d734e4d3c5279ba1c181c65b1bd77bcad0", features = ["alloc", "std"] }
|
||||
pkcs8 = { version = "0.6.1", features = ["alloc"] }
|
||||
# because dalek uses an older version of rand_core
|
||||
rand = { version = "0.7", features = ["getrandom"] }
|
||||
ruma-identifiers = { version = "0.19.2", path = "../ruma-identifiers" }
|
||||
|
@ -139,6 +139,7 @@ impl Ed25519KeyPair {
|
||||
let oak = OneAsymmetricKey {
|
||||
algorithm: AlgorithmIdentifier { oid: ED25519_OID, parameters: None },
|
||||
private_key: private.as_ref(),
|
||||
attributes: None,
|
||||
public_key: Some(public.as_bytes()),
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user