Closed mkg20001 closed 5 years ago
.createFromJSON only matches private key => id and private key => public key
Because the private key is optional the public key will not get matched against the id if it is missing.
Is this fixed now?
Yes, it looks like it. We verify the private and pub key digests match (if there is a public key) and that the id and priv digest match, which inherently validate the public and id match.
.createFromJSON only matches private key => id and private key => public key
Because the private key is optional the public key will not get matched against the id if it is missing.