W3C home > Mailing lists > Public > public-webauthn@w3.org > February 2017

Re: [webauthn] I don't understand how to create a ClientData in makeCredential

From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
Date: Wed, 15 Feb 2017 21:01:19 +0000
To: public-webauthn@w3.org
Message-ID: <issue_comment.created-280137432-1487192477-sysbot+gh@w3.org>
Looking at https://www.w3.org/TR/WebCryptoAPI/#sha, I think the hash 
`AlgorithmIdentifier`s are all just strings or instances of 
itself rather than a subtype, so they have no structure beyond their 
names. Given that, we could probably make 
 just a `DOMString` instead of an `AlgorithmIdentifier`.

Even if WebAuthn wants to use a more structured hash algorithm in the 
future, we can probably make `hashAlg` a union of the right set of 
`Algorithm` subtypes, instead of matching WebCrypto's unconstrained 

@mwatson2 in case I've mis-read WebCrypto.

GitHub Notification of comment by jyasskin
Please view or discuss this issue at 
using your GitHub account
Received on Wednesday, 15 February 2017 21:01:28 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 07:26:24 UTC