Commit Graph

4 Commits

Author SHA1 Message Date
Zorica Stojchevska 30e5087084 Update copyright
MAILAND-2696
2022-05-23 21:01:57 +00:00
M. Thiercelin d0f98baad2 Map active flags from core user keys to mail domain user keys
We need to have the active flag on user keys to make sure
the client doesn't use the inactive user keys.
The flags is already kept by the core model, we need to formard to the mail domain
user keys.

MAILAND-2725
2022-02-23 14:11:35 +00:00
M. Thiercelin 967c7d97dc Add instrumented tests for bug with inactive user keys
Add tests to check that the inactive user keys
are not making the token decrypition fail.
2022-01-25 17:58:03 +00:00
marin thiercelin 0cd90f52c9 Check that the tokens of migrated keys have the right format
We need to enforce that the decrypted tokens of migrated keys
returned by the server have the right format.
They must be 32bytes of randomness encoded in hexadecimal form.

CRYPTO-27
2021-12-22 15:18:44 +00:00