diff --git a/apps/vault/src/ctap/storage.rs b/apps/vault/src/ctap/storage.rs index 36375efb6..1cb1514fd 100644 --- a/apps/vault/src/ctap/storage.rs +++ b/apps/vault/src/ctap/storage.rs @@ -67,11 +67,8 @@ pub(crate) const CRED_INITAL_SIZE: usize = 512; const NUM_PAGES: usize = 20; /// The limit is based on the performance of the PDDB to get a query response within -/// the compliance time-out limit. Optimization is needed to improve this number! -/// -/// Note: this might have been fixed with 6f849af2a23e99c98baa4d89ccf07261f4af7854, found -/// a busy-wait regression in an prerequisites server that would explain the slowdown. -const MAX_SUPPORTED_RESIDENTIAL_KEYS: usize = 32; +/// the compliance time-out limit. Note that most keys support about 25 credentials. +const MAX_SUPPORTED_RESIDENTIAL_KEYS: usize = 150; const MAX_PIN_RETRIES: u8 = 8; #[cfg(feature = "with_ctap2_1")]