1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-08 12:10:30 -05:00

Remove string length limit

This commit is contained in:
Bernd Schoolmann 2025-06-06 17:43:46 +02:00
parent a9650a878a
commit aad4a8e696
No known key found for this signature in database

View File

@ -1,5 +1,4 @@
using System.ComponentModel.DataAnnotations;
using Bit.Core.Entities;
using Bit.Core.Entities;
using Bit.Core.KeyManagement.Enums;
using Bit.Core.Utilities;
@ -13,9 +12,7 @@ public class UserSignatureKeyPair : ITableObject<Guid>, IRevisable
public Guid UserId { get; set; }
public SignatureAlgorithm SignatureAlgorithm { get; set; }
[MaxLength(500)]
required public string VerifyingKey { get; set; }
[MaxLength(500)]
required public string SigningKey { get; set; }
public DateTime CreationDate { get; set; } = DateTime.UtcNow;