260 Commits

Author SHA1 Message Date
Jae Kwon
926741c0a1 remove coin param 2017-04-10 19:51:02 +02:00
Jae Kwon
a3324cc97b Cleanup; Implement .Wrap() 2017-04-10 19:51:02 +02:00
Ethan Frey
eb6fcef8d2 Better docs and naming thanks to bucky 2017-04-10 19:51:01 +02:00
Ethan Frey
5b94758d4c Make PubKey struct compatible with go-wire.JSONBytes/ReadJSON 2017-04-10 19:51:01 +02:00
Ethan Frey
66ecd7705f Use new naming scheme PubKey{PubKeyInner} 2017-04-10 19:51:01 +02:00
Ethan Frey
750b25c47a Update go-data, test embedding strategies 2017-04-10 19:41:30 +02:00
Ethan Frey
49569ac244 Wrap constructor to create xxxS structs and avoid recursion 2017-04-10 19:41:30 +02:00
Jae Kwon
e49fdf7be7 Add HD functions 2017-04-08 22:57:59 -07:00
Ethan Frey
ae55713864 Move tx from light-client and add tests 2017-03-29 20:41:11 +02:00
Ethan Frey
58e537a42d Refactor setting up the key manager from config 2017-03-28 19:05:33 +02:00
Ethan Frey
398ac046da Reorganize cobra cmd to enable better reuse 2017-03-23 21:23:05 +01:00
Ethan Buchman
6fddcdf245 hd test: check masters too 2017-03-22 20:13:16 -04:00
Ethan Buchman
c6be97c71c error testing the hd 2017-03-22 16:45:30 -04:00
Ethan Buchman
ce9c57fca8 hd test 2017-03-22 15:59:48 -04:00
Ethan Buchman
3a1313ab7d secp256k1: use compressed pubkey, bitcoin-style address 2017-03-22 01:18:56 -04:00
Ethan Frey
76ace96925 Create nested directories as needed to store keys 2017-03-20 09:55:07 +01:00
Ethan Frey
07ac3201c2 Merge pull request #4 from tendermint/glide
Added glide dependency handling
2017-03-20 09:41:51 +01:00
Ethan Buchman
3f47cfac5f Merge pull request #4 from tendermint/develop
go-data support
2017-03-03 00:17:33 -05:00
Paul W. Homer
af7e312088 Added glide dependency handling 2017-03-02 17:16:15 -05:00
Ethan Frey
0c92c8516f Rename proxy to server for clarity 2017-02-28 21:53:05 +01:00
Ethan Frey
6389d208cc Key server API integrated in CLI 2017-02-28 21:33:27 +01:00
Ethan Frey
6ec2330eb8 Import keys server from light-client, with changes 2017-02-28 21:09:35 +01:00
Ethan Frey
e1c717a048 Add support for hex / base64 / btc (b58) encoding of binary data 2017-02-28 20:31:08 +01:00
Ethan Frey
c59e2d7d13 Expose address in keyinfo, add get command 2017-02-28 20:07:44 +01:00
Ethan Frey
d5931c9ee3 Set key algorithm on key creation 2017-02-28 19:43:18 +01:00
Ethan Frey
9c427e95e2 Add update cli command, cleanup 2017-02-28 19:02:24 +01:00
Ethan Frey
506ff7d85a Expose new and list via cli 2017-02-28 18:52:52 +01:00
Ethan Frey
78bb9f9cd8 Import keystore logic from light-client 2017-02-28 18:07:59 +01:00
Ethan Frey
d979bfc49e Add flag validation 2017-02-28 16:56:17 +01:00
Ethan Frey
f80957ad3c Basic cobra/viper cli framework 2017-02-28 16:30:15 +01:00
Ethan Buchman
562b4cc9ef Merge pull request #3 from tendermint/feature/go-data
Use go-data for nice json un/marshaling
2017-02-23 19:14:53 -05:00
Ethan Frey
0e92dd5bb5 One name, type byte per algorithm 2017-02-24 00:31:43 +01:00
Ethan Frey
8c9b889ccf Support json encode/decode for nil values in S structs 2017-02-23 18:11:20 +01:00
Ethan Frey
b6a2c5949f Add helper methods for nil checks in structs 2017-02-23 15:35:04 +01:00
Ethan Frey
cbe35e07d1 Add more tests for de/en-coding public and private keys 2017-02-23 14:56:25 +01:00
Ethan Frey
6c2bf8c24b Clean up test cases -> testify 2017-02-23 13:20:30 +01:00
Ethan Frey
1bc1947e3f First tests of go-data encoding 2017-02-22 23:43:26 +01:00
Ethan Frey
e6d35ee641 Add structs for go-data support 2017-02-22 23:15:10 +01:00
Jae Kwon
4b11d62bdb Add Signature.Equals 2016-07-24 13:35:44 -07:00
Jae Kwon
41cfb7b677 Remove ReadSignature* methods 2016-04-21 18:05:15 -07:00
Jae Kwon
7e767e9548 Secp256k1 pubkeys are 64 bytes. Strip btcec prefix byte 2016-04-20 08:46:07 -07:00
Jae Kwon
c121163635 ReadSignature* 2016-04-19 08:49:41 -07:00
Jae Kwon
d57d5ff3c9 PrivKey.Equals 2016-04-19 01:26:40 -07:00
Jae Kwon
8b34fd2e51 Add secp256k1 support 2016-04-19 01:02:31 -07:00
Jae Kwon
3f0d9b3f29 Signature bytes 2016-03-22 15:21:18 -07:00
Jae Kwon
eddde7f46a Added customized bcrypt 2016-03-17 20:37:30 -07:00
Jae Kwon
8152c18c35 Revert Address() scheme change 2016-03-15 15:58:43 -07:00
Jae Kwon
9a95e7b7a5 Added Bytes() and *FromBytes() 2016-03-15 11:11:54 -07:00
Jae Kwon
185547efc1 Add ascii armor support 2016-03-13 14:00:27 -07:00
Jae Kwon
181aa56c87 Added symmetric encrypt/decrypt methods 2016-03-13 12:55:02 -07:00