Skip to content

getPublicKey(): add per-algorithm subfeatures#29637

Merged
caugner merged 2 commits into
mdn:mainfrom
ddbeck:getpublickey-algos
May 15, 2026
Merged

getPublicKey(): add per-algorithm subfeatures#29637
caugner merged 2 commits into
mdn:mainfrom
ddbeck:getpublickey-algos

Conversation

@ddbeck

@ddbeck ddbeck commented May 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Break out algorithm support in api.AuthenticatorAttestationResponse.getPublicKey into separate subfeatures.

Test results and supporting details

This partially unwinds the change in #29458, which marked the whole method as partial.

While these algorithms are a "MUST" requirement in the specification text, this behavior has been missing from Safari from its inception in 2022 but only reported as a bug a few weeks ago.

This is unlikely to meet our partial guideline. Specifically, the long interval between implementation and bug report suggests that this does not yet have "a demonstrable negative impact on web developers." And although the spec says that these algorithms are strictly required, it's not really creating "confusing feature detection results" when the spec otherwise requires the method to return null for unsupported key formats (others not specifically called for by the "MUST" requirement).

Breaking the feature up seems like a good compromise between adherence to the specification text and reflecting the real-world practicalities.

To help name these subfeatures, I referred to the specification text and the IANA algorithm name and description tables.

Related issues

@ddbeck ddbeck added the meeting agenda Issues or pull requests in need of discussion in a project meeting. label May 8, 2026
@github-actions github-actions Bot added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:l [PR only] 101-1000 LoC changed labels May 8, 2026
@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

Comment thread api/AuthenticatorAttestationResponse.json Outdated
@ddbeck ddbeck force-pushed the getpublickey-algos branch from 587620a to 59939e6 Compare May 12, 2026 10:42
Comment thread api/AuthenticatorAttestationResponse.json Outdated
@caugner caugner merged commit e28deda into mdn:main May 15, 2026
9 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in BCD meeting agenda May 15, 2026
@mdn-bot mdn-bot mentioned this pull request May 15, 2026
@ddbeck ddbeck deleted the getpublickey-algos branch May 18, 2026 13:12
@ddbeck ddbeck removed the meeting agenda Issues or pull requests in need of discussion in a project meeting. label May 18, 2026
ddbeck added a commit to web-platform-dx/web-features that referenced this pull request May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:l [PR only] 101-1000 LoC changed

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants