Ethan Frey
c496dea2e5
Merge pull request #42 from tendermint/feature/bcrypt-usability
Bcrypt usability
7 years ago
Emmanuel Odeke
3df2ca128d
make PrivateKey + Signature comparisons use constant time comparisons
Fixes https://github.com/tendermint/go-crypto/issues/43
Avoid susceptibility to timing/side channel attacks by ensuring
that private key and signature comparisons use
`subtle.ConstantTimeCompare`
instead of
`bytes.Equal`
7 years ago
Ethan Frey
dfc4cdd2d7
Parameterize and lower bcrypt cost
7 years ago
Ethan Frey
0a5b1d979a
Merge pull request #37 from tendermint/nano
Nano Support
7 years ago
Ethan Frey
0219ba2a63
Fix bug introduced by metalinting...
7 years ago
Ethan Frey
69a7b389b8
Removed keys/server as it is now in cosmos-sdk
7 years ago
Ethan Frey
6f6bbf718e
Fix metalinter complaints
7 years ago
Ethan Frey
2d04544088
Addressed Buckys PR review comments
7 years ago
Ethan Frey
4a2c63f5e1
Update ledger names to specify ed25519
7 years ago
Ethan Frey
9601e48ab4
Improve error message
7 years ago
Ethan Frey
61d1bdb5ed
Test error handling, load without ledger
7 years ago
Ethan Frey
9afceb7ee8
ledger pubkey serializes properly, better load checks
7 years ago
Ethan Frey
2490952515
nano validates key on load
7 years ago
Ethan Frey
bce88a20df
Enable privkey validity checking on load
7 years ago
Ethan Frey
1b8d52bb82
Rename NameLedger to NameLedgerEd25519
7 years ago
Ethan Frey
ae078ee915
Generate/recover can return error, not panic on ledger
7 years ago
Ethan Frey
085d72d212
Cleanup nano calls, cannot run parallel test on one hardware device
7 years ago
Ethan Frey
91fccb8b14
Add test for cryptostore working with ledger
7 years ago
Ethan Frey
88475230c4
Re-enabled crypostore example usage
7 years ago
Ethan Frey
34b9309f24
Re-enable signing tests with cryptostore
7 years ago
Ethan Frey
8c98c4fdf4
Add nano ledger to key manager
7 years ago
Ethan Frey
0383feab49
Add and test serialization of ledger privkey
7 years ago
Ethan Frey
3edeb0cd45
Ledger caches pubkey, works with newer firmware
7 years ago
Ethan Frey
081f21af11
Add glide version for ledger drivers
7 years ago
Ethan Frey
008dba3af8
Test ledger calls
7 years ago
Ethan Frey
623bd803c2
write code to actually call ledger app
7 years ago
Ethan Frey
265e261c63
Add more test cases from running the ledger
7 years ago
Ethan Frey
7c5a10a7d4
Add tests for pub/priv key validation
7 years ago
Ethan Frey
06d74b24dd
Wrote PrivKey/PubKey for ledger
7 years ago
Ethan Frey
74878ee313
Update code to work with current nano implementation
7 years ago
Ethan Frey
8220d59178
Work on using returned bytes as crypto keys
7 years ago
Ethan Frey
0781c12ede
Message encoding for nano
7 years ago
Ethan Buchman
a6e6b58c6b
Merge pull request #41 from tendermint/metalinter
add metalinter to Makefile & apply some fixes
7 years ago
Zach Ramsay
47d3fa4741
linting: a few fixes
7 years ago
Ethan Buchman
8e031b367f
Merge branch 'develop' into metalinter
7 years ago
Adrian Brink
8e7f0e7701
Upgrade keys to use bcrypt with salts ( #38 )
This commit adds salts to the library using bcrypt.
7 years ago
Zach Ramsay
32dec98c1c
example: fix func suffix
7 years ago
Ethan Buchman
1775be1cd9
remove some assertXxx funcs
7 years ago
Zach Ramsay
796024f42f
linting: little more fixes
7 years ago
Zach Ramsay
87cb57c3e5
linting: fixup some stuffs
7 years ago
Zach Ramsay
7921fb0c05
linter: last fixes & add to circle
7 years ago
Zach Ramsay
fe66a683bc
linter: add metalinter to Makefile & apply some fixes
7 years ago
Emmanuel Odeke
0418d32276
Merge branch 'doc-file-started' into develop
7 years ago
Ethan Buchman
311e8c1bf0
Merge pull request #30 from tendermint/develop
Develop
7 years ago
Ethan Buchman
e6ea9499ff
glide and changelog
7 years ago
Emmanuel Odeke
f6a2509764
doc.go file started
Fixes #35
Updates https://github.com/tendermint/coding/issues/27
Started a doc.go file to provide an overview/high level
dive into the functionality of this repo.
Also added an example_test.go file in which we can
put end-to-end code examples/actual usage patterns
that can be copied and pasted and will always have to
compile when tests are run to ensure that we don't regress.
7 years ago
Ethan Frey
50e7c07817
Use longer checksum again
7 years ago
Ethan Buchman
c8b6d29161
version bump and changelog
7 years ago
Ethan Buchman
09447fc059
Merge pull request #34 from tendermint/feature/remove-cli
Removed all cli as it goes into cosmos-sdk
7 years ago
Ethan Frey
21f6b346a3
Removed all cli as it goes into cosmos-sdk
7 years ago