cosmos-sdk/client/keys
Marie 23578a9612
Remove old PubKeyMultisigThreshold (#7284)
* WIP on protobuf keys

* Use Type() and Bytes() in sr25519 pub key Equals

* Add tests

* Add few more tests

* Update other pub/priv key types Equals

* Fix PrivKey's Sign method

* Rename variables in tests

* Fix infinite recursive calls

* Use tm ed25519 keys

* Add Sign and VerifySignature tests

* Remove ed25519 and sr25519 references

* proto linting

* Add proto crypto file

* Implement some of the new multisig proto type methods

* Add tests for MultisigThresholdPubKey

* Add tests for pubkey pb/amino conversion functions

* Move crypto types.go and register new proto pubkeys

* Add missing pointer ref

* Address review comments

* panic in MultisigThresholdPubKey VerifySignature

* Use internal crypto.PubKey in multisig

* Add tests for MultisigThresholdPubKey VerifyMultisignature

* Only keep LegacyAminoMultisigThresholdPubKey and move to proto keys to v1

* Remove conversion functions and introduce internal PubKey type

* Start removal of old PubKeyMultisigThreshold references

* Remove old secp256k1 PubKey and PrivKey

* Uncomment test case

* Fix linting issues

* More linting

* Revert tests keys values

* Add Amino overrides to proto keys

* Add pubkey test

* Fix tests

* Use threshold isntead of K

* Standardize Type

* Revert standardize types commit

* Add comment

* Simplify proto names

* Fixed merge issues

* Uncomment tests

* Remove old multisig

* Add amino marshal for multisig

* Fix lint

* Correctly register amino

* One test left!

* Remove old struct

* Fix test

* Fix test

* Unpack into tmcrypto

* Remove old threshold pubkey tests

* Fix register amino

* Fix lint

* Use sdk crypto PubKey in multisig UnpackInterfaces

* Potential fix?

* Use anil's suggestion

Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-09-18 09:40:39 +00:00
..
testdata/keys/keys.db crypto/keyring: deprecate old keybase (#5889) 2020-03-30 20:30:50 +02:00
add.go Remove old PubKeyMultisigThreshold (#7284) 2020-09-18 09:40:39 +00:00
add_ledger_test.go custom testnet cmd signing algorithms (#7012) 2020-08-12 08:34:10 +00:00
add_test.go Add key recover test (#7183) 2020-08-28 17:29:32 +01:00
codec.go rename RegisterCodec to RegisterLegacyAminoCodec (#7243) 2020-09-07 14:47:12 +00:00
codec_test.go Enter the new keyring interface (#5904) 2020-04-08 11:38:28 +02:00
delete.go keys: CLI Remove Viper (#6613) 2020-07-06 19:50:09 +00:00
delete_test.go Add home default to other commands. (#6789) 2020-07-20 15:12:33 +00:00
export.go keys: CLI Remove Viper (#6613) 2020-07-06 19:50:09 +00:00
export_test.go Add home default to other commands. (#6789) 2020-07-20 15:12:33 +00:00
import.go keys: CLI Remove Viper (#6613) 2020-07-06 19:50:09 +00:00
import_test.go Add home default to other commands. (#6789) 2020-07-20 15:12:33 +00:00
list.go keys: CLI Remove Viper (#6613) 2020-07-06 19:50:09 +00:00
list_test.go Add home default to other commands. (#6789) 2020-07-20 15:12:33 +00:00
migrate.go keys: CLI Remove Viper (#6613) 2020-07-06 19:50:09 +00:00
migrate_test.go Add home default to other commands. (#6789) 2020-07-20 15:12:33 +00:00
mnemonic.go keys: CLI Remove Viper (#6613) 2020-07-06 19:50:09 +00:00
mnemonic_test.go testutil: add ApplyMockIODiscardOutErr, simplify existing functions (#6665) 2020-07-10 08:55:48 +02:00
parse.go keys: CLI Remove Viper (#6613) 2020-07-06 19:50:09 +00:00
parse_test.go build(deps): bump github.com/spf13/viper from 1.6.3 to 1.7.0 (#6183) 2020-05-11 10:22:36 +02:00
root.go Add home default to other commands. (#6789) 2020-07-20 15:12:33 +00:00
root_test.go Add home default to other commands. (#6789) 2020-07-20 15:12:33 +00:00
show.go Remove old PubKeyMultisigThreshold (#7284) 2020-09-18 09:40:39 +00:00
show_test.go Remove old PubKeyMultisigThreshold (#7284) 2020-09-18 09:40:39 +00:00
types.go crypto/keys: move keybase and keyring to crypto/keyring/ dir (#5866) 2020-03-25 15:20:36 +00:00
types_test.go Replace defer with testing.T.Cleanup() (#5732) 2020-03-02 00:16:23 +00:00
utils.go Minor Code Cleanup - gRPC queries (#6862) 2020-07-28 12:53:35 +00:00