From 5e41ed7c092eccaf925ff6bfe27e3dc172867066 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 31 Oct 2019 14:27:23 +0000 Subject: [PATCH] core/webauthn: increase limit for resident credentials to 100 (cherry picked from commit 39a532c8b11e22403d81a214d611f1d60d855fd6) --- core/src/apps/common/storage/webauthn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/apps/common/storage/webauthn.py b/core/src/apps/common/storage/webauthn.py index a86a19c32c..b50685b663 100644 --- a/core/src/apps/common/storage/webauthn.py +++ b/core/src/apps/common/storage/webauthn.py @@ -7,7 +7,7 @@ if False: from typing import List, Optional _RESIDENT_CREDENTIAL_START_KEY = const(1) -_MAX_RESIDENT_CREDENTIALS = const(16) +_MAX_RESIDENT_CREDENTIALS = const(100) def get_resident_credentials(rp_id_hash: Optional[bytes] = None) -> List[Credential]: