1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-13 06:20:48 -05:00

Further rename to signaturekeypair

This commit is contained in:
Bernd Schoolmann 2025-06-02 15:34:54 +02:00
parent cfe647f3b4
commit edc5e43898
No known key found for this signature in database
5 changed files with 12 additions and 12 deletions

View File

@ -0,0 +1,8 @@
CREATE PROCEDURE [dbo].[UserSignatureKeyPair_ReadByUserId]
@UserId UNIQUEIDENTIFIER
AS
BEGIN
SELECT *
FROM [dbo].[UserSignatureKeyPair]
WHERE [UserId] = @UserId;
END

View File

@ -1,13 +1,13 @@
CREATE PROCEDURE [dbo].[UserSigningKey_UpdateForRotation] CREATE PROCEDURE [dbo].[UserSignatureKeyPair_UpdateForRotation]
@UserId UNIQUEIDENTIFIER, @UserId UNIQUEIDENTIFIER,
@KeyType TINYINT, @SignatureKeyPairAlgorithm TINYINT,
@SigningKey VARCHAR(MAX), @SigningKey VARCHAR(MAX),
@VerifyingKey VARCHAR(MAX), @VerifyingKey VARCHAR(MAX),
@RevisionDate DATETIME2(7) @RevisionDate DATETIME2(7)
AS AS
BEGIN BEGIN
UPDATE [dbo].[UserSigningKey] UPDATE [dbo].[UserSignatureKeyPair]
SET [KeyType] = @KeyType, SET [SignatureKeyPairAlgorithm] = @SignatureKeyPairAlgorithm,
[SigningKey] = @SigningKey, [SigningKey] = @SigningKey,
[VerifyingKey] = @VerifyingKey, [VerifyingKey] = @VerifyingKey,
[RevisionDate] = @RevisionDate [RevisionDate] = @RevisionDate

View File

@ -1,8 +0,0 @@
CREATE PROCEDURE [dbo].[UserSigningKey_ReadByUserId]
@UserId UNIQUEIDENTIFIER
AS
BEGIN
SELECT *
FROM [dbo].[UserSigningKey]
WHERE [UserId] = @UserId;
END