From 042108e3d9d753fb0d0820733021c5c493f9eb4c Mon Sep 17 00:00:00 2001 From: Julien Cretin Date: Tue, 1 Dec 2020 17:46:28 +0100 Subject: [PATCH] Reserve 700 additional keys for credential-related stuff --- src/ctap/storage/key.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ctap/storage/key.rs b/src/ctap/storage/key.rs index e37e470..6dab699 100644 --- a/src/ctap/storage/key.rs +++ b/src/ctap/storage/key.rs @@ -76,6 +76,12 @@ make_partition! { // - When adding a (non-persistent) key below this message, make sure its value is bigger or // equal than NUM_PERSISTENT_KEYS. + /// Reserved for future credential-related objects. + /// + /// In particular, additional credentials could be added there by reducing the lower bound of + /// the credential range below as well as the upper bound of this range in a similar manner. + _RESERVED_CREDENTIALS = 1000..1700; + /// The credentials. /// /// Depending on `MAX_SUPPORTED_RESIDENTIAL_KEYS`, only a prefix of those keys is used. Each