Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EcdsaSecp256k1RecoverySignature2020 for commit credentials #275

Merged
merged 5 commits into from
Nov 30, 2022

Commits on Nov 29, 2022

  1. Use EcdsaSecp256k1RecoverySignature2020 for verifiable credentials

    This is just the jvm implementation, cljs is a bit thornier.
    dpetran committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    2b750a3 View commit details
    Browse the repository at this point in the history
  2. Add cljs support for EcdsaSecp256k1RecoverySignature2020

    The jld-processor/canonize function has differing calling conventions for cljs and clj - in cljs
    it returns a promise, in clj it is synchronous. This wraps the calls in an core async go
    block and reads the promise with the handy <p! macro.
    
    As a note, our signature generation produces different signatures on cljs and clj, but
    they are mutually readable. The tests verify that. See this issue for the details:
    
    fluree/fluree.crypto#20
    
    Fixes #245
    dpetran committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    46bb255 View commit details
    Browse the repository at this point in the history
  3. Update json-ld dep, fix compile warnings

    Accidentally wrapped the ex-info info in the `str` call.
    dpetran committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    6731133 View commit details
    Browse the repository at this point in the history
  4. Configure nodejs test to use ESM

    https://jestjs.io/docs/ecmascript-modules
    
    It was failing without this.
    dpetran committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    be7aa70 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2022

  1. Update json-ld dep

    dpetran committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    0fd9268 View commit details
    Browse the repository at this point in the history