Sosthène Guédon and sosthene-nitrokey
9990a884e2
Add tests for ResetRetryCounter and fix it
...
Previously when using the PUK the user key was not restored which
leads to failure when attempting to then perform pin-protected operations
since the user key would fail to decrypt the private keys.
2025-04-24 15:29:41 +02:00
Sosthène Guédon and sosthene-nitrokey
9bde6956ef
Add RSA3072 algorithm
2025-03-06 09:55:34 +01:00
Sosthène Guédon and sosthene-nitrokey
ac7067b4d9
Remove default false for mutual authenticate management config
2025-03-06 09:55:34 +01:00
Sosthène Guédon and sosthene-nitrokey
dcfc7b1686
Add command-response tests for mutual auth and bad keys
2025-03-06 09:55:34 +01:00
Sosthène Guédon and sosthene-nitrokey
8c68ee79d6
Encrypt protected DOs
2025-03-06 09:55:34 +01:00
Sosthène Guédon and sosthene-nitrokey
e6f6a63b7b
Add key import
2025-03-06 09:55:34 +01:00
Sosthène Guédon and sosthene-nitrokey
edafeecc31
Fix minor spec compliance issue
2025-03-06 09:55:34 +01:00
Sosthène Guédon and sosthene-nitrokey
935a5abbd0
Be more strict with regard to returned error values and input
2025-03-06 09:55:34 +01:00
Sosthène Guédon and sosthene-nitrokey
031208d760
Validate PIN lengths
2025-03-06 09:55:34 +01:00
Sosthène Guédon and sosthene-nitrokey
49f3b12e2f
Fix spec compliance issue
2025-03-06 09:55:34 +01:00
Sosthène Guédon and Nicolas Stalder
4480c1a19a
Add test for PUK and PIN change
2024-03-01 14:29:40 +01:00
Sosthène Guédon and Nicolas Stalder
22849161f2
Remove reuse compliance headers
2024-03-01 14:29:40 +01:00
Sosthène Guédon and Nicolas Stalder
b64c1d150a
Relicense to Apache + MIT for upstreaming
2024-03-01 14:29:40 +01:00
Sosthène Guédon and Nicolas Stalder
8633ffa5da
Fix trailing whitespace preventing rustfmt formatting
2024-03-01 14:29:40 +01:00
Sosthène Guédon and Nicolas Stalder
5c1a30c939
Add a setter for the UUID in the builder
2024-03-01 14:29:40 +01:00
Sosthène Guédon and Nicolas Stalder
aa20031f2c
Fix reset check for pin lock and att tests
2024-03-01 14:29:40 +01:00
Sosthène Guédon and Nicolas Stalder
64ff915b89
Rework GENERAL AUTHENTICATE implementation
2024-03-01 14:29:40 +01:00
Sosthène Guédon and Nicolas Stalder
dd69f716dd
Add command_response tests for PUT DATA
2024-03-01 14:29:40 +01:00
Sosthène Guédon and Nicolas Stalder
3d01122ebe
Add support for witness authentication
2024-03-01 14:29:40 +01:00
Sosthène Guédon and Nicolas Stalder
a01b6b6066
Add test for key generation
2024-03-01 14:29:40 +01:00
Sosthène Guédon and Nicolas Stalder
a6ff4b1483
Add support for AES keys in SET MANAGEMENT KEY and test AES keys for GENERAL AUTHENTICATE
2024-03-01 14:29:40 +01:00
Sosthène Guédon and Nicolas Stalder
a9b1598826
Add test for admin auth
2024-03-01 14:29:40 +01:00
Sosthène Guédon and Nicolas Stalder
d16a712d9a
Add select command support and test
2024-03-01 14:29:40 +01:00
Sosthène Guédon and Nicolas Stalder
e1a15b7647
Add test with default PIN
2024-03-01 14:29:40 +01:00
Sosthène Guédon and Nicolas Stalder
095244b033
Add infrastructure for command-response tests (taken from opcard-rs)
2024-03-01 14:29:40 +01:00