Commit Graph

181 Commits

Author SHA1 Message Date
Andrea Franz b1872e0e0f
add DeriveKey and Sign command 2019-03-15 01:03:24 +01:00
Andrea Franz e0c747902b
fix derivationpath pkg name 2019-03-15 01:01:57 +01:00
Andrea Franz bb9353b78a
fix error reset on Select 2019-03-15 00:50:06 +01:00
Andrea Franz 7c52fa75c3
add derivationpath pkg 2019-03-15 00:37:29 +01:00
Andrea Franz 19e1a9ade1
add verify in and generate key methods 2019-03-14 16:31:30 +01:00
Andrea Franz fa2a5514a2
remove duplicated cmdSet.SetPairingInfo in Initializer 2019-03-14 16:07:18 +01:00
Andrea Franz 99e38babdd
add GenerateSecrets function 2019-03-14 16:05:40 +01:00
Andrea Franz 5f23138b45
add delete and load package methods to gp command set 2019-03-14 14:13:57 +01:00
Andrea Franz d8a6a41ca7
parse BER-TLV with multiple length bytes 2019-03-14 12:01:44 +01:00
Andrea Franz d6f78d1951
set empty app info if applet not installed 2019-03-13 18:12:19 +01:00
Andrea Franz 2e910d9bb4
fix tests 2019-03-13 16:33:02 +01:00
Andrea Franz 526d2eaade
remove duplicated response tag definitions 2019-03-13 16:24:58 +01:00
Andrea Franz 04b3d48a80
remove old commands 2019-03-13 16:23:39 +01:00
Andrea Franz a0138cd86d
add get status command 2019-03-13 16:21:32 +01:00
Andrea Franz 91bbfbffb4
remove old pairing action 2019-03-13 13:50:29 +01:00
Andrea Franz 165bc34b82
update pairing salt 2019-03-13 13:49:49 +01:00
Andrea Franz f51eb1d5bc
add pair command 2019-03-13 13:49:26 +01:00
Andrea Franz c8997c1063
parse capabilities from select response 2019-03-11 16:12:19 +01:00
Andrea Franz b4f62deb1f
fix info command in case where applet is not installed 2019-03-11 13:46:05 +01:00
Andrea Franz 97eeba53f8
update readme title 2019-03-11 13:40:05 +01:00
Andrea Franz d28c52a900
explicitly use secure channel and check if open 2019-03-11 13:11:41 +01:00
Andrea Franz db9987efdd
use identifiers.KeycardDefaultInstanceIndex 2019-03-11 12:56:22 +01:00
Andrea Franz 0a248c09c1
temporarily remove pair and status commands 2019-03-11 12:53:02 +01:00
Andrea Franz 76f58a670d
add Init to CommandSet 2019-03-11 12:50:16 +01:00
Andrea Franz ce5141b390
add CommandSet and parse application info 2019-03-11 12:24:09 +01:00
Andrea Franz 077b96f9ee
add Delete to Installer 2019-03-11 11:49:00 +01:00
Andrea Franz e33b6d138a
move lightwallet pkg to keycard 2019-03-11 11:08:32 +01:00
Andrea Franz 0661f1c128
add -u flag to go get 2019-03-07 10:04:31 +01:00
Andrea Franz b5c2c8d0a9
use installer for install command 2019-03-06 17:57:52 +01:00
Andrea Franz 341eec2a18
check if applet is already installed 2019-03-06 14:31:40 +01:00
Andrea Franz de9b00d646
don't parse ISD 2019-03-06 13:45:32 +01:00
Andrea Franz 53e3def34c
check if card scp version is supported 2019-03-06 13:39:24 +01:00
Andrea Franz 9648e01c71
update installer logs 2019-03-06 13:38:49 +01:00
Andrea Franz 7354d52c0a
check if card is blocked 2019-03-06 12:55:57 +01:00
Andrea Franz 5f7af0f5e1
remove card manager AID in select and install for load 2019-03-06 12:48:12 +01:00
Andrea Franz 3c0ece1eec
add identifiers package 2019-03-06 11:30:21 +01:00
Andrea Franz cfdc2c0eed
add Installer using globalplatform.CommandSet 2019-03-06 10:51:16 +01:00
Andrea Franz 013787f399
add globalplatform.CommandSet 2019-03-06 10:45:52 +01:00
Andrea Franz 10c8e16065
add blocksCount to LoadCommandStream 2019-03-06 10:44:42 +01:00
Andrea Franz 53689712e6
use SCP02Keys instead of KeyProvider 2019-03-06 10:43:37 +01:00
Andrea Franz 6e8ec0271b
rename KeyProvider struct to SCP02Keys 2019-03-06 10:41:22 +01:00
Andrea Franz 36b7321e70
rename keyprovider to scp02_keys 2019-03-06 10:40:02 +01:00
Andrea Franz 2b0ff91b13
rename APDUWrapper to SCP02Wrapper 2019-03-05 12:00:23 +01:00
Andrea Franz 33b1afaba3
update CLI README 2019-03-01 18:48:40 +01:00
Andrea Franz f81dc83bb3
rename to keycard-go 2019-03-01 18:44:07 +01:00
Andrea Franz 2bc233b65b
build default task in Makefile 2019-02-15 16:32:37 +01:00
Andrea Franz f53574789a
use instance AID in delete command 2019-02-15 16:32:27 +01:00
Andrea Franz a649361580
fix load debug messages 2019-02-15 16:26:55 +01:00
Andrea Franz 2348b40cea
use instance AID 2019-02-15 16:26:38 +01:00
Andrea Franz 8140f6790b
new ids 2019-02-15 16:25:46 +01:00