diff --git a/Sources/Panels/WebAuthnCoordinator.swift b/Sources/Panels/WebAuthnCoordinator.swift index bb9ad1fb18c3..f16fa6e04c74 100644 --- a/Sources/Panels/WebAuthnCoordinator.swift +++ b/Sources/Panels/WebAuthnCoordinator.swift @@ -435,7 +435,7 @@ final class WebAuthnCoordinator: NSObject { case CTAP2_ERR_PROTOCOL: return CTAP2Error(message: "CTAP2 protocol error.") case CTAP2_ERR_BUFFER_TOO_SMALL: return CTAP2Error(message: "Response buffer too small.") case CTAP2_ERR_OPEN_FAILED: return CTAP2Error(message: "Failed to open security key device.") - case CTAP2_ERR_WRITE_FAILED: return CTAP2Error(message: "Failed to write to security key.") + case CTAP2_ERR_WRITE_FAILED: return CTAP2Error(message: "Failed to write to security key. IOReturn=\(ctap2_debug_last_ioreturn())") case CTAP2_ERR_READ_FAILED: return CTAP2Error(message: "Failed to read from security key.") case CTAP2_ERR_CBOR: return CTAP2Error(message: "CBOR encoding/decoding error.") case CTAP2_ERR_DEVICE: return CTAP2Error(message: "Security key returned an error.") diff --git a/libctap2.a b/libctap2.a index 126a61ed54c4..160f795d4c86 100644 Binary files a/libctap2.a and b/libctap2.a differ