Commit Graph

35 Commits

Author SHA1 Message Date
Michele Balistreri c87945d752
support exporting xpub keys 2024-11-29 11:22:11 +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
Michele Balistreri e43cb0f06a fix nil dereferencing 2022-09-06 09:02:05 +02:00
Michele Balistreri e9b2ca2eac add support for metadata 2022-08-02 12:18:52 +02: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 2eea99ee0c
add GenerateMnemonic 2021-10-19 11:22:39 +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 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 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
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 744a584d51
use NewCommandSelect 2019-04-17 12:31:09 +02:00
Andrea Franz eed60ac3da
use normal channel for sign pinless 2019-04-09 13:17:10 +02:00
Andrea Franz 6a75e43732
fix set pinless path command 2019-04-09 10:25:56 +02: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
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 8537d3370d
add keycard-set-pinless-path command 2019-03-16 10:03:35 +01:00
Andrea Franz f42cbfe8b5
parse key path status 2019-03-15 16:09:38 +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 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 b1872e0e0f
add DeriveKey and Sign command 2019-03-15 01:03:24 +01:00
Andrea Franz 19e1a9ade1
add verify in and generate key methods 2019-03-14 16:31:30 +01:00
Andrea Franz d6f78d1951
set empty app info if applet not installed 2019-03-13 18:12:19 +01:00
Andrea Franz a0138cd86d
add get status command 2019-03-13 16:21:32 +01:00
Andrea Franz f51eb1d5bc
add pair command 2019-03-13 13:49:26 +01:00
Andrea Franz 76f58a670d
add Init to CommandSet 2019-03-11 12:50:16 +01:00
Andrea Franz ce5141b390
add CommandSet and parse application info 2019-03-11 12:24:09 +01:00