1197389e02
Fix response length encoding.
Pol Henarejos
2024-03-20 10:11:03 +01:00
9bcb6c1d7e
Fixed chained response.
Pol Henarejos
2024-03-20 00:07:14 +01:00
ec08c06196
Added support for PUT DATA.
Pol Henarejos
2024-03-20 00:06:42 +01:00
de43604db6
Added support for APDU chaining.
Pol Henarejos
2024-03-19 18:55:21 +01:00
2f24c3d9a8
Added support for PIV signature.
Pol Henarejos
2024-03-19 17:56:36 +01:00
0b7c8da592
KEK use is optional.
Pol Henarejos
2024-03-19 17:56:00 +01:00
d96bbb9b4b
Use new asn1 structs.
Pol Henarejos
2024-03-14 23:22:19 +01:00
ebec1b1022
Add PIV asymmetric keygen.
Pol Henarejos
2024-03-14 23:22:01 +01:00
4cfa2a16bf
Added AUTHENTICATE support.
Pol Henarejos
2024-03-12 22:04:19 +01:00
817d8b39ec
Added first commit of Pico OpenPGP with PIV support.
Pol Henarejos
2024-03-06 18:54:30 +01:00
21e3ba11c6
Upgrade to version 1.12.
v1.12
Pol Henarejos
2024-02-06 14:15:22 +01:00
2f51786121
Added support for nullbits, pololu 3pi, waveshare rp2040 lcd 1.28 and wavezhare rp2040 one.
Pol Henarejos
2024-02-06 14:12:12 +01:00
0bee85c6aa
Add -DVIDPID=<VALUE> to build a project with a known VID/PID. Supported values: NitroHSM, NitroFIDO2, NitroStart, NitroPro, Nitro3, Yubikey5, YubikeyNeo, YubiHSM, Gnuk, GnuPG
Pol Henarejos
2023-12-11 18:15:42 +01:00
7f7e94c639
Use new names and selecting aid.
Pol Henarejos
2023-11-06 15:23:54 +01:00
a083bcdb3f
Use new pico-keys-sdk name.
Pol Henarejos
2023-11-06 14:37:29 +01:00
109e97bcff
Rename old pico-hsm-sdk to new name pico-keys-sdk.
Pol Henarejos
2023-11-06 14:37:19 +01:00
08a40e757a
Merge branch 'main' into eddsa
Pol Henarejos
2023-09-05 01:14:02 +02:00
e3728bdb51
Update dockerfile.
Pol Henarejos
2023-09-05 01:13:52 +02:00
939c7fa7ab
Add workflow to eddsa branch.
Pol Henarejos
2023-09-05 01:10:52 +02:00
865eafb1f3
Fix Curve25519 key import.
Pol Henarejos
2023-09-05 00:25:39 +02:00
88f5bbfd58
Added support for Ed25519.
Pol Henarejos
2023-09-05 00:18:06 +02:00
e480d57881
Update HSM SDK pointer.
Pol Henarejos
2023-09-04 17:26:53 +02:00
9ea894b60b
Use mbedtls read/write keys wrappers.
Pol Henarejos
2023-08-28 01:25:28 +02:00
3ae7af9812
Create FUNDING.yml
Pol Henarejos
2023-05-17 10:23:06 +02:00
b815dc35c8
Fix initializing DEK for pw3.
Pol Henarejos
2023-05-17 00:04:57 +02:00
f6fa77368b
Upgrade pico hsm sdk.
Pol Henarejos
2023-05-16 09:24:46 +02:00
93bef128ab
Update README.md
Pol Henarejos
2023-05-11 20:09:51 +02:00
11fc49052d
Fix conditional interface compilation
Pol Henarejos
2023-03-04 14:18:33 +01:00
5eb6822bf5
Update code style.
Pol Henarejos
2023-03-04 14:08:47 +01:00
f2c1e50ffb
Fix test pw1_status
Pol Henarejos
2023-03-04 14:08:36 +01:00
80ed59f05c
Update patch_vidpid for latest HSM SDK.
Pol Henarejos
2023-03-04 14:07:18 +01:00
73c1bf786d
Upgrade to v1.10
v1.10
Pol Henarejos
2023-02-06 00:03:18 +01:00
02a5695b61
Added missing file.
Pol Henarejos
2023-02-05 00:00:47 +01:00
9310e1af55
Use correct branch name.
Pol Henarejos
2023-02-04 23:58:18 +01:00
8399cd47db
Wrong branch name.
Pol Henarejos
2023-02-04 23:57:37 +01:00
dddb9f2824
Lets try manual trigger.
Pol Henarejos
2023-02-04 23:56:56 +01:00
c97dd77404
Update test.yml
Pol Henarejos
2023-02-04 23:49:55 +01:00
94930e5f7d
Some fixes in HSM SDK.
Pol Henarejos
2023-02-04 23:48:04 +01:00
e697e30c6c
Add virtual smart card emulation for CD/CI.
Pol Henarejos
2023-02-04 23:47:49 +01:00
1288d25999
Adding workflow for autobuild.
Pol Henarejos
2023-02-04 23:46:20 +01:00
51742153d0
Adding checks for platform.
Pol Henarejos
2023-02-04 23:45:31 +01:00
1863971a1b
It can be safely checked.
Pol Henarejos
2023-02-04 23:45:07 +01:00
3c7df3aa42
Fix checking length in ECDH.
Pol Henarejos
2023-02-04 23:44:55 +01:00
e5871d5791
Fix returning algo attributes for authentication key.
Pol Henarejos
2023-02-04 21:07:10 +01:00
7ccbb0103f
Fix computing length of algorithm attributes.
Pol Henarejos
2023-02-04 21:06:33 +01:00
8e03ce28a3
Fix returning signature in some cases.
Pol Henarejos
2023-02-04 20:28:33 +01:00
b300ed87f3
Fix returning ecdsa response for keys > 512 bits.
Pol Henarejos
2023-02-04 20:26:54 +01:00
7b17cc7b49
Public point is now computed when private key is imported.
Pol Henarejos
2023-02-04 19:44:44 +01:00
abf190f767
Tuned returning public key information for ECDSA.
Pol Henarejos
2023-02-04 19:44:00 +01:00
fda29e0e61
Adding verifies.
Pol Henarejos
2023-02-04 01:44:44 +01:00
d9ed002af2
Signature counter is only increased on PSO:SIGN and not for authentication.
Pol Henarejos
2023-02-04 01:31:34 +01:00
e1407636b8
Fix DEK loading when resetting code is used.
Pol Henarejos
2023-02-04 01:23:03 +01:00
d117442825
Adding emulation support.
Pol Henarejos
2023-02-03 23:28:12 +01:00
365acbd68b
Fix setting RC.
Pol Henarejos
2023-02-03 20:21:14 +01:00
f6facc1154
When a private key is imported, a public key is generated and stored.
Pol Henarejos
2023-02-03 20:08:26 +01:00
e914d5f576
Identify before running this test.
Pol Henarejos
2023-02-03 19:17:52 +01:00
5e257729a3
Some fixes.
Pol Henarejos
2023-02-03 19:17:42 +01:00
89ed242fcd
Fix historical bytes and ext capabilities test.
Pol Henarejos
2023-02-03 17:44:06 +01:00
4a629fe53f
Fix returning size of some DO.
Pol Henarejos
2023-02-03 17:27:02 +01:00
22689b3784
Fix returning DO.
Pol Henarejos
2023-02-03 17:25:18 +01:00
4f1cd1f2f8
Fix returning sig counter.
Pol Henarejos
2023-02-03 16:55:32 +01:00
c9ef78b3c9
Fix returning app data.
Pol Henarejos
2023-02-03 16:52:55 +01:00
6c81fe4b1c
Fix test sex.
Pol Henarejos
2023-02-03 16:49:30 +01:00
3fe15c815c
Fix returning chunked data.
Pol Henarejos
2023-02-03 16:47:46 +01:00
cf53fdd903
Adapt select_applet to new call.
Pol Henarejos
2023-02-03 16:32:28 +01:00
29b4aec24e
Adapting Cmakefile to new HSM SDK.
Pol Henarejos
2023-02-03 16:32:03 +01:00
0c63c457e7
Upgrading to newer Pico HSM SDK.
Pol Henarejos
2023-02-03 16:31:51 +01:00
2c24c348b5
Adding tests for OpenPGP.
Pol Henarejos
2023-02-02 23:08:49 +01:00
32868dfc31
Fix signature counter storage.
Pol Henarejos
2023-01-09 17:33:43 +01:00
303116ffea
Fix P1P2 on termination check.
Pol Henarejos
2023-01-09 17:10:12 +01:00
23824afc1f
Fix importing data with TLV length > 0x7f.
Pol Henarejos
2022-11-29 20:21:11 +01:00
2c5b67597e
Moving pointer of HSM SDK.
Pol Henarejos
2022-11-28 18:56:16 +01:00
bcefdb3c84
Upgrading patcher to HSM SDK 3.4
v1.8
Pol Henarejos
2022-11-25 14:26:06 +01:00
685ee2bbd5
Moving pointer to Pico HSM SDK 3.4
Pol Henarejos
2022-11-25 14:25:50 +01:00
6ae2a91e55
More fixes to build tool.
Pol Henarejos
2022-11-23 11:09:38 +01:00
2373f21994
Fix build tool.
Pol Henarejos
2022-11-23 11:04:12 +01:00
25bddb7230
Upgrading to version 1.8.
Pol Henarejos
2022-11-23 11:00:44 +01:00
418fa9c143
Fix patch tool.
Pol Henarejos
2022-11-23 10:59:08 +01:00
ce9ef47bb2
Using pico_hsm_sdk cmake library.
Pol Henarejos
2022-08-31 14:18:37 +02:00
603963123b
Upgrade pico-hsm-sdk to v3.0
Pol Henarejos
2022-08-31 14:12:55 +02:00
79ce35e944
Fix endianness of vid/pid patcher.
Pol Henarejos
2022-08-31 14:12:26 +02:00
5ddfa6382b
Upgrading to new pico-hsm-sdk module.
Pol Henarejos
2022-08-30 17:48:44 +02:00
9a99baafca
Renaming submodule.
Pol Henarejos
2022-08-30 17:48:02 +02:00
819fb99646
Update README.md
Pol Henarejos
2022-06-06 14:51:04 +02:00
35fb97c58f
Upgraded to version 1.6
v1.6
Pol Henarejos
2022-06-06 14:40:34 +02:00
3fa5dbccd0
Upgrade patch tool to version 2.0 of Pico CCID.
Pol Henarejos
2022-06-06 14:40:19 +02:00
b674708955
Added fixes for Pico CCID.
Pol Henarejos
2022-06-06 14:38:13 +02:00
86b508f2ae
Updated README with new Pico CCID stack.
Pol Henarejos
2022-06-06 01:47:18 +02:00
167b6d9770
Adapted to Pico CCID 2.0.
Pol Henarejos
2022-06-06 01:01:52 +02:00
d0c167345e
Add fmd flag when selecting the applet.
Pol Henarejos
2022-05-24 23:31:12 +02:00
ca6affaf5d
Adding private identifiers for cardholder certificates.
Pol Henarejos
2022-05-20 19:03:22 +02:00
7a77b31760
Adding INS GET NEXT DATA
Pol Henarejos
2022-05-20 19:02:55 +02:00
9f069a7e31
When PUT DATA or GET DATA with previously selected EF (via SELECT or SELECT DATA), it puts/writes the data into the selected EF.
Pol Henarejos
2022-05-15 19:48:31 +02:00
a0384f67ca
Adding INS A5 to select DO with multiple instances.
Pol Henarejos
2022-05-15 19:40:17 +02:00
32c6f60b49
Adding INS F1 to get version.
Pol Henarejos
2022-05-15 18:58:35 +02:00
0ab5526dac
Adding FMD when selecting app by AID.
Pol Henarejos
2022-05-15 18:50:45 +02:00
eb066472b1
Adding AES support for symmetric encryption and decryption. However, there is no any software that supports AES. So, no tested feature.
Pol Henarejos
2022-05-13 17:44:09 +02:00
a2d1c5cf22
Adding key import.
Pol Henarejos
2022-05-12 23:49:26 +02:00
436c0744d0
Added clarification about Gnuk and Pico OpenPGP.
Pol Henarejos
2022-05-09 19:05:50 +02:00