This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25717 - Provide informative text noting when a parameter in an SPKI/PKCS8/JWK is ignored
Summary: Provide informative text noting when a parameter in an SPKI/PKCS8/JWK is ignored
Status: RESOLVED FIXED
Alias: None
Product: Web Cryptography
Classification: Unclassified
Component: Web Cryptography API Document (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Mark Watson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-14 20:46 UTC by Ryan Sleevi
Modified: 2014-09-24 18:53 UTC (History)
3 users (show)

See Also:


Attachments

Description Ryan Sleevi 2014-05-14 20:46:23 UTC
When importing/exporting keys, some parameters will always be respected (eg: "alg" in JWK, the Algorithm OID in SPKI/PKCS8), but other parameters MAY be ignored.

For example:
- When importing JWK, unknown parameters are ignored, rather than fatal.
- When importing SPKI/PKCS8, some parameters in the algorithm field may not be checked:
  - For example, the saltLength field of the RSASSA-PSS-params is not checked, nor is the trailerField

This is mostly to call attention to the fact that some parameters are explicitly NOT handled, and not simply spec omissions.
Comment 1 Mark Watson 2014-09-22 17:48:40 UTC
I support the proposal to add an informative note as suggested.