This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The behavior of the extractable and keyUsages fields are underspecified when performing a key generation for asymmetric algorithms. It should be explicitly stated that the extractable flag applies only to the private key that is generated. It needs to be specified what happens when I pass in an array of keyUsages in terms of allocating them to the public and private keys. I am assuming that this is the behavior that is desired, but if one passes in only public key keyUsge values, does that man that the private key keyUsage values should be mirrored or is the entire set assigned?
*** Bug 23096 has been marked as a duplicate of this bug. ***
*** Bug 23695 has been marked as a duplicate of this bug. ***
I have specified that: - the extractable attribute passed in applies only to the private key. Public keys are always extractable. - each key receives the intersection of the usages that it supports and the usages that were specified in the method call