This release removes support for bcrypt as it was merged too soon without an upgrade plan for existing keys.
REVERTS THE FOLLOWING COMMITS:
- Parameterize and lower bcrypt cost - dfc4cdd2d71513e4a9922d679c74f36357c4c862
- Upgrade keys to use bcrypt with salts (#38) - 8e7f0e7701f92206679ad093d013b9b162427631
BREAKING CHANGES:
keys
: use bcrypt plus salt
FEATURES:
- add support for signing via Ledger Nano
IMPROVEMENTS:
- linting and comments
BREAKING CHANGES:
- Remove
cmd
andkeys/tx
packages altogether: move it to the cosmos-sdk cryptostore.Generator
takes a secret- Remove
String()
fromSignature
interface
FEATURES:
keys
: add CRC16 error correcting code
IMPROVEMENTS:
- Allow no passwords on keys for development convenience
- Improve keys command
- No password prompts in non-interactive mode (echo 'foobar' | keys new foo)
- Added support for seed phrases
- Seed phrase now returned on
keys new
- Add
keys restore
to restore private key from key phrase - Checksum to verify typos in the seed phrase (rather than just a useless key)
- Seed phrase now returned on
- Add
keys delete
to remove a key if needed
BREAKING CHANGES:
- [hd] The following functions no longer take a
coin string
as argument:ComputeAddress
,AddrFromPubKeyBytes
,ComputeAddressForPrivKey
,ComputeWIF
,WIFFromPrivKeyBytes
- Changes to
PrivKey
,PubKey
, andSignature
(denotedXxx
below):- interfaces are renamed
XxxInner
, and are not for use outside the package, though they must be exposed for sake of serialization. Xxx
is now a struct that wraps the correspondingXxxInner
interface
- interfaces are renamed
FEATURES:
github.com/tendermint/go-keys -> github.com/tendermint/go-crypto/keys
- command and lib for generating and managing encrypted keys- [hd] New function
WIFFromPrivKeyBytes(privKeyBytes []byte, compress bool) string
- Changes to
PrivKey
,PubKey
, andSignature
(denotedXxx
below):- Expose a new method
Unwrap() XxxInner
on theXxx
struct which returns the correspondingXxxInner
interface - Expose a new method
Wrap() Xxx
on theXxxInner
interface which returns the correspondingXxx
struct
- Expose a new method
IMPROVEMENTS:
- Update to use new
tmlibs
repository
Initial release