Commit Graph

181 Commits

Author SHA1 Message Date
Andrea Franz d95853db0f
refactor export key params constants 2019-04-24 15:30:14 +02:00
Andrea Franz 951cadcecc
rename _getDeriveP1 to derivationP1FromStartingPoint 2019-04-24 15:18:36 +02:00
Alex Miller 30f7fad9f3 Adds export-key implementation (#4)
* Adds export-key implementation

* fix p1 constants for derive key command

* Adds reusable constants for p1/p2 values in ExportKey

* Moves EXPORT constants and OR operates on p2 for ExportKey

* Adds PGP signature
2019-04-24 15:12:45 +02:00
Andrea Franz f383a0d583
typo in error message 2019-04-18 01:40:26 +02:00
Andrea Franz 448e4918b8
parse multi bytes ber-tlv tags 2019-04-18 01:36:40 +02:00
Andrea Franz dbfad2a8b0
add get status command to gp command set 2019-04-18 00:01:59 +02:00
Andrea Franz f0c61b868c
export Channel and SecureChannel from gp command set 2019-04-18 00:00:37 +02:00
Andrea Franz a41d275957
add ParseCommand to apdu pkg 2019-04-17 23:56:24 +02:00
Andrea Franz 744a584d51
use NewCommandSelect 2019-04-17 12:31:09 +02:00
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