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

[agent] Move the certificates generation/loading to a module #912

Open
4 tasks
ansasaki opened this issue Jan 16, 2025 · 0 comments
Open
4 tasks

[agent] Move the certificates generation/loading to a module #912

ansasaki opened this issue Jan 16, 2025 · 0 comments
Labels
rust Pull requests that update Rust code

Comments

@ansasaki
Copy link
Contributor

Description:

During startup, the agent creates or loads the private key and mTLS certificate, and loads the trusted certificates.
The logic is implemented as part of the main() function.
This is about refactoring the code and moving this initialization to a module in the keylime library.
This way the code can be easily reused, for example in case the push and pull model are implemented in separate binaries.

Checklist:

  • Changes implemented
  • Tests added
  • Documentation updated
  • If configuration options are modified, the templates should be updated
@ansasaki ansasaki added the rust Pull requests that update Rust code label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rust Pull requests that update Rust code
Projects
Status: Todo
Development

No branches or pull requests

1 participant