327 Commits

Author SHA1 Message Date
Christopher Goes
c7a842a4e2 Update Gopkg.lock 2018-06-20 23:31:57 +02:00
Liamsi
7ebc7c08e7 delete keys package
- also delete ledger code and deps (thx cwgoes)

Signed-off-by: Liamsi <Liamsi@users.noreply.github.com>
2018-06-20 14:30:57 -07:00
Liamsi
a589e0eabd delete keys package
- it will be moved to cosmos-sdk
2018-06-20 14:09:24 -07:00
Ismail Khoffi
4634063698
keys package: fundraiser compatibility and HD keys (BIP 39 & BIP 32 / BIP 44) (#118)
- fundraiser compatibility for HD keys (BIP 39 & BIP 32 / BIP 44)
2018-06-20 13:30:22 -07:00
Dev Ojha
fed8807a32 Switch xchachapoly to hkdfchachapoly (#135)
* Switch from xchachapoly to hkdfchachapoly
2018-06-19 22:18:36 -07:00
Ismail Khoffi
1a2f468695
fix circleci 2.0 config (#139) 2018-06-15 15:17:40 -07:00
Ismail Khoffi
41369d7529
circleci 2.0 (#134)
* circleci 2.0
2018-06-14 00:04:30 -07:00
Christopher Goes
8e273220a3 Remove error from priv.PubKey() (#131)
* Remove error from priv.PubKey()

* Update changelog
2018-06-12 13:35:22 -07:00
Ismail Khoffi
42c6a64e04
version bump (#128)
version bump
2018-06-11 17:27:32 -07:00
Alexander Simmerl
260d69f372
Merge pull request #110 from tendermint/bucky/sig-name
SignatureKey -> Signature
2018-06-12 01:57:26 +02:00
Liamsi
e552d344e3 forgot PrivKeyLedgerSecp256k1 2018-06-11 16:51:38 -07:00
Liamsi
c4484c4a1b Merge remote-tracking branch 'remotes/origin/develop' into bucky/sig-name
# Conflicts:
#	Gopkg.lock
#	keys/keybase_test.go
#	signature_test.go
2018-06-11 16:46:08 -07:00
Liamsi
f4663e5bb7 fix tests, bump amino version, move encoding to encode_test.go,
include an example, do not err check on info ... bur for empty info
instead
2018-06-11 16:37:14 -07:00
Liamsi
45a1c8aef3 fix tests, move encoding to encode_test.go, include an example 2018-06-11 16:23:34 -07:00
Ethan Buchman
e694c309ba update ed25519 address scheme (#112)
make PubKeyEd25519.Address() returns the first 20 bytes of the hash of the raw 32-byte pubkey, no amino required
2018-06-11 15:43:32 -07:00
Joon
66794a174a Move from tmlibs #213 (#115)
* move from tmlibs 213
* expose KVPair, simpleproofsfrommap returns keys
2018-06-10 20:43:40 -07:00
Christopher Goes
c21f67c5af Unify local and external keys in keybase interface (#117)
* Return errors on priv.Sign(), priv.PubKey()

* Add CreateLedger, CreateOffline

* Add switch on .Sign() for Ledger wallets

* Add offline signing switch on .Sign()

* Use MustUnmarshalBinaryBare()

* Add confirmation to delete offline/Ledger keys

* Lowercase error message

* Add human-readable .GetType() function to Info interface

* Rename CryptoAlgo => SignAlgo

* assert.Nil(t, err) => assert.NoError(t, err)
2018-06-10 01:01:41 -07:00
Ethan Buchman
f6c960c3d3 Merge branch 'develop' of https://github.com/tendermint/go-crypto into develop 2018-06-08 17:29:20 -07:00
Ethan Buchman
854eb323dd dev version bump 2018-06-08 17:28:50 -07:00
Ethan Buchman
710efe576a
Merge pull request #113 from tendermint/release/v0.7.0
Release/v0.7.0
2018-06-08 17:17:35 -07:00
Christopher Goes
2bbad9d496
Merge pull request #85 from tendermint/cwgoes/ledger-integration
Ledger integration
2018-05-31 21:45:00 +02:00
Christopher Goes
80e9752250 Move TODOs to #114 2018-05-31 21:30:20 +02:00
Christopher Goes
63aac65590 Remove Ledger ed25519 support, for now 2018-05-31 21:21:50 +02:00
Ethan Buchman
e1ce3ffe0f changelog and version 2018-05-30 20:48:52 -04:00
Ethan Buchman
eadc7b137b Merge branch 'master' into develop 2018-05-30 18:58:39 -04:00
Ethan Buchman
9706935233 fix link in readme 2018-05-30 18:57:53 -04:00
Ethan Buchman
21b821d661 SignatureKey -> Signature 2018-05-30 18:41:08 -04:00
Ethan Buchman
434759e17b
Merge pull request #94 from Liamsi/const_time
Use constant-time comparator to compare signatures
2018-05-30 18:27:05 -04:00
Ethan Buchman
20fdec6c0e fix comment 2018-05-30 18:34:11 -04:00
Ethan Buchman
aa3212180f
Merge pull request #80 from alessio/keymanager
Add import/export of public keys #79
2018-05-30 18:24:53 -04:00
Ethan Buchman
f9d094dc1a
Merge pull request #97 from Liamsi/prng_seed
safer PRNG seeding
2018-05-30 18:17:58 -04:00
Ethan Buchman
251041ce09
Merge pull request #105 from tendermint/bucky/merkle
Bring in merkle and tmhash from tmlibs
2018-05-30 18:08:25 -04:00
Ethan Buchman
52bd867fd9 merkle: use amino for byteslice encoding 2018-05-30 17:50:17 -04:00
Liamsi
862d3c342a commit doc.go 2018-05-30 17:44:20 -04:00
Ethan Buchman
9f04935caa merkle: remove unused funcs. unexport simplemap. improv docs 2018-05-30 17:44:02 -04:00
Christopher Goes
bb81e4aa5f Pin to an upstream revision 2018-05-30 22:16:30 +02:00
Christopher Goes
c689f38cb5 Implement PubKeyLedgerEd25519 2018-05-30 22:07:20 +02:00
Christopher Goes
ee411daa17 Add ed25519, tests will fail until ed25519 verification fix 2018-05-30 03:42:57 +02:00
Christopher Goes
3186dc4cef Clarify function names 2018-05-30 03:29:42 +02:00
Christopher Goes
e534559bdc Update upstream Ledger code 2018-05-30 01:39:50 +02:00
vrde
707d27c11e Fix dead link in README.md (#106)
* Fix dead link in README.md
2018-05-24 16:57:37 +02:00
Ethan Buchman
f0b1f6e8ac
Merge pull request #98 from zmanian/xChaChaPoly1035
Implementation of xchacha20poly1035 aead
2018-05-23 18:42:17 -04:00
Zaki Manian
05a5294e52 Remove panic and check the round trip 2018-05-24 00:12:54 +02:00
Zaki Manian
384f1e399a Fixed the directory name and added a test vector 2018-05-23 23:54:26 +02:00
Ethan Buchman
c2636c3c6b tmhash: add Sum function 2018-05-22 13:04:42 -04:00
Ethan Buchman
4663ffdf08 add tmhash 2018-05-22 12:49:44 -04:00
Ethan Buchman
134fdf7169 bring in merkle from tmlibs 2018-05-22 12:43:44 -04:00
Zaki Manian
f9b0820752
Merge branch 'develop' into xChaChaPoly1035 2018-05-22 05:47:05 -07:00
Zaki Manian
8423f6ef5a Add the libsodium test vector 2018-05-21 20:45:36 -07:00
Ethan Buchman
3399ca9369
Merge pull request #101 from Liamsi/go-bindata
Get rid of go-bindata in Makefile
2018-05-20 21:52:21 -04:00