storj-archived / core

Deprecated. Implementation of the Storj v2 protocol for Node.js.
https://storj.io
Other
396 stars 88 forks source link

bugfix invalid private key length #765

Closed littleskunk closed 6 years ago

littleskunk commented 6 years ago

Bugfix for private key with leading zeros

RangeError: private key length is invalid
    at KeyPair.sign (/storj/node_modules/storj-lib/lib/crypto-tools/keypair.js:87:25)