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

[Shipper][Design] Generate and securely store an encryption key for the shipper's encrypted disk queue #582

Closed
cmacknz opened this issue Jun 20, 2022 · 2 comments
Assignees
Labels

Comments

@cmacknz
Copy link
Member

cmacknz commented Jun 20, 2022

We are adding an encrypted disk queue option to the shipper which is required for Endpoint security to migrate to the shipper. To encrypt the queue we'll need to generate an encryption key and securely persist it. The scope of this issue is to design how we'll generate this key and how we'll store it when running under the agent.

I believe the key storage added by #398 provides the secure cross-platform storage support we'd need for storing the key. How do we use it to store the queue encryption key? Should the shipper or the agent generate the key? How is the key communicated to the shipper?

Since we are encrypting the disk queue, the encrypted data will persist through upgrades and downgrades of the agent. We will need to carefully think through edge cases related to upgrades.

@cmacknz
Copy link
Member Author

cmacknz commented Jun 20, 2022

CC @ph @leehinman

@cmacknz
Copy link
Member Author

cmacknz commented Sep 27, 2022

Closing as duplicate of elastic/elastic-agent-shipper#121

@cmacknz cmacknz closed this as completed Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants