mirror of
https://github.com/bitwarden/server
synced 2025-12-26 21:23:39 +00:00
Add xchacha20poly1305 enc type (#5470)
This commit is contained in:
@@ -16,6 +16,7 @@ public class EncryptedStringAttribute : ValidationAttribute
|
||||
[EncryptionType.AesCbc256_B64] = 2, // iv|ct
|
||||
[EncryptionType.AesCbc128_HmacSha256_B64] = 3, // iv|ct|mac
|
||||
[EncryptionType.AesCbc256_HmacSha256_B64] = 3, // iv|ct|mac
|
||||
[EncryptionType.XChaCha20Poly1305_B64] = 1, // cose bytes
|
||||
[EncryptionType.Rsa2048_OaepSha256_B64] = 1, // rsaCt
|
||||
[EncryptionType.Rsa2048_OaepSha1_B64] = 1, // rsaCt
|
||||
[EncryptionType.Rsa2048_OaepSha256_HmacSha256_B64] = 2, // rsaCt|mac
|
||||
|
||||
Reference in New Issue
Block a user