Commit Graph

172 Commits

Author SHA1 Message Date
Andrea Franz 8adf2b6627
fix p1 constants for derive key command 2019-04-15 16:11:25 +02:00
Andrea Franz eed60ac3da
use normal channel for sign pinless 2019-04-09 13:17:10 +02:00
Andrea Franz 384487e6f2
try keycard card keys and then gp keys 2019-04-09 10:43:31 +02:00
Andrea Franz 6a75e43732
fix set pinless path command 2019-04-09 10:25:56 +02:00
Andrea Franz 9d5e996d49
verify init-update cryptogram with globalplatform or keycard keys 2019-04-09 00:06:04 +02:00
Andrea Franz 3cdaf543d7
remove useless uint castings 2019-03-28 11:52:17 +01:00
Andrea Franz 848c32046a
update implemented commands in README 2019-03-28 11:35:34 +01:00
Andrea Franz 5170838949
move NormalChannel and Transmitter to io pkg 2019-03-28 11:33:48 +01:00
Andrea Franz 1f5f2a9eeb
add change PUK and Pairing Secret commands 2019-03-27 15:16:02 +01:00
Andrea Franz d773b76890
add change pin command 2019-03-27 14:35:34 +01:00
Jakub Sokołowski bbc3c9ef8c add Jenkinsfile for tests
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-27 14:06:52 +01:00
Andrea Franz 86c5ba953a
update implemented commands in README 2019-03-27 13:10:33 +01:00
Andrea Franz b42eff5096
add unpair command 2019-03-27 13:07:35 +01:00
Andrea Franz 6b2868bd77
handle pairing error when no available slots 2019-03-27 13:07:35 +01:00
Andrea Franz 00dc453676
add RemoveKey command 2019-03-27 13:07:35 +01:00
Andrea Franz 5b441cd26f
Update README.md 2019-03-27 10:36:28 +01:00
Andrea Franz 6da07e5ac8
refactor capabilities constants 2019-03-23 02:20:51 +01:00
Andrea Franz 65bb826b6c
fix hexutils import path 2019-03-21 23:04:24 +01:00
Andrea Franz 3abea2751b
log decrypted response 2019-03-21 22:59:43 +01:00
Andrea Franz 72d8e3de8b
return pubkey from signature data 2019-03-19 15:11:55 +01:00
Andrea Franz 82fd80e88b
generate pairing token for new secrets 2019-03-19 15:11:39 +01:00
Andrea Franz bae6af1f29
update link to the keyard-cli 2019-03-18 22:18:52 +01:00
Andrea Franz 802e1676cd
update logger name 2019-03-18 22:17:11 +01:00
Andrea Franz d89b40950c
remove dockerfile 2019-03-18 22:16:59 +01:00
Andrea Franz 301504963b
update makefile 2019-03-18 22:14:13 +01:00
Andrea Franz 23063ffe46
remove go dep files 2019-03-18 22:13:05 +01:00
Andrea Franz 2a3ba4fcc0
remove cmd 2019-03-18 19:41:15 +01:00
Andrea Franz a420564d09
remove deps 2019-03-18 19:40:19 +01:00
Andrea Franz 8537d3370d
add keycard-set-pinless-path command 2019-03-16 10:03:35 +01:00
Andrea Franz 8809bfb0f5
add derivationpath encoder 2019-03-15 17:03:01 +01:00
Andrea Franz 6b81810595
rename derivationpath parse to decoder 2019-03-15 16:40:22 +01:00
Andrea Franz 00e7905c44
add gp-send-apdu command 2019-03-15 16:13:14 +01:00
Andrea Franz f42cbfe8b5
parse key path status 2019-03-15 16:09:38 +01:00
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