diff options
author | Simo Sorce <simo@redhat.com> | 2015-04-20 16:08:28 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-04-27 15:06:26 -0400 |
commit | a2ed51acfdff399a6ad6cd486eb22da9acf59280 (patch) | |
tree | 1b49d6338e2322450efe9da92c655012105cd3cd /tests | |
parent | b9e31bf1cc44bdfeaf0454dadb578c4dbb8d588b (diff) | |
download | custodia-a2ed51acfdff399a6ad6cd486eb22da9acf59280.tar.gz custodia-a2ed51acfdff399a6ad6cd486eb22da9acf59280.tar.xz custodia-a2ed51acfdff399a6ad6cd486eb22da9acf59280.zip |
Add support for signed/encrypted messages
The new 'kem' type allows the backend to authorize access to keys based on
a signed request where the key mus be whitelisted in advance in a kemkeys
database.
The reply is encrypted with the client public key.
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/tests.py b/tests/tests.py index 4eaae13..8a1091d 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -1,12 +1,14 @@ from custodia.secrets import SecretsTests from custodia.store.sqlite import SqliteStoreTests +from custodia.message.kem import KEMTests import unittest if __name__ == '__main__': testLoad = unittest.TestLoader() allUnitTests = [testLoad.loadTestsFromTestCase(SecretsTests), - testLoad.loadTestsFromTestCase(SqliteStoreTests)] + testLoad.loadTestsFromTestCase(SqliteStoreTests), + testLoad.loadTestsFromTestCase(KEMTests)] allTestsSuite = unittest.TestSuite(allUnitTests) |