- extracted bitcoinjs-lib
ecdsa
. Fixes a number of issues of security issues.
- dropped alternative curve support, only
secp256k1
for 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
hash
as a Buffer and as not a byte array, see #14
- bugfix:
deterministicGenerateK()
now works with BigInteger instances of otherbigi
installations
- mistakenly left
secure-random
as a production dependency, moved it to development dep
- added Travis CI support
- added Coveralls support
- upgraded
~ecurve@0.3.2
to^ecurve@0.6.0
- removed
ecurve-names
from dev deps - upgraded
~bigi@0.2.0
to^bigi@1.1.0
- removed
sha256
from dev deps - changed the way the module should be used, old way was very cumbersome
New Way:
var ecdsa = require('ecdsa') //defaults to secp256k1 curve
if 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 lows
value: 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.ecparams
before usingECDSA
. -
made class level methods so that existing code should work with very little modification
-
removed dependency upon
ecurve-names
-
update deps:
secure-random
andecurve
. (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