56 Commits

Author SHA1 Message Date
Andrea Franz
1cdee35414
open secure channel 2018-10-27 18:52:39 +02:00
Andrea Franz
435665f5cf
check response and error 2018-10-27 18:12:38 +02:00
Andrea Franz
5bdb7a8a57
move cryptogram verification to crypto pkg 2018-10-27 17:13:32 +02:00
Andrea Franz
8acb1dfbc7
add pairing actions 2018-10-24 18:16:14 +02:00
Andrea Franz
c3885e8a76
add KeyUID to app info 2018-10-24 13:44:58 +02:00
Andrea Franz
09193d93e3
add actions and actionsets 2018-10-24 13:42:00 +02:00
Andrea Franz
41c186951c
check if card is already initialized 2018-10-23 12:06:00 +02:00
Andrea Franz
61bc1a2764
add card secrets initialization 2018-10-22 19:33:53 +02:00
Andrea Franz
de86c19fcc
install both wallet and ndef applets 2018-10-19 14:48:07 +02:00
Andrea Franz
ca6febaa54
add ndef AID in the list of ids to be deleted 2018-10-19 14:48:07 +02:00
Andrea Franz
d4c75f7783
initialize ethereum logger 2018-10-19 14:48:07 +02:00
Andrea Franz
30981c77a9
add applet-installer cmd 2018-10-19 14:48:07 +02:00
Andrea Franz
8a55f77d42
update imported packages 2018-10-19 14:46:54 +02:00
Andrea Franz
bb9fddd181
skip security checkes on smartcard scp02 algorithm using des 2018-10-19 14:46:54 +02:00
Andrea Franz
f10e19e4c2
fix lint warning and add missing files 2018-10-19 14:46:54 +02:00
Andrea Franz
8d061e2c60
add comments to all packages 2018-10-19 14:46:54 +02:00
Andrea Franz
02de35c254
move channels structs to globalplatform pkg 2018-10-19 14:46:54 +02:00
Andrea Franz
d5c83615d6
add docs to commands 2018-10-19 14:46:54 +02:00
Andrea Franz
7538feac95
add comments and fix warning for main command and pkg apdu 2018-10-19 14:46:54 +02:00
Andrea Franz
9225619434
use formatted logger in all packages 2018-10-19 14:46:54 +02:00
Andrea Franz
cb0a7d3cc4
add install, delete, and status commands to main executable 2018-10-19 14:46:54 +02:00
Andrea Franz
010ab44d06
add GetStatus command 2018-10-19 14:46:54 +02:00
Andrea Franz
dc57d83d22
split each command in different Installer methods 2018-10-19 14:46:54 +02:00
Andrea Franz
9def1c00c3
add Secrets struct 2018-10-19 14:46:54 +02:00
Andrea Franz
ec500a3ab6
fix commands to work with both T=0 and T=1 2018-10-19 14:46:54 +02:00
Andrea Franz
e80f686c96
remove logs of wrapped command 2018-10-19 14:46:54 +02:00
Andrea Franz
4821bea2a5
add lightwallet pkg 2018-10-19 14:46:54 +02:00
Andrea Franz
93171625e3
add install commands to installer 2018-10-19 14:46:54 +02:00
Andrea Franz
415fe350bf
add load command 2018-10-19 14:46:54 +02:00
Andrea Franz
d5b7793219
add P1ExternalAuthenticateCMAC constant 2018-10-19 14:46:54 +02:00
Andrea Franz
fd2a1eda27
add install for install command 2018-10-19 14:46:54 +02:00
Andrea Franz
48ad7291b4
add install for load command 2018-10-19 14:46:54 +02:00
Andrea Franz
f718e4accc
add delete command to installation process 2018-10-19 14:46:54 +02:00
Andrea Franz
7971bc3e09
fix mac full 3DES iv generation 2018-10-19 14:46:54 +02:00
Andrea Franz
2f4bf27ce0
fix crypto pkg tests 2018-10-19 14:46:54 +02:00
Andrea Franz
50bfda60e0
add tlv formatting to delete data 2018-10-19 14:46:54 +02:00
Andrea Franz
c55b6e1593
add delete command 2018-10-19 14:46:54 +02:00
Andrea Franz
02fb9f848c
add normal and secure channel and installer 2018-10-19 14:46:54 +02:00
Andrea Franz
5ddbdb3386
add GetResponse command 2018-10-19 14:46:54 +02:00
Andrea Franz
8721418cd7
add external auth command 2018-10-19 14:46:54 +02:00
Andrea Franz
0ef7630270
fix icv encryption in apdu wrapper 2018-10-19 14:46:54 +02:00
Andrea Franz
7b24b7bc42
add APDUWrapper and test 2018-10-19 14:46:54 +02:00
Andrea Franz
3e3af578eb
add session 2018-10-19 14:46:54 +02:00
Andrea Franz
83941f7016
add MacFull3DES function 2018-10-19 14:46:54 +02:00
Andrea Franz
e40519c7da
add VerifyCryptogram function 2018-10-19 14:46:54 +02:00
Andrea Franz
e81db1f0bd
add appendDESPadding function 2018-10-19 14:46:54 +02:00
Andrea Franz
a2e6eec5b2
add crypto pkg and DeriveKey func 2018-10-19 14:46:54 +02:00
Andrea Franz
fa35b117ff
add hexutils pkg 2018-10-19 14:46:54 +02:00
Andrea Franz
3f962927cf
add IsOK method to response 2018-10-19 14:46:54 +02:00
Andrea Franz
9119bd849f
refactoring 2018-10-19 14:46:54 +02:00