Skip to content

Added missing public key exception#116

Open
iljoja wants to merge 2 commits into
lbuchs:masterfrom
iljoja:master
Open

Added missing public key exception#116
iljoja wants to merge 2 commits into
lbuchs:masterfrom
iljoja:master

Conversation

@iljoja
Copy link
Copy Markdown

@iljoja iljoja commented Jan 20, 2026

This was first noticed by ProtonMail fork.

ScottHelme pushed a commit to report-uri/passkeys-php that referenced this pull request May 13, 2026
The COSE_Key map for an OKP/EdDSA credential must include the public
key x coordinate. The previous code silently assigned null, deferring
the failure to a later use of the key. We now throw a clear exception
at the parsing site.

Adds a new WebAuthnException::MISSING_PUBLIC_KEY constant (17).

Adopted from upstream PR lbuchs/WebAuthn#116 by @iljoja
(originally surfaced by the ProtonMail fork).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant