1
0
mirror of https://github.com/bitwarden/server synced 2025-12-15 15:53:59 +00:00

Support encrypted RSA 4096 keys (#1236)

Testing showed 4096 keys with minimal comments resulted in 4680
characters. Round to 5000 for a buffer.
This commit is contained in:
Matt Gibson
2021-03-23 16:40:28 -05:00
committed by GitHub
parent 0cfd50382d
commit 7e127cec13

View File

@@ -19,7 +19,7 @@ namespace Bit.Core.Models.Api
public FieldType Type { get; set; } public FieldType Type { get; set; }
[EncryptedStringLength(1000)] [EncryptedStringLength(1000)]
public string Name { get; set; } public string Name { get; set; }
[EncryptedStringLength(1000)] [EncryptedStringLength(5000)]
public string Value { get; set; } public string Value { get; set; }
} }
} }