Giter Site home page Giter Site logo

Comments (8)

calvinmetcalf avatar calvinmetcalf commented on June 12, 2024
  // Even though we are specifying "RSA" here, this works with ECDSA
    // keys as well.
    var signer = crypto.createSign('RSA-SHA' + bits);
    var sig = (signer.update(thing), signer.sign(privateKey, 'base64'));
    return base64url.fromBase64(sig);

this line in jwa would probably be the issue, apparently we are more strict then node is handlings it when RSA is specifically requested

from browserify-sign.

calvinmetcalf avatar calvinmetcalf commented on June 12, 2024

all right 'RSA-SHA224/RSA-SHA256/RSA-SHA384/RSA-SHA512' case sensitive does appear to work for node

from browserify-sign.

sasukepatel avatar sasukepatel commented on June 12, 2024

im getting same error when i am trying to browserify web-push module. is there any solution to this?

from browserify-sign.

calvinmetcalf avatar calvinmetcalf commented on June 12, 2024

I think I might have fixed this already?

from browserify-sign.

sasukepatel avatar sasukepatel commented on June 12, 2024

yes..it is working if i follow code from "elliptical-curve-rsa-sic" branch.

not sure if i can do that(new to GitHub). i couldn't find updated code in master branch.

Thanks.

from browserify-sign.

calvinmetcalf avatar calvinmetcalf commented on June 12, 2024

ok merged and published that pull, had forgotten about it

from browserify-sign.

JustinBeckwith avatar JustinBeckwith commented on June 12, 2024

👋 is this fixed and released? I'm running into the same problem.

from browserify-sign.

calvinmetcalf avatar calvinmetcalf commented on June 12, 2024

yes it should be, @JustinBeckwith you may need to debug a bit, my first guess is that you are using an older version or a different problem with the same error message

from browserify-sign.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.