Skip to content

Commit

Permalink
Refactor key management and encryption and remove CryptoUtil
Browse files Browse the repository at this point in the history
Fix the tests

Save new key's fingerprint to Redis

Implement encrypt and decrypt methods

Remove TODO

Some more changes

Implement some more tests

Fix remaining tests

fix

Finalized test suite

Run black

Linting

Tweak

Revert new variable name

AppArmor

Fix teardown code

Disable GPG passphrase cache in all locations

Restire existing behavior

Move test-only config to corresponding fixtures

lint

flake8

Fix echo commands for GPG agent conf

Explicitely set USE_X_SENDFILE to False in tests

lint

Use pytest fixture for functional tests config

Switch back to function scope for config fixture

Fix tests

Fix tests

Fix tests

mypy

Fix typo

Fix last test
  • Loading branch information
nabla-c0d3 committed Nov 20, 2021
1 parent 1217495 commit 18d7a57
Show file tree
Hide file tree
Showing 28 changed files with 807 additions and 637 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@
/var/www/securedrop/__pycache__/ rw,
/var/www/securedrop/__pycache__/* rw,
/var/www/securedrop/config.py r,
/var/www/securedrop/crypto_util.py r,
/var/www/securedrop/db.py r,
/var/www/securedrop/dictionaries/adjectives.txt r,
/var/www/securedrop/dictionaries/nouns.txt r,
/var/www/securedrop/encryption.py r,
/var/www/securedrop/execution.py r,
/var/www/securedrop/i18n.py r,
/var/www/securedrop/journalist.py r,
Expand Down
221 changes: 0 additions & 221 deletions securedrop/crypto_util.py

This file was deleted.

Loading

0 comments on commit 18d7a57

Please sign in to comment.