summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/server/src/attestation/generateAttestationOptions.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/server/src/attestation/generateAttestationOptions.ts b/packages/server/src/attestation/generateAttestationOptions.ts
index d27b42f..98acfcd 100644
--- a/packages/server/src/attestation/generateAttestationOptions.ts
+++ b/packages/server/src/attestation/generateAttestationOptions.ts
@@ -19,8 +19,11 @@ type Options = {
supportedAlgorithmIDs?: COSEAlgorithmIdentifier[];
};
-// Supported crypto algo identifiers
-// See https://w3c.github.io/webauthn/#sctn-alg-identifier
+/**
+ * Supported crypto algo identifiers
+ * See https://w3c.github.io/webauthn/#sctn-alg-identifier
+ * and https://www.iana.org/assignments/cose/cose.xhtml#algorithms
+ */
export const supportedCOSEAlgorithmIdentifiers: COSEAlgorithmIdentifier[] = [
// ECDSA w/ SHA-256
-7,