mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-15 07:32:50 -05:00
lazy init encryption
This commit is contained in:
@@ -158,7 +158,7 @@ def get_encryption():
|
||||
encryption = Encryption()
|
||||
fake_app = FakeEncryptionApp()
|
||||
sekret = "SEKRET_KEY"
|
||||
sekret = sekret.replace("K", "C")
|
||||
sekret = sekret.replace("KR", "CR")
|
||||
fake_config = {"DANGEROUS_SALT": "SALTY", sekret: "FooFoo"} # noqa
|
||||
print(hilite(f"FAKE CONFIG is {fake_config}"))
|
||||
fake_app.init_fake_encryption_app(fake_config)
|
||||
|
||||
Reference in New Issue
Block a user