Commit Graph

220 Commits

Author SHA1 Message Date
Michele Balistreri c87945d752
support exporting xpub keys 2024-11-29 11:22:11 +09:00
Michele Balistreri 5bb74ca24f
fixed one off bug 2023-10-11 17:21:53 +09:00
Michele Balistreri 5a4ec08c30
fix card identification 2023-10-09 20:47:10 +09:00
Michele Balistreri 0d3f4e886c
Keycard 3.1 support (#16)
* add certificate validation

* add factory reset command

* do not apply secure channel to factory reset
2023-08-17 10:58:58 +02:00
protolambda 104f9ded0a
update go-ethereum and other dependencies (#15) 2022-11-08 15:36:31 +01:00
Michele Balistreri e43cb0f06a fix nil dereferencing 2022-09-06 09:02:05 +02:00
Michele Balistreri 059bc140ce remove unnecessary workarounds, fix secure channel 2022-08-04 11:45:19 +02:00
Michele Balistreri 5e261398ed work around GET DATA transmission over T=1 2022-08-04 11:16:03 +02:00
Michele Balistreri 4a832e606b requires Lc in GET DATA 2022-08-04 10:41:37 +02:00
Michele Balistreri 6d3737a86e add Le to GET DATA 2022-08-04 10:08:55 +02:00
Michele Balistreri 7e337d802a ecdh secret must be 32 bytes 2022-08-03 11:51:23 +02:00
Michele Balistreri c19c144fd4 remove commented code 2022-08-02 12:20:13 +02:00
Michele Balistreri e9b2ca2eac add support for metadata 2022-08-02 12:18:52 +02:00
Andrea Franz b0e0482ba9
check s length in signature. closes #8 2021-11-09 11:45:30 +01:00
Andrea Franz dd57e754e7
remove log line. closes #12 2021-11-09 11:42:13 +01:00
Andrea Franz 24b0082888
check resp != nil before resp.Sw 2021-10-22 13:40:56 +02:00
Andrea Franz 07b455f49c
add UnblockPIN command 2021-10-22 11:47:47 +02:00
Andrea Franz 6cfed8c904
fix go-ethereum import 2021-10-21 15:19:02 +02:00
Andrea Franz d3f6eddc36
replace go-ethereum with status-im/go-ethereum 2021-10-21 15:12:45 +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 6448707c0d
update README 2021-10-19 11:24:00 +02:00
Andrea Franz 2eea99ee0c
add GenerateMnemonic 2021-10-19 11:22:39 +02:00
Andrea Franz 8877e09ca4
update readme 2021-10-19 10:34:19 +02:00
Andrea Franz b3978ba458
exportKey always parse both pub and priv keys 2021-10-07 15:10:14 +02:00
Andrea Franz 557c4c58b3
export RemainingAttempts 2021-10-07 10:20:58 +02:00
Andrea Franz f53d31ab34
parse remaining attempts on VerifyPIN error 2021-10-06 10:27:25 +02:00
Andrea Franz c32310e39b
parse export key response 2021-10-04 15:26:08 +02:00
Andrea Franz c8058144ce
move lib to different repo 2021-09-11 18:13:56 +02:00
Andrea Franz d9dd026061
mv lib pkg to different repo 2021-09-11 18:10:11 +02:00
Andrea Franz 2e0f5457d2
add lib package and make task to build shared lib 2021-08-31 13:10:44 +02:00
Andrea Franz 957c095369
rename PublicKeyData to PublicData 2020-04-02 12:23:58 +02:00
Andrea Franz f38e9a1995
add LoadKey command 2020-01-07 12:56:50 +01:00
Andrea Franz 6dd40a46ba
initialize empty ApplicationInfo in CommandSet 2019-11-19 12:41:48 +01:00
Andrea Franz 66a0a082fe
add Installed to CashApplicationInfo 2019-11-19 12:38:41 +01:00
Andrea Franz 8c2d13ba90
add CashCommandSet 2019-11-19 12:27:57 +01: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 9d48af884d
add path arg to sign 2019-11-14 12:46:15 +01:00
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