You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It will fail, because it does not recognize the use parameter (it doesn't recognize some other parameters either, but that is the first parameter it sees).
In fact, you have to reduce it to the following parameters (so only the ones from Field are present)
There's a registry for all key parameters at IANA but note that this list 1) may grow with new entries and 2) implementations are allowed to define custom parameters not in the registry.
My proposed solution would be to ignore unknown parameters just like the spec dictates it.
The text was updated successfully, but these errors were encountered:
As per RFC7517 section 4 (fourth paragraph)
But currently, if you try to parse this key for example (using the
p256
crate; key created by step-cli):It will fail, because it does not recognize the
use
parameter (it doesn't recognize some other parameters either, but that is the first parameter it sees).In fact, you have to reduce it to the following parameters (so only the ones from
Field
are present)There's a registry for all key parameters at IANA but note that this list 1) may grow with new entries and 2) implementations are allowed to define custom parameters not in the registry.
My proposed solution would be to ignore unknown parameters just like the spec dictates it.
The text was updated successfully, but these errors were encountered: