Skip to content

Investigate JOSE library for Fastly Supported Crates and validate signing performance #70

Closed

Description

@jevansnyc

Verify JOSE support in Fastly compute and ensure target time for adding functionality inside TS is less than 5ms (milliseconds), though should be measured in micro-seconds. To clarify, time measured should be token creation + signing + writing out to key store.

Activity

  1. added theissue type on Oct 24, 2025
  2. ChristianPavilonis commented on Oct 24, 2025

    @ChristianPavilonis
    Collaborator

    I made a test service on fastly

    This creates a JWKS, and the /jws endpoint will generate some bytes as a payload, sign it (JWS) and add the signature to the header. It returns JSON with the payload and time measurement for the signing.

    Here's the repo

    What do you mean by "writing out to key store" are we saving signatures in fastly KV?
    Or do you want to just save the JWKS to fastly secrets? Which wouldn't be in the hot path.

    crates used:

    • jose-jws
    • jose-b64
    • jose-jwa
  3. Tushar-kalsi commented on Nov 2, 2025

    @Tushar-kalsi

    @ChristianPavilonis please make this repo public which you created for test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions