Commit Graph

  • 8053d44e78 Fix key history object Sosthène Guédon 2023-01-16 17:32:20 +01:00
  • c8feab6f51 Make apdu-dispatch a required feature for usbip Sosthène Guédon 2023-01-16 11:08:23 +01:00
  • deaf2e6dc3 Comment out failing test Sosthène Guédon 2023-01-06 11:23:31 +01:00
  • 224b0d1454 Add usbip example runner Sosthène Guédon 2023-01-06 11:22:46 +01:00
  • 073e8826e6 Fix clippy warning Sosthène Guédon 2023-01-04 11:47:28 +01:00
  • 6f6f2f65fe Fix Rsa serialization order Sosthène Guédon 2023-01-04 11:34:17 +01:00
  • 441202f7b0 Fix GENERAL AUTHENTICATE for agreement mechanisms Sosthène Guédon 2022-12-14 17:54:54 +01:00
  • c1f16e6605 Remove dbg! Sosthène Guédon 2022-12-13 17:29:29 +01:00
  • ebd45d9f3b Run cargo fmt Sosthène Guédon 2022-12-13 16:14:54 +01:00
  • 82c50fc0b6 Use expect instead of check in tests for accurate testing Sosthène Guédon 2022-12-09 17:57:30 +01:00
  • 318c5a6193 Add pivy test for ECDH Sosthène Guédon 2022-12-09 17:49:08 +01:00
  • 80ec2df7d3 Copy instead of using references Sosthène Guédon 2022-12-09 15:44:44 +01:00
  • 106202e2de Implement exponentiation Sosthène Guédon 2022-12-09 15:40:09 +01:00
  • 13e3168cfc Support all keys in GENERAL AUTHENTICATE Sosthène Guédon 2022-12-09 10:59:31 +01:00
  • 41e5cd6703 Rename padded_pin => pin Sosthène Guédon 2022-12-08 18:22:24 +01:00
  • 62fae12176 Add support for RESET RETRY COUNTER Sosthène Guédon 2022-12-08 18:21:03 +01:00
  • 0f830cae20 Generalize AsymetricKeyReference Sosthène Guédon 2022-12-08 16:32:05 +01:00
  • dd69f716dd Add command_response tests for PUT DATA Sosthène Guédon 2022-12-08 15:55:29 +01:00
  • 6b822e09fb Remove outdated comment Sosthène Guédon 2022-12-08 14:45:47 +01:00
  • 5fe9a5c061 Validate PIN authentication before signing Sosthène Guédon 2022-12-08 14:30:23 +01:00
  • 7e341e304f Fix get data Sosthène Guédon 2022-12-08 12:20:18 +01:00
  • a5e32b36ca Fix put data command parsing Sosthène Guédon 2022-12-08 12:03:07 +01:00
  • 9776c5a5f0 Add configurability to tests Sosthène Guédon 2022-12-07 16:25:29 +01:00
  • b276e48986 Fix make check Sosthène Guédon 2022-12-07 16:16:21 +01:00
  • c3c2fc3f51 Fix generation of RSA keys Sosthène Guédon 2022-12-07 15:49:41 +01:00
  • 6b4c26ea4b Add admin test with opensc Sosthène Guédon 2022-12-07 15:01:49 +01:00
  • 3d01122ebe Add support for witness authentication Sosthène Guédon 2022-12-07 14:12:48 +01:00
  • 7e45eed7af Add basic opensc test Sosthène Guédon 2022-12-07 09:59:57 +01:00
  • 35f094b843 Add key generation test Sosthène Guédon 2022-12-05 15:12:36 +01:00
  • 8804a39ebd Verify access permissions for PUT/GET DATA Sosthène Guédon 2022-12-05 14:42:07 +01:00
  • e4a50d9e9a Return NotFound when data object in not avalaible Sosthène Guédon 2022-12-05 11:59:01 +01:00
  • 9ef7869305 Implement generic PUT/GET DATA Sosthène Guédon 2022-12-05 11:27:22 +01:00
  • 0bae023508 Use hex! macro Sosthène Guédon 2022-12-05 10:14:25 +01:00
  • 103db19f25 Remove unused warning Sosthène Guédon 2022-12-05 09:29:52 +01:00
  • e5d0530f9e Reuse generic container approach from Opcard Sosthène Guédon 2022-12-02 18:04:14 +01:00
  • c120f688eb Add Put DATA parsing support Sosthène Guédon 2022-12-02 17:17:01 +01:00
  • a01b6b6066 Add test for key generation Sosthène Guédon 2022-12-01 16:30:00 +01:00
  • 6e0f2fd194 Add support for with PIV authentication key Sosthène Guédon 2022-12-01 16:03:59 +01:00
  • 730c459f80 Make the PIV authentication key mandatory Sosthène Guédon 2022-12-01 11:20:31 +01:00
  • 5e85e0b85c Accept multiple general authenticate fields Sosthène Guédon 2022-12-01 09:37:24 +01:00
  • 40cc497083 Add support for generate asymmetric keypair Sosthène Guédon 2022-11-23 11:59:11 +01:00
  • a0dfdd47cb Import Reply struct from opcard Sosthène Guédon 2022-11-23 11:35:31 +01:00
  • b49537de77 Add part of generate asymmetric keypair Sosthène Guédon 2022-11-23 11:02:26 +01:00
  • 674f043f6f Rename keys to match standard Sosthène Guédon 2022-11-22 16:01:08 +01:00
  • f4c128498c WIP: Implement key generation Sosthène Guédon 2022-11-22 15:16:47 +01:00
  • aa91b2b0bd Fix documentation compilation Sosthène Guédon 2022-12-16 11:21:05 +01:00
  • 640f949c62 Fix clippy warning Sosthène Guédon 2022-12-16 11:19:18 +01:00
  • 657c03582d Use Nitrokey trussed tag Sosthène Guédon 2022-12-16 11:14:19 +01:00
  • 43a2141122 Add pivy to CI docker image Sosthène Guédon 2022-12-16 11:06:16 +01:00
  • 3cdf78f580 Fix reuse compliance Sosthène Guédon 2022-11-22 10:01:12 +01:00
  • f3324bdd81 Add basic pivy test Sosthène Guédon 2022-11-21 17:49:26 +01:00
  • a6ff4b1483 Add support for AES keys in SET MANAGEMENT KEY and test AES keys for GENERAL AUTHENTICATE Sosthène Guédon 2022-11-21 16:02:32 +01:00
  • 5b11f90a02 Set the management algorithm with the key Sosthène Guédon 2022-11-16 16:19:03 +01:00
  • b38ae6a654 Add support for Aes key management in tests Sosthène Guédon 2022-11-15 11:20:37 +01:00
  • 2ef4a7db4a Fix set management key to accept any length Sosthène Guédon 2022-11-15 11:05:29 +01:00
  • a9b1598826 Add test for admin auth Sosthène Guédon 2022-11-10 16:47:07 +01:00
  • 9baa833558 Check that command algorithm corresponds with state Sosthène Guédon 2022-11-10 15:28:57 +01:00
  • fdf15d46dc Implemet GENERAL AUTHENTICATE get response support Sosthène Guédon 2022-11-10 15:09:15 +01:00
  • 335438326b Implement request for challenge Sosthène Guédon 2022-11-10 14:13:18 +01:00
  • c97341d499 Fix initial parsing of GENERAL AUTHENTICATE Sosthène Guédon 2022-11-09 11:10:45 +01:00
  • b6eb1dcdee Add README Sosthène Guédon 2022-11-08 15:01:42 +01:00
  • e26142dbd5 Relicense to LGPL and comply with reuse Sosthène Guédon 2022-11-08 10:39:39 +01:00
  • 03d9423408 Fix warnings Sosthène Guédon 2022-11-04 16:43:08 +01:00
  • 54d0ec794f Make the use of persistent state easier Sosthène Guédon 2022-11-04 16:29:44 +01:00
  • adebe375f6 Differenciate loading errors from empty filesystem Sosthène Guédon 2022-11-04 15:48:49 +01:00
  • 99440cc5bd Fix opcard -> piv-authenticator Sosthène Guédon 2022-11-04 15:33:10 +01:00
  • 99963b8e67 Add Nitrokey to authors Sosthène Guédon 2022-11-04 15:32:21 +01:00
  • 43533dfe49 Remove opcard's tlv impl and use the existing derp module Sosthène Guédon 2022-11-04 15:24:17 +01:00
  • bf7b72d320 Remove the need for const generics in the respond implementations Sosthène Guédon 2022-11-04 15:12:14 +01:00
  • 82b2898d1d Remove the iso command from yubico handler Sosthène Guédon 2022-11-04 12:23:05 +01:00
  • 0f2c146c7a Use macros to have one source of KeyReferences Sosthène Guédon 2022-11-04 11:49:20 +01:00
  • 10dd4d929b Remove const generic in state Sosthène Guédon 2022-11-04 10:50:16 +01:00
  • d5564b89be Fix clippy warning Sosthène Guédon 2022-11-04 10:39:35 +01:00
  • 1eeb959f7a Remove trussed from the persistent state Sosthène Guédon 2022-11-04 10:34:48 +01:00
  • 101cd52fe9 Fix boilerplate for GENERAL AUTHENTICATE Sosthène Guédon 2022-11-03 16:36:21 +01:00
  • f8ab31a5a0 move the checkmark call to the top of the after_script section lennard.boediger 2022-11-04 10:46:16 +01:00
  • c58a5af80c set initial-refacto as main branch for the ci lennard.boediger 2022-11-04 08:58:51 +01:00
  • 5efac0969b Use hex! for constants Sosthène Guédon 2022-11-03 11:11:37 +01:00
  • b8f120e4e1 Add gitlab ci Sosthène Guédon 2022-11-03 10:05:36 +01:00
  • 56bf2c850e Add yubico commands Sosthène Guédon 2022-11-01 11:52:20 +01:00
  • c3a5bf0c13 Remove outdated comments Sosthène Guédon 2022-10-31 17:30:13 +01:00
  • d0b68e9d89 Return FunctionNotSupported rather than NotFound for unimplemeted GetData objects Sosthène Guédon 2022-10-31 11:39:02 +01:00
  • d49bab35f6 Use full names for cryptosystems Sosthène Guédon 2022-10-31 11:27:07 +01:00
  • 2c0596a5d6 Remove command chaining Sosthène Guédon 2022-10-31 11:24:18 +01:00
  • 078b29e911 Fix remaining warnings Sosthène Guédon 2022-10-31 11:16:10 +01:00
  • bd81097730 Fix pivy-tool list Sosthène Guédon 2022-10-31 10:59:58 +01:00
  • 2d26ba0133 Improve documentation of default FASC_N Sosthène Guédon 2022-10-31 10:49:18 +01:00
  • 8e9b31bc0f Remove the unused apdu from the select command Sosthène Guédon 2022-10-31 09:56:14 +01:00
  • 2e8dd15006 Add convinience make targets Sosthène Guédon 2022-10-31 09:48:44 +01:00
  • 6082646b98 Fix fasc-n encoding Sosthène Guédon 2022-10-26 17:35:48 +02:00
  • d16a712d9a Add select command support and test Sosthène Guédon 2022-10-26 11:28:59 +02:00
  • e1a15b7647 Add test with default PIN Sosthène Guédon 2022-10-25 16:41:47 +02:00
  • c5fb0273ab Log commands Sosthène Guédon 2022-10-25 11:41:35 +02:00
  • 095244b033 Add infrastructure for command-response tests (taken from opcard-rs) Sosthène Guédon 2022-10-25 10:53:30 +02:00
  • 98fc2477ac Use recent method for macro import Sosthène Guédon 2022-10-25 10:22:23 +02:00
  • f7af0a4044 Add vsmartcard example Sosthène Guédon 2022-10-25 09:49:12 +02:00
  • 462aef8a1f Use trussed's virt module Sosthène Guédon 2022-10-24 17:03:21 +02:00
  • 1a8d80d77e Use latest trussed commit Sosthène Guédon 2022-10-24 16:44:46 +02:00
  • 8defec9205 Fix clippy warnings Sosthène Guédon 2022-10-24 16:32:08 +02:00
  • 727adba8f9 Update dependencies Sosthène Guédon 2022-10-24 16:10:13 +02:00