test output

This commit is contained in:
2021-06-17 18:50:05 +02:00
parent 9929b38db7
commit 5b1209679b
3 changed files with 15 additions and 7 deletions

View File

@ -8,7 +8,7 @@ JWT_PRIV_KEY = os.environ["JWT_PRIV_KEY"]
class JweTestMethods(unittest.TestCase):
def test_encryptDecrypt(self):
inObj = {"application":"test", "login":"wn", "password":"joshua"}
inObj = {"application":"hv2", "login":"wn", "password":"joshua"}
plainText = json.dumps(inObj)
cryptText = jwe.encrypt(plainText, JWT_PUB_KEY, "A256GCM", "RSA-OAEP")