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
This request is somewhat similar to #464: I've noticed that the PublicKeyCredentialDenormalizer verifies that the id and rawId match, but the PublicKeyCredential does not, possibly allowing the developer to create a PublicKeyCredential that is internally inconsistent.
In fact, if both IDs need to match up, why is it necessary to explicitly pass both of them. Should PublicKeyCredential perhaps just have the id as a parameter and calculate the rawId by itself?
Example
No response
The text was updated successfully, but these errors were encountered:
This will be deprecated by #589.
Not an easy task and it needs to be done in 2 steps:
Deprecation of $id in favor of $rawId. $rawId is used almost everywhere so I prefer to deprecate the base 64 encoded value $id. Developers are now asked to use the binary version.
With 5.0.0 only rawId will exist. However I prefer the property name $id. In 5.x the property $rawId will be deprecated in favor of $id, which will have the same value.
It is strange at first sight, but I don't know how to swith from a base64 encoded to a binary value for $id without causing BC breaks.
Description
This request is somewhat similar to #464: I've noticed that the
PublicKeyCredentialDenormalizer
verifies that theid
andrawId
match, but thePublicKeyCredential
does not, possibly allowing the developer to create aPublicKeyCredential
that is internally inconsistent.In fact, if both IDs need to match up, why is it necessary to explicitly pass both of them. Should
PublicKeyCredential
perhaps just have theid
as a parameter and calculate therawId
by itself?Example
No response
The text was updated successfully, but these errors were encountered: