Skip to content

Commit 0f70bf9

Browse files
Add Hybrid CTAP2 transport
1 parent 5c9160a commit 0f70bf9

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

libwebauthn/src/proto/ctap1/model.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ impl TryFrom<&Ctap2Transport> for Ctap1Transport {
2626
Ctap2Transport::Usb => Ok(Ctap1Transport::Usb),
2727
Ctap2Transport::Nfc => Ok(Ctap1Transport::Nfc),
2828
Ctap2Transport::Internal => Err(CtapError::UnsupportedOption),
29+
Ctap2Transport::Hybrid => Err(CtapError::UnsupportedOption),
2930
}
3031
}
3132
}

libwebauthn/src/proto/ctap2/model.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ pub enum Ctap2Transport {
125125
Nfc,
126126
Usb,
127127
Internal,
128+
Hybrid,
128129
}
129130

130131
impl From<&Ctap1Transport> for Ctap2Transport {

0 commit comments

Comments
 (0)