Commit Graph

65 Commits

Author SHA1 Message Date
Michele Balistreri e9b2ca2eac add support for metadata 2022-08-02 12:18:52 +02:00
Andrea Franz 6cfed8c904
fix go-ethereum import 2021-10-21 15:19:02 +02:00
Andrea Franz 413d5696db
fix logger prefixes 2021-10-21 14:53:57 +02:00
Andrea Franz 84bad0cbb5
use status-im fork of go-ethereum 2021-10-21 14:27:09 +02:00
Andrea Franz 8515e729d7
add Cash applet installation 2019-11-19 10:51:44 +01:00
Andrea Franz 96c3596fca
add DeleteObject and DeleteObjectAndRelatedObject to gp cmdSet 2019-11-19 10:18:37 +01: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 744a584d51
use NewCommandSelect 2019-04-17 12:31:09 +02:00
Andrea Franz 384487e6f2
try keycard card keys and then gp keys 2019-04-09 10:43:31 +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 5170838949
move NormalChannel and Transmitter to io pkg 2019-03-28 11:33:48 +01:00
Andrea Franz 04dc8df36c
check error in gp cmdSet checkOK 2019-03-15 10:28:50 +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 2e910d9bb4
fix tests 2019-03-13 16:33:02 +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 077b96f9ee
add Delete to Installer 2019-03-11 11:49:00 +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 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 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 f81dc83bb3
rename to keycard-go 2019-03-01 18:44:07 +01:00
Andrea Franz 6e7e217179
implement applet secure channel 2018-11-07 11:34:03 +01:00
Andrea Franz b813e1743f
add info command 2018-11-06 12:54:11 +01:00
Andrea Franz 828b7be733
rename pkg to hardware-wallet-go 2018-11-06 10:25:54 +01: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 010ab44d06
add GetStatus command 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 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