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:
@@ -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; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user