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: panva/jose
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.5.0
Choose a base ref
...
head repository: panva/jose
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.5.1
Choose a head ref
  • 19 commits
  • 104 files changed
  • 2 contributors

Commits on Dec 17, 2020

  1. chore: update dev deps

    panva committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    0abc02f View commit details
    Browse the repository at this point in the history
  2. lint: lint with upgraded deps

    panva committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    6abd2ef View commit details
    Browse the repository at this point in the history
  3. docs: re-run generate

    panva committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    5a51a0e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ad28088 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    626d91f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2d58cbc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5745a6a View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2020

  1. docs: update docs

    panva committed Dec 21, 2020
    Configuration menu
    Copy the full SHA
    1bad86b View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2020

  1. Configuration menu
    Copy the full SHA
    c886f77 View commit details
    Browse the repository at this point in the history
  2. ci: pause ff84 in ci

    panva committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    b024f96 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2020

  1. docs: update readme.md

    panva committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    3dcee91 View commit details
    Browse the repository at this point in the history
  2. docs: update unsecured jwt docs

    panva committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    71d35a7 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2020

  1. Configuration menu
    Copy the full SHA
    6a6923b View commit details
    Browse the repository at this point in the history
  2. ci: reenable ff latest

    panva committed Dec 30, 2020
    Configuration menu
    Copy the full SHA
    2ec9ba5 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2021

  1. Configuration menu
    Copy the full SHA
    f362f6f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ebe375 View commit details
    Browse the repository at this point in the history
  3. build: update dev deps

    panva committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    a6fcd41 View commit details
    Browse the repository at this point in the history
  4. fix: workaround for RangeError in browser runtime base64url

    Fixes RangeError in base64url.ts when encrypting large Uint8Arrays
    
    String.fromCharCode.apply causes a RangeError for large Uint8Arrays
    (> ~500kB). This happens, e.g., when encrypting larger files.
    
    See this gist to reproduce the bug (select a large file and see the
    browser console):
    https://gist.github.com/codedust/88c8af3b2acd782e72ffbe0c3c8bf5af
    
    Error message in Firefox:
    ```
    Uncaught (in promise) RangeError: too many arguments provided for a
    function call (in base64url.js:8:62)
        encode https://localhost:8000/jose/runtime/base64url.js:8
        encrypt https://localhost:8000/jose/jwe/flattened/encrypt.js:143
    ```
    
    Error message in Chromium:
    ```
    Uncaught (in promise) RangeError: Maximum call stack size exceeded
        at encode (base64url.js:8)
        at FlattenedEncrypt.encrypt (encrypt.js:143)
        at async CompactEncrypt.encrypt (encrypt.js:23)
        at async jwe_test ((index):55)
    ```
    
    Solution: Apply String.fromCharCode.apply in chunks of 32768 bytes,
    see https://stackoverflow.com/a/12713326
    codedust authored and panva committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    ed32b0d View commit details
    Browse the repository at this point in the history
  5. chore(release): 3.5.1

    panva committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    0294114 View commit details
    Browse the repository at this point in the history
Loading