github.com/project-88388/tendermint-v0.34.14-terra.2@v1.0.0/crypto/CHANGELOG.md (about) 1 # Changelog 2 3 ## 0.9.0 4 5 BREAKING CHANGES 6 7 - `priv.PubKey()` no longer returns an error. Any applicable errors (such as when fetching the public key from a hardware wallet) should be checked and returned when constructing the private key. 8 9 ## 0.8.0 10 11 **TBD** 12 13 ## 0.7.0 14 15 **May 30th, 2018** 16 17 BREAKING CHANGES 18 19 No breaking changes compared to 0.6.2, but making up for the version bump that 20 should have happened in 0.6.1. 21 22 We also bring in the `tmlibs/merkle` package with breaking changes: 23 24 - change the hash function from RIPEMD160 to tmhash (first 20-bytes of SHA256) 25 - remove unused funcs and unexport SimpleMap 26 27 FEATURES 28 29 - [xchacha20poly1305] New authenticated encryption module 30 - [merkle] Moved in from tmlibs 31 - [merkle/tmhash] New hash function: the first 20-bytes of SHA256 32 33 IMPROVEMENTS 34 35 - Remove some dead code 36 - Use constant-time compare for signatures 37 38 BUG FIXES 39 40 - Fix MixEntropy weakness 41 - Fix PrivKeyEd25519.Generate() 42 43 ## 0.6.2 (April 9, 2018) 44 45 IMPROVEMENTS 46 47 - Update for latest go-amino 48 49 ## 0.6.1 (March 26, 2018) 50 51 BREAKING CHANGES 52 53 - Encoding uses MarshalBinaryBare rather than MarshalBinary (which auto-length-prefixes) for pub/priv/sig. 54 55 ## 0.6.0 (March 2, 2018) 56 57 BREAKING CHANGES 58 59 - Update Amino names from "com.tendermint/..." to "tendermint/" 60 61 ## 0.5.0 (March 2, 2018) 62 63 BREAKING CHANGES 64 65 - nano: moved to `_nano` now while we're having build issues 66 - bcrypt: moved to `keys/bcrypt` 67 - hd: moved to `keys/hd`; `BTC` added to some function names; other function cleanup 68 - keys/cryptostore: moved to `keys`, renamed to `keybase`, and completely refactored 69 - keys: moved BIP39 related code to `keys/words` 70 71 FEATURE 72 73 - `Address` is a type alias for `cmn.HexBytes` 74 75 BUG FIX 76 77 - PrivKey comparisons done in constant time 78 79 ## 0.4.1 (October 27, 2017) 80 81 This release removes support for bcrypt as it was merged too soon without an upgrade plan 82 for existing keys. 83 84 REVERTS THE FOLLOWING COMMITS: 85 86 - Parameterize and lower bcrypt cost - dfc4cdd2d71513e4a9922d679c74f36357c4c862 87 - Upgrade keys to use bcrypt with salts (#38) - 8e7f0e7701f92206679ad093d013b9b162427631 88 89 ## 0.4.0 (October 27, 2017) 90 91 BREAKING CHANGES: 92 93 - `keys`: use bcrypt plus salt 94 95 FEATURES: 96 97 - add support for signing via Ledger Nano 98 99 IMPROVEMENTS: 100 101 - linting and comments 102 103 ## 0.3.0 (September 22, 2017) 104 105 BREAKING CHANGES: 106 107 - Remove `cmd` and `keys/tx` packages altogether: move it to the cosmos-sdk 108 - `cryptostore.Generator` takes a secret 109 - Remove `String()` from `Signature` interface 110 111 FEATURES: 112 113 - `keys`: add CRC16 error correcting code 114 115 IMPROVEMENTS: 116 117 - Allow no passwords on keys for development convenience 118 119 120 ## 0.2.1 (June 21, 2017) 121 122 - Improve keys command 123 - No password prompts in non-interactive mode (echo 'foobar' | keys new foo) 124 - Added support for seed phrases 125 - Seed phrase now returned on `keys new` 126 - Add `keys restore` to restore private key from key phrase 127 - Checksum to verify typos in the seed phrase (rather than just a useless key) 128 - Add `keys delete` to remove a key if needed 129 130 ## 0.2.0 (May 18, 2017) 131 132 BREAKING CHANGES: 133 134 - [hd] The following functions no longer take a `coin string` as argument: `ComputeAddress`, `AddrFromPubKeyBytes`, `ComputeAddressForPrivKey`, `ComputeWIF`, `WIFFromPrivKeyBytes` 135 - Changes to `PrivKey`, `PubKey`, and `Signature` (denoted `Xxx` below): 136 - interfaces are renamed `XxxInner`, and are not for use outside the package, though they must be exposed for sake of serialization. 137 - `Xxx` is now a struct that wraps the corresponding `XxxInner` interface 138 139 FEATURES: 140 141 - `github.com/tendermint/go-keys -> github.com/tendermint/go-crypto/keys` - command and lib for generating and managing encrypted keys 142 - [hd] New function `WIFFromPrivKeyBytes(privKeyBytes []byte, compress bool) string` 143 - Changes to `PrivKey`, `PubKey`, and `Signature` (denoted `Xxx` below): 144 - Expose a new method `Unwrap() XxxInner` on the `Xxx` struct which returns the corresponding `XxxInner` interface 145 - Expose a new method `Wrap() Xxx` on the `XxxInner` interface which returns the corresponding `Xxx` struct 146 147 IMPROVEMENTS: 148 149 - Update to use new `tmlibs` repository 150 151 ## 0.1.0 (April 14, 2017) 152 153 Initial release 154