Commit Graph

139 Commits

Author SHA1 Message Date
Andrea Franz 9aed67c579
interactive shell not allowed 2019-03-15 16:08:15 +01:00
Andrea Franz b3570c3700
add more logging to shell 2019-03-15 11:11:31 +01:00
Andrea Franz c25a181ab1
add shell command 2019-03-15 10:39:17 +01:00
Andrea Franz 3371792bf0
rename public key to secure channel public key in app info 2019-03-15 10:37:54 +01:00
Andrea Franz 04dc8df36c
check error in gp cmdSet checkOK 2019-03-15 10:28:50 +01:00
Andrea Franz 40d0e246a9
check error in command set checkOK 2019-03-15 10:27:45 +01:00
Andrea Franz 572bbdc339
parse sign response and calculate v 2019-03-15 10:26:38 +01:00
Andrea Franz 74895bb582
rmeove pub key derivation field from get status response 2019-03-15 01:13:28 +01:00
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