I've been reading about WebAuthn and try to write some code to exercise.
One thing I noticed is that the spec doesn't seem to provide any way to verify the correctness of the public-key being create()
'd other than through attestation. And by TOFU paradigm mentioned in MDN document, it's not to be verified in the first place.
However, with PKIX CSR, the public-key in the cert request is signed by its corresponding private key, which provide a basic level of verification.
So, what are the pro's and con's of public-key verification signatures? Why WebAuthn choose this over that?