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

Limit certificate install count #36

Closed
AssemblyJohn opened this issue Jan 29, 2024 · 0 comments · Fixed by #39
Closed

Limit certificate install count #36

AssemblyJohn opened this issue Jan 29, 2024 · 0 comments · Fixed by #39
Assignees
Labels
enhancement New feature or request

Comments

@AssemblyJohn
Copy link
Collaborator

In order to limit disk usage that is unchecked at the moment the following measures will be in place:

  • CSR timeout: if the private key of a CSR can not be paired with a certificate response within a certain configurable timeframe, the private key will be deleted. A monotonic clock will be used for independence of system time
  • Size (MB) limit for certificates (configurable, with a default of 100MB), if the size limit is exceeded no further certificates will be installed
  • Garbage collector function, that receives a 'correct' real time in order to check certificate validity and delete expired ones

In the future a configurable limit on individual certificates can be set, when used in pair with libocpp, that limits the certificate count.

@AssemblyJohn AssemblyJohn added the enhancement New feature or request label Jan 29, 2024
@AssemblyJohn AssemblyJohn self-assigned this Jan 29, 2024
@AssemblyJohn AssemblyJohn linked a pull request Feb 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant