BR-STO-07
When the encryption key is not 16, 24 or 32 bytes once decoded from base64, then the build fails with InvalidKeyLengthError.
Store conversations and protect tracesEn français
Quand la clé de chiffrement ne fait pas 16, 24 ou 32 octets une fois décodée du base64, alors la construction échoue avec InvalidKeyLengthError.
Stocker les conversations et protéger les tracesWhere the rule lives 1
Tested by 7
- tests/conversation_memory/test_sqlalchemy.py::TestCrypto::test_encrypted_round_trip
- tests/crypto/cipher/test_aesgcm.py::TestUsableWhenInstalled::test_ciphertext_hides_the_plaintext
- tests/crypto/cipher/test_aesgcm.py::TestUsableWhenInstalled::test_conforms_to_the_port
- tests/crypto/cipher/test_aesgcm.py::TestUsableWhenInstalled::test_encryption_is_randomized
- tests/crypto/cipher/test_aesgcm.py::TestUsableWhenInstalled::test_round_trip_restores_plaintext
- tests/crypto/cipher/test_aesgcm.py::TestUsableWhenInstalled::test_tampered_ciphertext_is_rejected
- tests/crypto/cipher/test_aesgcm.py::TestUsableWhenInstalled::test_wrong_key_length_is_rejected
Used by 3
Read from the code graph graphify builds, at the places the domain documentation gives. A test that goes through another function does not show here.