- extracted bitcoinjs-lib
ecdsa. Fixes a number of issues of security issues.
- dropped alternative curve support, only
secp256k1for now; if we find we need others in the future we can just grab them from Git history - upgraded from
"ecurve": "^0.6.0"to"ecurve": "^1.0.0"
- bugfix: verify() should treat
hashas a Buffer and as not a byte array, see #14
- bugfix:
deterministicGenerateK()now works with BigInteger instances of otherbigiinstallations
- mistakenly left
secure-randomas a production dependency, moved it to development dep
- added Travis CI support
- added Coveralls support
- upgraded
~ecurve@0.3.2to^ecurve@0.6.0 - removed
ecurve-namesfrom dev deps - upgraded
~bigi@0.2.0to^bigi@1.1.0 - removed
sha256from dev deps - changed the way the module should be used, old way was very cumbersome
New Way:
var ecdsa = require('ecdsa') //defaults to secp256k1 curveif you want another curve:
var ecdsa = require('ecdsa')('secp256r1')- added
deterministicGenerateK(), RFC 6979. See: #4. - added
recoverPubKey()from BitcoinJS / Daniel Cousens - added
serializeSigCompact()from BitcoinJS / Daniel Cousens - changed method signature of
sign(hash, privateKeyBigInteger)to sign(hash, privateKeyBuffer)` sign()method now uses lowsvalue: See: #10- renamed
calcPubkeyRecoveryParam()tocalcPubKeyRecoveryParam(), changed signature - added Testling support
- bugfix:
parseSigCompact()referencing invalidecparams#6 - bugfix:
verify()works with compressed keys #9 - add browser tests
-
removed bower / component stuff. Still works with browser, just use
browserify. Closes #3 -
moved from 4 spaces to 2 spaces (Node style)
-
made class based so that multiple instantiations can be made with different curves, i.e. not just tied to
secp256k1. Closes #2 BREAKING CHANGE. SetECDSA.ecparamsbefore usingECDSA. -
made class level methods so that existing code should work with very little modification
-
removed dependency upon
ecurve-names -
update deps:
secure-randomandecurve. (will eventually removed secure-random)
- upgraded deps (for
bigi)
- moved
recoverPubKey()to packageeckey - added test for
verify()andsign()
- changed package name
- removed AMD support
- initial release