diff options
author | Matthew Miller <matthew@millerti.me> | 2021-07-08 21:40:06 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2021-07-08 21:40:06 -0700 |
commit | 2f50a871df642ff37a0009a30b7812933f3be820 (patch) | |
tree | 2c996b652c2573cc63ade370a7a2bc8b3381ebf2 /example | |
parent | 23d8180cf5e40693a4a6a27d2f7fe38d2b0b8df7 (diff) |
Support two most common algorithms
Diffstat (limited to 'example')
-rw-r--r-- | example/index.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/example/index.ts b/example/index.ts index f1edb4a..6609fdb 100644 --- a/example/index.ts +++ b/example/index.ts @@ -133,6 +133,10 @@ app.get('/generate-attestation-options', (req, res) => { userVerification: 'preferred', requireResidentKey: false, }, + /** + * Support the two most common algorithms: ES256, and RS256 + */ + supportedAlgorithmIDs: [-7, -257], }; const options = generateAttestationOptions(opts); |