-
Notifications
You must be signed in to change notification settings - Fork 704
Closed
Description
Description
In Focal container if we delete a source, the related gpg
keys should also be deleted, but they are not getting deleted.
Steps to Reproduce
- Start a Focal dev container from
dev_focal
branch:make dev-focal
- Login as journalist, delete a source.
-
docker exec -it containerid /bin/bash
- root@7701c5345245:~/code/securedrop/securedrop# gpg2 --homedir=/var/lib/securedrop/keys --list-keys
Expected Behavior
- Only 2 keys, 1 for journalist, and 1 remaining source key should be there.
Actual Behavior
- All 3 keys are there.
root@7701c5345245:~/code/securedrop/securedrop# gpg2 --homedir=/var/lib/securedrop/keys --list-keys
/var/lib/securedrop/keys/pubring.gpg
------------------------------------
pub rsa4096 2013-10-12 [SC]
65A1B5FF195B56353CC63DFFCC40EF1228271441
uid [ unknown] SecureDrop Test/Development (DO NOT USE IN PRODUCTION)
sub rsa4096 2013-10-12 [E]
pub rsa1024 2013-05-14 [SCEA]
A7501454825B423CF894E7CDEDE3DF05DE24277C
uid [ultimate] Source Key <EVAXJEWVIHP4SSBOEF4N5KVFHBKN6FOGFBIEJQIIBGDE3R3LCUBSUHRCV72X6IS6SWSKRBIPVL7QJV2PD6UFBPL6XZY2VVCPY67BZEI=>
pub rsa1024 2013-05-14 [SCEA]
787F6132468D0A1E125C070F14530E2B67230F7D
uid [ultimate] Source Key <OD4QTM56LDGKN3FUTCTN66GFB27D5STUAZP6LTMDS467YPE52HSXW4WJSNEPGIGQT3B75UMVRWO3HFNY4KUEJQFRY3L36A7FRKTFM4Q=>
Comments
Suggestions to fix, any other relevant information.
Metadata
Metadata
Assignees
Labels
No labels