cosmos-sdk/client/keys
Robert Zaremba 7568b6680a
Remove bech32 PubKey support (#7477)
* Move PubKey bech32 to legacy package and migrate the usage where possible

* update /server

* wip

* move proto json encoding helper functions to internal

* update internal/marshal

* wip

* update sections which needs legacybech32

* update validators output

* fix conflicts

* slashing update

* add more tests and helper function for ANY JSON serialization

* update slashing

* Update function documentation

* Rename code any-marshal helper functions

* Update pubkey unpacking test

* Update test comments

* solve TestDecodeStore

* solve legacytx issues

* all code compiles

* keyring tests

* keyring cleanup

* remove AssertMsg

* fix some tests

* fix add_ledger_test.go

* update cli tests

* debug cli test

* rename clashed bech32 names

* linter fixes

* update tmservice tests

* linter: update legacy deprecated checks

* fix names

* linting

* legacybech32 pubkey type rename

* fix staking client

* fix test compilation

* fix TestGetCmdQuerySigningInfo

* rename NewIfcJSONAnyMarshaler

* keyring: remove duplicated information from multinfo structure

* todo cleanups

* Update Changelog

* remove some legacybech32 from tests

* remove todos

* remove printlnJSON from /server CLI and amino encoding

* remove protocdc.MarshalJSON

* client/show remove duplicated function

* remove protocdc package

* comment update

* remove legacybech32.MustMarshalPubKey from a test

* add todo

* fix TestPublicKeyUnsafe test

* review update

* fix bech32 UnmarshalPubKey

* Use codec.MarshalIfcJSON

* fix linter issues

* merging conflict: fix codec.Unmarshal calls

* cleanups

* Update CHANGELOG.md

Co-authored-by: Aaron Craelius <aaron@regen.network>

* Reword changelog updates

* use pubkey.String for comparison in Test_runAddCmdLedgerWithCustomCoinType

* Update GetCmdQuerySigningInfo example

* cli: update keys add docs

* Add errors AsOf and errors.ErrIO type

* restore multisigPubKeyInfo structure bring it back to multiInfo struct

* Update codec/proto_codec.go

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* Update crypto/keys/ed25519/ed25519_test.go

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* Update codec/proto_codec.go

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* move pubkey any marshaling tests

* Apply suggestions from code review

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* review updates

* adding missing return

* errors: use IsOf instead of AsOf

* keyring: add a correct check for key not found in keyring.Get

* add checkKeyNotFound

* fix linter issues

* fix: keyring key not found check

* fix keyring tests

* fix linting issues

* cli tests

* fix: 'simd keys show <key> -p'

* fix: TestVerifyMultisignature

* rename keyring Bech32... functions to Mk...

* fix RunAddCmd

* Update pubkey display

* wip

* add more tests

* udate keyring output tests

* remove todo from ledger tests

* rename MkKeyOutput

* Changelog update

* solve liner issues

* add link to github issue

Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
2021-03-25 14:53:22 +00:00
..
testdata/keys/keys.db crypto/keyring: fix offline keys migration (#8639) 2021-03-01 12:41:49 +00:00
add_ledger_test.go Remove bech32 PubKey support (#7477) 2021-03-25 14:53:22 +00:00
add_test.go Merge PR #7485: keyring-dir flag 2020-10-08 13:41:35 -04:00
add.go Remove bech32 PubKey support (#7477) 2021-03-25 14:53:22 +00:00
codec_test.go Remove bech32 PubKey support (#7477) 2021-03-25 14:53:22 +00:00
codec.go Remove bech32 PubKey support (#7477) 2021-03-25 14:53:22 +00:00
delete_test.go Remove bech32 PubKey support (#7477) 2021-03-25 14:53:22 +00:00
delete.go Combine client.ReadTxCommandFlags with GetClientContextFromCmd (#8155) 2020-12-14 22:09:51 +00:00
export_test.go Deprecate SetFullFundraiserPath in favor of SetPurpose and SetCoinType (#8629) 2021-02-22 15:14:09 +00:00
export.go Combine client.ReadTxCommandFlags with GetClientContextFromCmd (#8155) 2020-12-14 22:09:51 +00:00
import_test.go Merge PR #7485: keyring-dir flag 2020-10-08 13:41:35 -04:00
import.go Combine client.ReadTxCommandFlags with GetClientContextFromCmd (#8155) 2020-12-14 22:09:51 +00:00
list_test.go Deprecate SetFullFundraiserPath in favor of SetPurpose and SetCoinType (#8629) 2021-02-22 15:14:09 +00:00
list.go Combine client.ReadTxCommandFlags with GetClientContextFromCmd (#8155) 2020-12-14 22:09:51 +00:00
migrate_test.go crypto/keyring: fix offline keys migration (#8639) 2021-03-01 12:41:49 +00:00
migrate.go Rename InfoImporter -> LegacyInfoImporter (#8739) 2021-03-01 20:09:01 +00:00
mnemonic_test.go testutil: add ApplyMockIODiscardOutErr, simplify existing functions (#6665) 2020-07-10 08:55:48 +02:00
mnemonic.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
parse.go Limit context background (#8093) 2021-02-03 09:47:25 +00:00
root_test.go Add home default to other commands. (#6789) 2020-07-20 15:12:33 +00:00
root.go Merge PR #7485: keyring-dir flag 2020-10-08 13:41:35 -04:00
show_test.go Remove bech32 PubKey support (#7477) 2021-03-25 14:53:22 +00:00
show.go Remove bech32 PubKey support (#7477) 2021-03-25 14:53:22 +00:00
types_test.go Replace defer with testing.T.Cleanup() (#5732) 2020-03-02 00:16:23 +00:00
types.go crypto/keys: move keybase and keyring to crypto/keyring/ dir (#5866) 2020-03-25 15:20:36 +00:00
utils.go Remove bech32 PubKey support (#7477) 2021-03-25 14:53:22 +00:00