From 1804483b5cb517849434a38d34655c446cd00caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=A9l=20Kerkmann?= Date: Sat, 29 Oct 2022 02:13:44 +0200 Subject: [PATCH] Add "dependency CCID is not satisfied" error message The error code isn't helpful at all, the error 0xA1 and 0xA4 means that the CCID capability is missing. See #32 for more information --- src/transport/ctap.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/transport/ctap.rs b/src/transport/ctap.rs index 1c1b78c..4cbc395 100644 --- a/src/transport/ctap.rs +++ b/src/transport/ctap.rs @@ -87,6 +87,7 @@ impl From for Code { 0x3F => Error, 0x3B => Keepalive, vendor_code @ 0x40..=0x7F => Vendor(VendorCode::new(vendor_code)), + 0xA4 | 0xA1 => panic!("dependency CCID is not satisfied"), _ => panic!(), } }