Skip to content

Browser-compatible version #1195

Description

@lsd-cat

Description
I need to use a minimal subset of Sigstore function, only for validation, inside a browser extension. While there are polyfills and stuff like browserify, I did not have much success with them, and I think that when doing delicate crypto I should not rely on automatic fillings.

I would like to work on achieving this, and could use some guidance and insights on the possible issues and, if there is interest, how to structure things in order to have them integrated here.

So far, I have started porting the core package, and these are my ideal steps on which I have experimented a bit:

  1. Swapping Buffer for the both node and browser native Uint8Array
  2. Porting the crypto to the Web Crypto API
  3. Build using vite
  4. Port the tests to something vite-compatible

I think that overall, having a verifying only minimal implementation should not be a very long job.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions