80 Commits

Author SHA1 Message Date
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
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
Liamsi
9136140719 get rid of go-bindata dependency in Makefile; hardcode its output instead 2018-05-15 12:07:05 +01:00
Alessio Treglia
105847b7dd
Fix comments 2018-04-05 08:13:13 +01:00
Alessio Treglia
9c02c8ce93
Add import/export of public keys #79 2018-04-04 23:29:00 +01:00
Jae Kwon
0d4436dea7 Use MarshalBinaryBare; Fix encode_test; Bump version 2018-03-26 10:41:04 +02:00
Anton Kaliaev
f499ce8713
update go-amino 2018-03-12 12:29:25 +04:00
Jae Kwon
788cc0a792 Use new go-wire; PubKey etc are interfaces; Keybase refactor 2018-01-14 01:09:30 -08:00
Ethan Buchman
156416fe27 fix wordlist paths 2018-01-02 16:39:43 -05:00
Ethan Buchman
793d7717dc no metalinter for now 2018-01-02 16:34:25 -05:00
Ethan Buchman
d058d0098f keys/bcrypt 2017-12-30 17:30:18 -05:00
Ethan Buchman
bd30cb4de9 keys/keybase.go: comments and fixes 2017-12-30 17:30:18 -05:00
Ethan Buchman
f3f49c2362 keys/words 2017-12-30 17:30:18 -05:00
Ethan Buchman
7c77f6b2da move hd into keys/hd 2017-12-30 17:29:51 -05:00
Jae Kwon
f48baf86fb Add Address type which is HexBytes 2017-12-27 14:37:37 -08:00
Jae Kwon
9472476a8b Update Makefile 2017-12-26 00:28:07 -08:00
Ethan Frey
086e1f6508 Make vetshadow and zach happy 2017-11-15 13:57:17 +01:00
Ethan Frey
2649c056cd Minor cleanup 2017-11-13 14:54:14 +01:00
Ethan Frey
9d78be41b5 Update tmlibs to sdk-develop, fix broken test 2017-11-13 14:41:00 +01:00
Ethan Frey
2d4544d6ce Tests compile 2017-11-13 14:36:43 +01:00
Ethan Frey
4173d1031e go build compiles 2017-11-13 14:36:43 +01:00
Ethan Frey
9ef978c5ec Fix errors except for es missing 2017-11-13 14:36:43 +01:00
Ethan Frey
946c9c573e Handle generating keys 2017-11-13 14:36:43 +01:00
Ethan Frey
ac841a6124 Fixed imports 2017-11-13 14:36:43 +01:00
Jae Kwon
a2583e2783 Draft of suggested changes 2017-11-13 14:36:43 +01:00
Ethan Buchman
377d3c7e11 fix from revert 2017-10-27 22:04:22 -04:00
Ethan Buchman
6405618220 Revert "Upgrade keys to use bcrypt with salts (#38)"
This reverts commit 8e7f0e7701f92206679ad093d013b9b162427631.
2017-10-27 22:02:44 -04:00
Ethan Buchman
87badb090f Revert "Parameterize and lower bcrypt cost"
This reverts commit dfc4cdd2d71513e4a9922d679c74f36357c4c862.
2017-10-27 21:58:02 -04:00
Ethan Buchman
57346134a5 keys: transactions.go -> types.go 2017-10-26 16:43:32 -04:00
Ethan Frey
dfc4cdd2d7 Parameterize and lower bcrypt cost 2017-10-24 12:19:45 +02:00
Ethan Frey
0219ba2a63 Fix bug introduced by metalinting... 2017-10-24 12:14:20 +02:00
Ethan Frey
69a7b389b8 Removed keys/server as it is now in cosmos-sdk 2017-10-24 11:59:44 +02:00
Ethan Frey
6f6bbf718e Fix metalinter complaints 2017-10-24 11:56:37 +02:00
Ethan Frey
4a2c63f5e1 Update ledger names to specify ed25519 2017-10-24 11:38:06 +02:00
Ethan Frey
9601e48ab4 Improve error message 2017-10-24 11:38:06 +02:00
Ethan Frey
1b8d52bb82 Rename NameLedger to NameLedgerEd25519 2017-10-24 11:38:06 +02:00
Ethan Frey
ae078ee915 Generate/recover can return error, not panic on ledger 2017-10-24 11:38:06 +02:00
Ethan Frey
085d72d212 Cleanup nano calls, cannot run parallel test on one hardware device 2017-10-24 11:38:06 +02:00
Ethan Frey
91fccb8b14 Add test for cryptostore working with ledger 2017-10-24 11:38:06 +02:00
Ethan Frey
88475230c4 Re-enabled crypostore example usage 2017-10-24 11:38:06 +02:00
Ethan Frey
34b9309f24 Re-enable signing tests with cryptostore 2017-10-24 11:38:06 +02:00
Ethan Frey
8c98c4fdf4 Add nano ledger to key manager 2017-10-24 11:38:06 +02:00
Zach Ramsay
47d3fa4741 linting: a few fixes 2017-10-23 08:30:18 -04:00
Ethan Buchman
8e031b367f Merge branch 'develop' into metalinter 2017-10-22 19:53:39 -04:00
Adrian Brink
8e7f0e7701 Upgrade keys to use bcrypt with salts (#38)
This commit adds salts to the library using bcrypt.
2017-10-12 14:26:59 +02:00
Ethan Buchman
1775be1cd9 remove some assertXxx funcs 2017-10-05 22:19:48 -04:00
Zach Ramsay
87cb57c3e5 linting: fixup some stuffs 2017-10-04 18:16:48 -04:00
Zach Ramsay
7921fb0c05 linter: last fixes & add to circle 2017-10-04 17:53:56 -04:00
Zach Ramsay
fe66a683bc linter: add metalinter to Makefile & apply some fixes 2017-10-04 17:53:56 -04:00