-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
gaiacli
Closes #1117
Mostly blocked on finalization of #1119Merged!Wants tendermint/tendermint#1803, but doesn't need to block merge