Jae Kwon
9472476a8b
Update Makefile
7 years ago
Emmanuel Odeke
62115b55ef
CRandHex: fix up doc to mention length of digits
The previous doc seemed misleading and was out of date i.e.
RandHex(24)
not
CRandHex.
Anyways provide a doc of what the function does in relation to
the length of digits of the hex value returned i.e.
floor(numDigits / 2) * 2
so the even lowest number
e.g:
* len(CRandHex(5)) = 4
* len(CRandHex(4)) = 4
7 years ago
Ethan Buchman
43cc4fb645
Merge pull request #53 from tendermint/constant-time-equals
Constant time equals
7 years ago
Ethan Buchman
eaf4b8c795
fix Equals
7 years ago
Ethan Frey
468c4188c1
Merge pull request #51 from tendermint/keystore
Keybase
7 years ago
Ethan Frey
086e1f6508
Make vetshadow and zach happy
7 years ago
Ethan Frey
2649c056cd
Minor cleanup
7 years ago
Ethan Frey
9d78be41b5
Update tmlibs to sdk-develop, fix broken test
7 years ago
Ethan Frey
2d4544d6ce
Tests compile
7 years ago
Ethan Frey
4173d1031e
go build compiles
7 years ago
Ethan Frey
9ef978c5ec
Fix errors except for es missing
7 years ago
Ethan Frey
946c9c573e
Handle generating keys
7 years ago
Ethan Frey
ac841a6124
Fixed imports
7 years ago
Jae Kwon
a2583e2783
Draft of suggested changes
7 years ago
Ethan Buchman
b4f04f196c
Merge pull request #49 from tendermint/pubKey-invalid-data-returns-empty-pubKey
PubKeyFromBytes: return zero value PubKey on error
7 years ago
Emmanuel Odeke
b0cf4b4757
PubKeyFromBytes: return zero value PubKey on error
Fixes https://github.com/tendermint/go-crypto/issues/48 .
This previously skewed up my fuzzing tests so ensure
that on error we return the zero value PubKey.
7 years ago
Ethan Buchman
dd20358a26
Merge pull request #47 from tendermint/release-v0.4.1
Release v0.4.1
7 years ago
Ethan Buchman
d2b1a7096e
changelog
7 years ago
Ethan Buchman
377d3c7e11
fix from revert
7 years ago
Ethan Buchman
6405618220
Revert "Upgrade keys to use bcrypt with salts ( #38 )"
This reverts commit 8e7f0e7701
.
7 years ago
Ethan Buchman
87badb090f
Revert "Parameterize and lower bcrypt cost"
This reverts commit dfc4cdd2d7
.
7 years ago
Ethan Buchman
d1f00be7a0
Merge pull request #46 from tendermint/develop
Develop
7 years ago
Ethan Buchman
8630b724b2
version and changelog
7 years ago
Ethan Frey
ad31f6a953
osx + hid = <3
7 years ago
Ethan Buchman
944d36ab00
changelog
7 years ago
Ethan Buchman
57346134a5
keys: transactions.go -> types.go
7 years ago
Ethan Frey
db5603e374
Merge pull request #45 from tendermint/bugfix/nano-hid
Bugfix: ledger nano/hid compiles on osx/golang1.9
7 years ago
Ethan Frey
5d8890530a
Update glide deps, nano/hid for osx/golang1.9
7 years ago
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