-
Notifications
You must be signed in to change notification settings - Fork 687
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
Updated logs playbook to clean up unencrypted tarballs #4596
Updated logs playbook to clean up unencrypted tarballs #4596
Conversation
9f808ed
to
d51530e
Compare
Codecov Report
@@ Coverage Diff @@
## develop #4596 +/- ##
========================================
Coverage 82.63% 82.63%
========================================
Files 45 45
Lines 3116 3116
Branches 337 337
========================================
Hits 2575 2575
Misses 455 455
Partials 86 86 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything else works, but I think it is encrypted with a different key.
$ gpg -d securedrop-logs-app-20190708T063445.tar.gz.gpg > sd-logs.tar.gz
gpg: encrypted with 4096-bit RSA key, ID EECE0DDC6DCB11EF, created 2015-03-16
"Freedom of the Press Foundation <[email protected]>"
@kushaldas I didn't change the encryption key - it should be the one with fingerprint |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- verify that
./securedrop-admin logs
completes without error - verify that the unencrypted tarballs do not exist in
~/Persistent/securedrop/install_files/ansible-base
- verify that the unencrypted tarballs do not exist in the server admin home directory for either the Application or Monitor Server.
- if you have access to the necessary key, verify that the encrypted tarballs can be decrypted.
Approved. 🌈
Status
Ready for review
Description of Changes
Fixes #4593
Updates
securedrop-logs.yml
to delete unencrypted tarballs from the servers and Admin Workstation.Testing
On a VM or HW production instance, via the Admin Workstation:
./securedrop-admin logs
completes without error~/Persistent/securedrop/install_files/ansible-base
Deployment
Deployed when workstation USBs are updated.
Checklist
If you made changes to
securedrop-admin
:make -C admin test
) pass in the admin development containerIf you made non-trivial code changes: