File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,5 @@ resolver = "2"
10
10
[profile .dev ]
11
11
opt-level = 2
12
12
13
+ [patch .crates-io ]
14
+ ed25519 = { git = " https://github.com/RustCrypto/signatures.git" }
Original file line number Diff line number Diff line change @@ -713,10 +713,10 @@ impl From<&SigningKey> for pkcs8::KeypairBytes {
713
713
}
714
714
715
715
#[ cfg( feature = "pkcs8" ) ]
716
- impl TryFrom < pkcs8:: PrivateKeyInfo < ' _ > > for SigningKey {
716
+ impl TryFrom < pkcs8:: PrivateKeyInfoRef < ' _ > > for SigningKey {
717
717
type Error = pkcs8:: Error ;
718
718
719
- fn try_from ( private_key : pkcs8:: PrivateKeyInfo < ' _ > ) -> pkcs8:: Result < Self > {
719
+ fn try_from ( private_key : pkcs8:: PrivateKeyInfoRef < ' _ > ) -> pkcs8:: Result < Self > {
720
720
pkcs8:: KeypairBytes :: try_from ( private_key) ?. try_into ( )
721
721
}
722
722
}
You can’t perform that action at this time.
0 commit comments