81 Commits
Author SHA1 Message Date
Robin Krahl c93a7b27b4 Update trussed-core to v0.2 2026-03-26 11:42:40 +01:00
Sosthène Guédonandsosthene-nitrokey ba0c78a614 Fix pivy tests 2025-05-28 09:44:46 +02:00
Sosthène Guédonandsosthene-nitrokey 381faa1fd0 Fix lints with updated pivy 2025-04-29 14:27:22 +02:00
Sosthène Guédonandsosthene-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édonandsosthene-nitrokey 001d2f652e Fix lint
It's fine to create zombie processes in tests because tests are short-lived
2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey 9bde6956ef Add RSA3072 algorithm 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey ce32d0b9db Add support for p384 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey ac7067b4d9 Remove default false for mutual authenticate management config 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey b8a496f67c Fix clippy warnings 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey ca9b10f9c9 Add pivy tests for bad keys 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey a9dba5932b Add OpenSC tests with bad keys 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey dcfc7b1686 Add command-response tests for mutual auth and bad keys 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey c831001470 Enable back tests that were blocked on upstream fixes 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey 370d724b6b Remove usbip example and fix compilation with all features 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey 8538648ada Fix clippy lints 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey 45bb367c35 Update expectrl 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey 9145e1e0f4 Enable test suite to run on a hardware device 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey 5ff9e592ec Add ecdh tests for multiple keys including unprotected ones 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey 433313a837 Add test for signature with multiple keys (including unprotected ones) 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey 8c68ee79d6 Encrypt protected DOs 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey e6f6a63b7b Add key import 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey edafeecc31 Fix minor spec compliance issue 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey 935a5abbd0 Be more strict with regard to returned error values and input 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey 031208d760 Validate PIN lengths 2025-03-06 09:55:34 +01:00
Sosthène Guédonandsosthene-nitrokey 49f3b12e2f Fix spec compliance issue 2025-03-06 09:55:34 +01:00