Commit Graph

210 Commits

Author SHA1 Message Date
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
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