summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-05-19 01:49:57 -0700
committerMatthew Miller <matthew@millerti.me>2020-05-19 01:49:57 -0700
commite4804fa981f738df1efb2e4cf3b735d3ce43399f (patch)
tree94bb1e9466a5f3a1badb3a0174ada7800d24b844
parent1c51c976d4a4138ac32afe9e62f26845147faf97 (diff)
Paste in some old comments to verifyNone
-rw-r--r--src/attestation/verifications/verifyNone.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/attestation/verifications/verifyNone.ts b/src/attestation/verifications/verifyNone.ts
index b71bbac..1eeb895 100644
--- a/src/attestation/verifications/verifyNone.ts
+++ b/src/attestation/verifications/verifyNone.ts
@@ -5,6 +5,9 @@ import convertCOSEECDHAtoPKCS from "@helpers/convertCOSEECDHAtoPKCS";
import parseAttestationAuthData from '../parseAttestationAuthData';
+/**
+ * This is the weaker of the assertions, so there are only so many checks we can perform
+ */
export default function verifyAttestationNone(
attestationObject: AttestationObject,
): VerifiedAttestation {