-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ledger integration #931
Ledger integration #931
Conversation
Nano Support
Fixes tendermint/go-crypto#43 Avoid susceptibility to timing/side channel attacks by ensuring that private key and signature comparisons use `subtle.ConstantTimeCompare` instead of `bytes.Equal`
Bcrypt usability
Bugfix: ledger nano/hid compiles on osx/golang1.9
This reverts commit dfc4cdd.
This reverts commit 8e7f0e7.
Release v0.4.1
Fixes tendermint/go-crypto#48. This previously skewed up my fuzzing tests so ensure that on error we return the zero value PubKey.
…pty-pubKey PubKeyFromBytes: return zero value PubKey on error
…sdk into cwgoes/ledger-integration
2db4edf
to
03459a7
Compare
For reasons unknown the linter is linting a file in |
idk whats going on there either, --vendor is eliminating the rest of the output for the vendors directory |
e86a284
to
22414b3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
// Only need a passphrase for locally-stored keys | ||
if info.GetType() == "local" { | ||
passphrase, err = ctx.GetPassphraseFromStdin(name) | ||
if err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be done through an enum type, or something similar, and have associated method "getPassphrase from stdin". Doesn't block this PR.
@@ -32,10 +36,13 @@ If you select --seed/-s you can recover a key from the seed | |||
phrase, otherwise, a new key will be generated.`, | |||
RunE: runAddCmd, | |||
} | |||
cmd.Flags().StringP(flagType, "t", "ed25519", "Type of private key (ed25519|secp256k1|ledger)") | |||
cmd.Flags().StringP(flagType, "t", "secp256k1", "Type of private key (secp256k1|ed25519)") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default changing from ed25519 intentional?
c31df61
to
2150b33
Compare
Merges the keybase and Ledger code from go-crypto (which is no more) into the SDK Adds support for Ledger into gaiacli Cherry-picks updated error handling from #1158
* Update changelog * Cherrypick dex v5 go.sum (cosmos#894) * Bump sdk, tendermint version of liquidity module (cosmos#891) * bump sdk, tendermint version of liquidity module * exclude LegacyAmino cases of lint * Update gaia module version to v5 (cosmos#892) * Update changelog * Update gaia package to v5 * Update go.sum (cosmos#893) Co-authored-by: dongsam <dongsamb@gmail.com> * Update changelog (cosmos#895) (cosmos#896) (cherry picked from commit aa38385) * Merge pull request cosmos#907: add back the config command (cosmos#908) * fix: add back the config command and run linting * test: increase code coverage * chore: update changelog (cosmos#909) * chore: update changelog (cosmos#909) (cosmos#910) * cherry pick 5 0 2 (cosmos#913) * Update RELEASING.md (cosmos#911) * chore: add artifacts to the gitignore (cosmos#912) * chore: update changelog (cosmos#914) (cosmos#915) * Rc0/v5.0.3 (cosmos#929) * chore: version bump SDK (cosmos#924) * chore: update sdk release (cosmos#928) * chore: update sdk release * Update CHANGELOG.md Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> * Update CHANGELOG.md Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> * chore: update changelog Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com> Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> * Update CHANGELOG.md * Update CHANGELOG.md Co-authored-by: Shahan Khatchadourian <shahan.k.code@gmail.com> Co-authored-by: dongsam <dongsamb@gmail.com> Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com> Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
gaiacli
Closes #1117
Mostly blocked on finalization of #1119Merged!Wants tendermint/tendermint#1803, but doesn't need to block merge