Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openpgpjs/openpgpjs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.2.0
Choose a base ref
...
head repository: openpgpjs/openpgpjs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.2.1
Choose a head ref
  • 18 commits
  • 82 files changed
  • 4 contributors

Commits on Jul 25, 2025

  1. README: add section about how to update to the latest version and dep…

    …recation policy (#1876) [skip ci]
    
    Co-authored-by: Daniel Huigens <[email protected]>
    larabr and twiss authored Jul 25, 2025
    Configuration menu
    Copy the full SHA
    4054ff0 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2025

  1. Key validation: use WebCrypto API when available for curve25519

    For Ed25519/Ed25519Legacy native validation code does a sign-verify check over random data.
    This is faster than re-deriving the public point using tweetnacl.
    If the native implementation is not available, we fall back to re-deriving
    the public point only.
    
    For X25519/Curve25519Legacy, both the native and fallback flows do an ecdh exchange;
    in the fallback case, this results in slower performance compared to the existing check,
    but encryption subkeys are hardly ever validated directly (only in case of gnu-dummy keys),
    and this solution keeps the code simpler.
    
    Separately, all validation tests have been updated to use valid params from a different
    key, rather than corrupted parameters.
    larabr committed Jul 28, 2025
    Configuration menu
    Copy the full SHA
    721b918 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2025

  1. Lightweight build: lazy load tweetnacl dependency module (curve25519 …

    …JS fallback)
    
    Since all major browsers have shipped support for the curve
    in WebCrypto, we only load the JS fallback if needed.
    
    Also, add native/non-native ECDH test for Curve25519Legacy.
    (The more modern X25519/X448 algo implementations cannot be
    tested that way since they include an HKDF step for which
    we assume native support and do not implement a fallback.)
    larabr committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    ed5554e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1877

    larabr authored Jul 31, 2025
    Configuration menu
    Copy the full SHA
    659e3db View commit details
    Browse the repository at this point in the history
  3. Build(deps-dev): bump @noble/curves from 1.9.2 to 1.9.5

    Bumps the noble group with 1 update: [@noble/curves](https://github.com/paulmillr/noble-curves).
    
    Updates `@noble/curves` from 1.9.2 to 1.9.5
    - [Release notes](https://github.com/paulmillr/noble-curves/releases)
    - [Commits](paulmillr/noble-curves@1.9.2...1.9.5)
    
    ---
    updated-dependencies:
    - dependency-name: "@noble/curves"
      dependency-version: 1.9.5
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: noble
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored and larabr committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    29cdf97 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e05ca9e View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1875

    larabr authored Jul 31, 2025
    Configuration menu
    Copy the full SHA
    6b1da73 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0f58624 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    faeceec View commit details
    Browse the repository at this point in the history
  8. Tests: update ECDH negative test expectations to match WebKit Windows…

    … behavior
    
    AES-KW unwrapping failure does not throw an OperationError there,
    instead it returns an empty buffer, which then fails to be PKCS5 decoded.
    larabr committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    c1ea7ca View commit details
    Browse the repository at this point in the history
  9. Merge pull request #1873

    larabr authored Jul 31, 2025
    Configuration menu
    Copy the full SHA
    ddbd0d7 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2025

  1. Build(deps-dev): bump @noble/curves from 1.9.5 to 1.9.6 (#1880)

    Bumps the noble group with 1 update: [@noble/curves](https://github.com/paulmillr/noble-curves).
    
    
    Updates `@noble/curves` from 1.9.5 to 1.9.6
    - [Release notes](https://github.com/paulmillr/noble-curves/releases)
    - [Commits](paulmillr/noble-curves@1.9.5...1.9.6)
    
    ---
    updated-dependencies:
    - dependency-name: "@noble/curves"
      dependency-version: 1.9.6
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: noble
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 6, 2025
    Configuration menu
    Copy the full SHA
    449ba5b View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2025

  1. Tests: bump playwright from 1.54.1 to 1.55.0 (#1883)

    Bumps [playwright](https://github.com/microsoft/playwright) from 1.54.1 to 1.55.0.
    - [Release notes](https://github.com/microsoft/playwright/releases)
    - [Commits](microsoft/playwright@v1.54.1...v1.55.0)
    
    ---
    updated-dependencies:
    - dependency-name: playwright
      dependency-version: 1.55.0
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 21, 2025
    Configuration menu
    Copy the full SHA
    0a92baf View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2025

  1. Run npm update

    Including npm audit
    larabr committed Aug 25, 2025
    Configuration menu
    Copy the full SHA
    bcdb597 View commit details
    Browse the repository at this point in the history
  2. Tests: TS: temporarily lock @types/node version to v22

    v24 brings breaking changes that will be fixed in the next
    minor openpgpjs release
    larabr committed Aug 25, 2025
    Configuration menu
    Copy the full SHA
    5027bcd View commit details
    Browse the repository at this point in the history
  3. Tests: TS: add back missing type checking

    tsx does not run any type checking, hence a separate
    tsc step is needed .
    
    Also, fix resulting type issue caused by external lib types.
    larabr committed Aug 25, 2025
    Configuration menu
    Copy the full SHA
    c5f9ecf View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1886

    Bump dev dependencies to latest versions, and fix TS test setup
    larabr authored Aug 25, 2025
    Configuration menu
    Copy the full SHA
    2138b80 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2025

  1. 6.2.1

    larabr committed Aug 26, 2025
    Configuration menu
    Copy the full SHA
    30ce607 View commit details
    Browse the repository at this point in the history
Loading