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

Store reference to GPG key used to encrypt submission and replies in database #5195

Open
emkll opened this issue Apr 14, 2020 · 0 comments
Open

Comments

@emkll
Copy link
Contributor

emkll commented Apr 14, 2020

Description

For each submission or reply, we should track the GPG key used to encrypt this submission or reply.
This will provide the base for server-side key management, allowing for better handling of rotation use-cases and providing functionality required for future support of submission/per journalist keys(as described in #2841)

There are several ways this can be implemented, the key fingerprint as a field in Submissions or Reply table, or creating a new table and a foreign key reference to that key (fingerprint, and other useful metadata, such as time of validity of the key).

How should we handle existing submissions and replies? Ideally we would want all (including all past) submissions and replies to have metadata about the associated key, but it might be impractical to implement a migration around this for historical submissions and replies.

Ref: freedomofpress/securedrop-client#140

@emkll emkll changed the title Store GPG key used to encrypt submission and replies Store reference to GPG key used to encrypt submission and replies in database Apr 14, 2020
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