Access the persistent keys through the store

This permits to set them using a vendor command and thus not embed their value
in the application.
This commit is contained in:
Julien Cretin
2020-05-30 20:15:59 +02:00
parent 2e419fe77b
commit 98a558a502
3 changed files with 126 additions and 11 deletions

View File

@@ -67,5 +67,11 @@ pub enum Ctap2StatusCode {
// CTAP2_ERR_VENDOR_FIRST = 0xF0,
CTAP2_ERR_VENDOR_RESPONSE_TOO_LONG = 0xF0,
CTAP2_ERR_VENDOR_RESPONSE_CANNOT_WRITE_CBOR = 0xF1,
/// An internal invariant is broken.
///
/// This type of error is unexpected and the current state is undefined.
CTAP2_ERR_VENDOR_INTERNAL_ERROR = 0xF2,
CTAP2_ERR_VENDOR_LAST = 0xFF,
}