bitpay / bitcore-lib

A pure and powerful JavaScript Bitcoin library
https://bitcore.io/
Other
611 stars 1.03k forks source link

ECDSA.prototype.toString() contains privkey, k value, and all sorts of other bad stuff #164

Open dabura667 opened 6 years ago

dabura667 commented 6 years ago

https://github.com/bitpay/bitcore-lib/blob/3579305b5ea5eed0896341dedfc5617aacc684f4/lib/crypto/ecdsa.js#L250-L268

This does not need to include private information. Why is this here?