We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90d2295 commit de8f957Copy full SHA for de8f957
crates/bitwarden-crypto/src/keys/signed_public_key.rs
@@ -89,9 +89,7 @@ impl From<SignedPublicKey> for Vec<u8> {
89
impl TryFrom<Vec<u8>> for SignedPublicKey {
90
type Error = EncodingError;
91
fn try_from(bytes: Vec<u8>) -> Result<Self, EncodingError> {
92
- Ok(SignedPublicKey(SignedObject::from_cose(&Bytes::<
93
- CoseSign1ContentFormat,
94
- >::from(
+ Ok(SignedPublicKey(SignedObject::from_cose(&CoseSign1ContentFormat::from(
95
bytes
96
))?))
97
}
0 commit comments