mirror of
https://github.com/bitwarden/server.git
synced 2025-07-18 16:11:28 -05:00
Support RSA 4096 keys in password history (#1407)
* Support RSA 4096 keys in password history * Increase password length to 5000 for RSA4096 keys
This commit is contained in:
@ -52,7 +52,7 @@ namespace Bit.Core.Models.Api
|
|||||||
[EncryptedStringLength(1000)]
|
[EncryptedStringLength(1000)]
|
||||||
public string Username { get; set; }
|
public string Username { get; set; }
|
||||||
[EncryptedString]
|
[EncryptedString]
|
||||||
[EncryptedStringLength(1000)]
|
[EncryptedStringLength(5000)]
|
||||||
public string Password { get; set; }
|
public string Password { get; set; }
|
||||||
public DateTime? PasswordRevisionDate { get; set; }
|
public DateTime? PasswordRevisionDate { get; set; }
|
||||||
[EncryptedString]
|
[EncryptedString]
|
||||||
|
@ -16,7 +16,7 @@ namespace Bit.Core.Models.Api
|
|||||||
}
|
}
|
||||||
|
|
||||||
[EncryptedString]
|
[EncryptedString]
|
||||||
[EncryptedStringLength(2000)]
|
[EncryptedStringLength(5000)]
|
||||||
[Required]
|
[Required]
|
||||||
public string Password { get; set; }
|
public string Password { get; set; }
|
||||||
[Required]
|
[Required]
|
||||||
|
Reference in New Issue
Block a user