W3C home > Mailing lists > Public > public-webauthn@w3.org > June 2016

Re: [webauthn] clarify content of algorithm member of copedCredentialParameters

From: Adam Powers via GitHub <sysbot+gh@w3.org>
Date: Fri, 03 Jun 2016 23:28:40 +0000
To: public-webauthn@w3.org
Message-ID: <issue_comment.created-223718095-1464996519-sysbot+gh@w3.org>
The words "desired" and "best effort" led me to believe that 
`cryptoParameters` was just a guide, and that if no match in 
`cryptoParameters` was found then any alternative credential would be 
acceptable. I would suggest clarifying that if no match is found in 
`cryptoParameters` an error is returned.

Returning to your question about how much detail an RP App should 
provide in specifying a credential, isn't this already addressed by 
 of `AlgorithmIdentifier` which may be either a string or an object? 
The object can contain all the details you want and if it's a string 
like "RSASSA-PKCS1-v1_5", then the [normalizing 
 will fill in the details?

PS - Hopefully it's obvious, but we may want to specify that the 
`algorithm` must be one that supports the `sign` and `verify` methods,
 as described in [WebCrypto Section 

GitHub Notification of comment by apowers313
Please view or discuss this issue at 
using your GitHub account
Received on Friday, 3 June 2016 23:28:45 UTC

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