8000 Re-enable using WebCrypto for X25519 when available by larabr · Pull Request #1829 · openpgpjs/openpgpjs · GitHub
[go: up one dir, main page]

Skip to content

Conversation

larabr
Copy link
Collaborator
@larabr larabr commented Feb 24, 2025

Reverting commit ccb040a .
Firefox has fixed support in v132 (https://bugzilla.mozilla.org/show_bug.cgi?id=1918354).

Also, Chrome has released support in v133.

Reverting commit ccb040a .
Firefox has fixed support in v132 (https://bugzilla.mozilla.org/show_bug.cgi?id=1918354)
usage of v130 and 131, which have a broken implementation, is now below 1%.

Also, Chrome has released support in v133.
@larabr larabr force-pushed the x25519-native branch 2 times, most recently from 1f954e0 to fd2f162 Compare February 26, 2025 11:46
The tests work correctly in Epiphany, but not in the WebKit build,
where the native X25519 implementation throws non-standard errors on
importKey (DataError) and generateKey (OperationError).
Patching this would be simply a matter of catching such errors and falling back
to the JS implementation, but since only the CI WebKit build seems to be
affected, we prefer not to relax fallback checks in the context of crypto
operations without issues reported in the wild.
@larabr larabr merged commit 1848f51 into openpgpjs:main Mar 5, 2025
13 checks passed
larabr added a commit to ProtonMail/openpgpjs that referenced this pull request Jun 18, 2025
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.

2 participants

0