Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maximum number of secrets (50?) #119

Closed
kizm0 opened this issue Oct 8, 2024 · 2 comments
Closed

maximum number of secrets (50?) #119

kizm0 opened this issue Oct 8, 2024 · 2 comments

Comments

@kizm0
Copy link

kizm0 commented Oct 8, 2024

Hello,

i do have a Nitrokey 3 which stores 50 passwords in the secret app. By adding the 51th i get the error AddCredentialJobSecretsAppException(NotEnoughMemory). I was not able to find any hardcoded limitation of secrets. Is there a limitation of secrets (number/total bytes)?

Thank you!

@robin-nitrokey
Copy link
Member

Indeed there currently is a hard limit of 50 credentials. The reason for this is that listing all credentials can get pretty slow if there are many (several hundred). We therefore chose a rather conservative limit for the first release. We definitely plan to significantly increase the limit once we have improved the iteration speed and implemented faster alternatives. I’ve created a tracking issue for that: #120

We already did some of the work required for this, but there are still some components missing. As a first step, we could maybe add a configuration option to increase the limit for users that are willing to pay the performance penalty.

@kizm0
Copy link
Author

kizm0 commented Oct 8, 2024

thanks for the answer, the option with the configuration would be awesome - i do not have a problem to wait several seconds ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants