summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-07-24 08:47:01 -0700
committerMatthew Miller <matthew@millerti.me>2020-07-24 08:47:01 -0700
commit9b964a251b940222bbfa87cb0f207963146d70ce (patch)
tree6303bfae431baefcc1c2e6a32393e24065704999
parent23e827e94968b3b6a376dd55bf33c0a7aeb663d0 (diff)
Add COSE alg ID URL to comment
-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,