Skip to content

Commit

Permalink
fix: rename signatures (#18524)
Browse files Browse the repository at this point in the history
  • Loading branch information
aweiss-dev authored Dec 18, 2024
1 parent 3b62e48 commit 92bd1c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/script/client/ClientEntity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ import {ClientRecord} from '../storage';
export const MLSPublicKeys = {
ed25519: 'ED25519',
ed448: 'ED448',
ecdsa_secp521r1_sha512: 'EDCSA_SECP521R1_SHA512',
ecdsa_secp384r1_sha384: 'EDCSA_SECP384R1_SHA384',
ecdsa_secp256r1_sha256: 'EDCSA_SECP256R1_SHA256',
ecdsa_secp521r1_sha512: 'P521',
ecdsa_secp384r1_sha384: 'P384',
ecdsa_secp256r1_sha256: 'P256',
} as const;

export const isKnownSignature = (signature: unknown): signature is keyof typeof MLSPublicKeys =>
Expand Down

0 comments on commit 92bd1c6

Please sign in to comment.