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 7635cd0 commit ec14e51Copy full SHA for ec14e51
crates/bitwarden-crypto/src/cose.rs
@@ -180,7 +180,9 @@ impl TryFrom<&coset::Header> for ContentFormat {
180
Some(ContentType::Text(format)) if format == CONTENT_TYPE_PADDED_UTF8 => {
181
Ok(ContentFormat::Utf8)
182
}
183
-
+ Some(ContentType::Text(format)) if format == CONTENT_TYPE_BITWARDEN_LEGACY_KEY => {
184
+ Ok(ContentFormat::BitwardenLegacyKey)
185
+ }
186
Some(ContentType::Assigned(CoapContentFormat::Pkcs8)) => Ok(ContentFormat::Pkcs8),
187
Some(ContentType::Assigned(CoapContentFormat::CoseKey)) => Ok(ContentFormat::CoseKey),
188
Some(ContentType::Assigned(CoapContentFormat::OctetStream)) => {
0 commit comments