cosmos-sdk/crypto
Alessio Treglia 9bd603ae88
crypto: cleanup, more testing
crypto.LedgerShowAddress() is a ledger specific function
and should takes acc address prefix instead of depending
on a sdk.Config singleton.

crypto/keys/mintkey:
- decryptPrivKey() return error instead of os.Exit()ing.
- encryptPrivKey() should panic instead of os.Exit() when
  bcrypt.GenerateFromPassword() call fails so that the
  caller is given a chance to recover().

crypto/keys:
- SignWithLedger() does not need to be method of
  baseKeybase. Method receiver is unused.
- ledgerInfo objecta may be pointers, type switch
  should handle both to avoid panics.
- keyringKeybase should not provide Update() at all.

More test cases are added to increase package crypto
and subpackages overall coverage.
2020-03-02 11:09:52 +00:00
..
keys crypto: cleanup, more testing 2020-03-02 11:09:52 +00:00
amino.go Merge PR #4083: Replace gaiad --assert-invariants-blockly with --inv-check-period 2019-04-10 19:33:50 -04:00
encode_test.go Merge PR #5527: Bump Tendermint Version to v0.33.0 2020-01-16 13:46:51 -08:00
ledger_mock.go Merge PR #4716: Fix ledger custom coin type support bug 2019-07-29 11:01:53 -07:00
ledger_notavail.go Merge PR #3517: Increasing test coverage in keys/client package 2019-02-08 12:45:23 -08:00
ledger_real.go Merge PR #3811: Migrate repo to organization 2019-03-06 12:37:27 +01:00
ledger_secp256k1.go crypto: cleanup, more testing 2020-03-02 11:09:52 +00:00
ledger_test.go crypto: cleanup, more testing 2020-03-02 11:09:52 +00:00