From 7e127cec131d418f54827ea5cd666131abb5503a Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Tue, 23 Mar 2021 16:40:28 -0500 Subject: [PATCH] Support encrypted RSA 4096 keys (#1236) Testing showed 4096 keys with minimal comments resulted in 4680 characters. Round to 5000 for a buffer. --- src/Core/Models/Api/CipherFieldModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Models/Api/CipherFieldModel.cs b/src/Core/Models/Api/CipherFieldModel.cs index 655cd02a93..ff6d049851 100644 --- a/src/Core/Models/Api/CipherFieldModel.cs +++ b/src/Core/Models/Api/CipherFieldModel.cs @@ -19,7 +19,7 @@ namespace Bit.Core.Models.Api public FieldType Type { get; set; } [EncryptedStringLength(1000)] public string Name { get; set; } - [EncryptedStringLength(1000)] + [EncryptedStringLength(5000)] public string Value { get; set; } } }