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

[verify] Support multiple encryption keys #1087

Open
viklund opened this issue Oct 16, 2024 · 0 comments
Open

[verify] Support multiple encryption keys #1087

viklund opened this issue Oct 16, 2024 · 0 comments

Comments

@viklund
Copy link
Member

viklund commented Oct 16, 2024

Main user story

As a security conscious user of the sensitive data arcive,
I want to see that the archive can rotate encryption keys
so that security can be maintained.

Sub user story

As an sda-dev
I want to implement multiple-key support for the verify services
so that repository key rotation can be enabled.

Description

  • Verify should be able to load a directory of public/private key pairs instad of just a specific one.
  • For verify to pass for a file it should look up the hash of the key used to encrypt a file from the database and should then try to decrypt the file with that specific key.

Acceptance criteria

  • Demonstrate ingestion and verification of encrypted files with two different archive c4gh private keys.
  • Tests verifying the changes added

Extra information

This issue was split off from issue #787.

Note: key rotation miro board here

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

1 participant