JoshKaufman / ursa

URSA - RSA public/private key OpenSSL bindings for Node.js
Other
618 stars 135 forks source link

Got segment fault when using ursa.createPublicKeyFromComponents #101

Open xavieryao opened 9 years ago

xavieryao commented 9 years ago
    bigNum = bignum preloginResult.pubkey,16
    console.log bigNum.toString()
    key = ursa.createPublicKeyFromComponents bigNum.toBuffer(),65537

bigNum is 165138424261149263963666229661164814908887524950166142962960019363944425161240370251403452452001165143400173133423045791330687304650944332950460079059702342999940532642226896299225258939028313437520982527474148958262129523279095471616009516621824844891755906467794220597075349492626446841979774101805104112707