Commit Graph
38 Commits
Author SHA1 Message Date
Liamsi 96818af9d5 fix protos to make all tests pass, document differences 2018-07-18 19:06:38 +02:00
Liamsi a81ca93139 update to new (timestamp & empty structs) encoding in amino
- timestamps no longer have fixed length encoding
-
2018-07-18 16:37:15 +02:00
Liamsi 2744682e77 update to latest amino (pre) release v0.11.1
- also reformat code and order imports
2018-07-18 15:53:53 +02:00
Liamsi d665c79cc9 WIP: more empty struct examples 2018-07-18 15:18:10 +02:00
Liamsi 3c38a25bbb add empty struct examples 2018-07-18 15:17:51 +02:00
Liamsi 0cd82fa166 add empty struct examples 2018-07-18 15:14:41 +02:00
Liamsi 99fa7f8132 everything works with https://github.com/tendermint/go-amino/pull/178 2018-07-18 15:14:41 +02:00
Liamsi 82104c9329 almost 2018-07-18 15:14:41 +02:00
Liamsi 9803f18494 review comments:
gofmt
2018-06-21 12:21:33 -07:00
Liamsi a39b2522d5 review comments:
- re-add test
- add TODO
- err instead of panic where possible
2018-06-21 11:51:46 -07:00
Liamsi c96b27136f remove go-crypto from go-crypto:
use tendermint/crypto :-)
2018-06-20 21:05:38 -07:00
Liamsi 80ab7bfe99 fix p2p test in circleci 2018-06-20 20:59:33 -07:00
Liamsi f3d755f5e8 please the linter gods:
crypto/hkdfchacha20poly1305/hkdfchachapoly_test.go:36:25⚠️ should use make([]byte, 24) instead (S1019) (gosimple)
2018-06-20 20:29:12 -07:00
Liamsi 8329b86570 more changes from #1721 2018-06-20 20:25:08 -07:00
Liamsi 4fb40e5437 cherry pick @melekes changes 2018-06-20 20:04:43 -07:00
Liamsi 25397fb9f8 more changes from #1721 2018-06-20 18:30:14 -07:00
Liamsi 6677f81ffb revert change from #1721
makes TestListener never quit
2018-06-20 17:48:04 -07:00
Liamsi 5a70fa6f35 fix typos 2018-06-20 17:42:52 -07:00
Liamsi d2c05bc5b9 Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
2018-06-20 17:35:30 -07:00
Liamsi 587505d4d2 fix crypto tests 2018-06-20 17:34:28 -07:00
Liamsi eedd20f4d5 Revert "delete everything"
This reverts commit 96a3502126.

# Conflicts:
#	CHANGELOG.md
#	Gopkg.lock
#	Gopkg.toml
#	LICENSE
#	Makefile
#	README.md
2018-06-20 15:37:45 -07:00
Liamsi 368c236c75 mv go-crypto files to crypto dir 2018-06-20 15:30:44 -07:00
Liamsi 96a3502126 delete everything 2018-06-20 15:19:08 -07: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
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
Liamsi 7030d5c2a7 remove notes column
according to: https://github.com/tendermint/go-crypto/pull/110#issuecomment-394048086
2018-06-02 13:04:40 +01:00
Liamsi 978277a4c1 make slightly more readable 2018-05-31 20:40:01 +01:00
Liamsi 58eb76f34d simplify & update documentation, fiy typo 2018-05-31 20:13:41 +01:00
LiamsiandEthan Buchman 862d3c342a commit doc.go 2018-05-30 17:44:20 -04:00
Liamsi 3fe985e289 fix makefile 2018-05-15 12:23:33 +01:00
Liamsi 9136140719 get rid of go-bindata dependency in Makefile; hardcode its output instead 2018-05-15 12:07:05 +01:00
Liamsi aa2b6b546f Remove outdated non-building code in _nano 2018-05-15 11:39:48 +01:00
Liamsi 3477dd7a90 safer PRNG seeding: hash concatenation of fresh seedBytes with current seedBytes 2018-05-09 15:04:51 +01:00
Liamsi 94ce56d243 Use constant-time comparator (sublte.ConstantTimeCompare) to compare
signatures

prevents potential signature forgery

resolves #91
2018-05-09 11:48:46 +01:00