Commit Graph

  • 05b1686c05 Upgrade to version 1.5.1 main Pol Henarejos 2025-12-15 01:18:03 +01:00
  • f372f1b7d5 Add OID for PicoKeys. Pol Henarejos 2025-12-15 01:17:37 +01:00
  • 23f3e0e13e Fix small typos. Pol Henarejos 2024-04-17 14:09:05 +02:00
  • 0f45b8bbcb Upgrade to version 1.5 Pol Henarejos 2024-04-17 14:06:59 +02:00
  • 02d0f974b5 Add to_crypto() method to inside the class. Pol Henarejos 2024-04-17 14:04:01 +02:00
  • dfb07457a0 Remove use of match, as it requires Python > 3.10 and can be easily replaced by if-else. Pol Henarejos 2023-10-09 00:37:10 +02:00
  • 1fb2505a13 Not using --print-bits anymore. Pol Henarejos 2023-10-08 19:01:39 +02:00
  • 6c5f5eb758 Use string methods. Pol Henarejos 2023-10-08 19:01:25 +02:00
  • 964f9d86ce Added methods for displaying str on role and type. Pol Henarejos 2023-10-08 19:01:15 +02:00
  • 449da62d66 Since fields are printed in a compact manner, --print-bits is removed as it only helps displaying just a single line. Pol Henarejos 2023-10-08 18:38:22 +02:00
  • ff32bbef13 Added tests for each field of CHAT for AT, ST and IS terminals. Pol Henarejos 2023-10-08 02:47:11 +02:00
  • 9e8c326152 Added tests for checking certificate validity. Pol Henarejos 2023-10-08 02:46:35 +02:00
  • 361b6ecc62 Fixed signature/verification for secp521r1. Pol Henarejos 2023-10-08 02:34:53 +02:00
  • 36e193113c Add --print-bits flags to tests. Pol Henarejos 2023-10-07 20:41:16 +02:00
  • 30f9b5d474 Print only active fields. Pol Henarejos 2023-10-07 20:41:02 +02:00
  • 4e70d8ce01 Fix --pin-management and --privileged flags. Pol Henarejos 2023-10-07 20:39:53 +02:00
  • b8b482fe5b Added 'from_bytes()' method. Pol Henarejos 2023-10-07 20:39:40 +02:00
  • c7bcd24522 Role returns a TypeAT, TypeIS or TypeST object. Pol Henarejos 2023-10-07 20:38:05 +02:00
  • 9ec8aa02dd Fix DV foreign creation. Pol Henarejos 2023-10-07 12:13:03 +02:00
  • 9d7b3eeb5e Merge pull request #7 from xoryouyou/main Pol Henarejos 2023-10-07 12:04:42 +02:00
  • 6d7a67486b Moved decode_authorization_bits to cvc_print and adapted the tests Removed unused debug prints xoryouyou 2023-09-23 09:40:28 +02:00
  • 5084f7542d Reverted formatter changes xoryouyou 2023-09-11 22:14:17 +02:00
  • 92f682651d moved authorization bits to cvc_print and added --print-bits flag xoryouyou 2023-09-11 21:59:50 +02:00
  • 02a4b5348c Pivoted AuthorizationBits dict. Cleaned up the bits_test and added asserts Also added utility to convert arbitrary files to hexstring xoryouyou 2023-09-11 21:52:06 +02:00
  • e5c1b0f32b Basic Authorization bit parsing and dummy unittest xoryouyou 2023-09-08 23:33:47 +02:00
  • c57ddec8b0 Upgrade to version 1.4 Pol Henarejos 2023-08-25 15:36:16 +02:00
  • f9a49d4e50 Update README to describe which algorithms, curves and schemes are supported. Pol Henarejos 2023-08-25 13:39:12 +02:00
  • 0984b5f942 Add Ed448 tests. Pol Henarejos 2023-08-25 13:37:32 +02:00
  • cf8994abb0 Updated README to include EdDSA CA creation. Pol Henarejos 2023-08-25 13:30:47 +02:00
  • d5c2cd4789 Add test scripts. Pol Henarejos 2023-08-25 13:23:26 +02:00
  • 5acbc25fbd Add EdDSA CA tests. Pol Henarejos 2023-08-25 13:23:13 +02:00
  • 573b7af88f Added multiple tests for curves and schemes. Pol Henarejos 2023-08-25 13:16:58 +02:00
  • 7f1e5e94b2 Added SECP224R1 curve. Pol Henarejos 2023-08-25 12:58:56 +02:00
  • 22e9328846 Add support for EdDSA print. Pol Henarejos 2023-08-25 12:31:39 +02:00
  • b293bda55a Add support for EdDSA certificate creation. Pol Henarejos 2023-08-25 12:31:23 +02:00
  • 0a281c8c4f Add EdDSA scheme based on ID_RI_ECDH_SHA_256. Pol Henarejos 2023-08-25 12:31:10 +02:00
  • 71d9cbc5d6 Add support for EdDSA certificates. Pol Henarejos 2023-08-25 12:30:56 +02:00
  • aa67a9a334 Fix no build. Pol Henarejos 2023-08-25 12:29:21 +02:00
  • ca7d9b189d Add test workflow. Pol Henarejos 2023-08-25 12:28:35 +02:00
  • dd7d3fa731 Upgrade version. Pol Henarejos 2023-08-24 16:13:45 +02:00
  • 0bfe198b0b Add Edwards curves. Pol Henarejos 2023-08-24 16:13:26 +02:00
  • d0e20e1507 Upgrade to version 1.3.0. Pol Henarejos 2023-08-23 16:57:44 +02:00
  • ddce3d541f Updated README to include Curve25519 and Curve448. Pol Henarejos 2023-08-23 16:57:36 +02:00
  • 321f1986d0 Added support for ECDH keys with Curve25519 and Curve448. Pol Henarejos 2023-08-23 16:37:22 +02:00
  • 1b9a6501db Fix montgomery curves generator. Pol Henarejos 2023-08-23 16:28:11 +02:00
  • ce1292f336 Add support for Curve25519 and Curve448 Pol Henarejos 2023-08-23 13:26:50 +02:00
  • 15c2c9c9c7 Upgrade to version 1.2.6. Pol Henarejos 2023-05-18 10:11:22 +02:00
  • 499d9a2fef Fix setting CHAT to CV requests. Pol Henarejos 2023-05-18 10:11:03 +02:00
  • 5e81836452 Adding support to --since flag to specify certificate effective date. If no specified, default --since date is today. Pol Henarejos 2023-05-18 10:07:27 +02:00
  • 09b0ae1e6a Create FUNDING.yml Pol Henarejos 2023-05-17 10:29:52 +02:00
  • fa989d20d9 Upgrade to version 1.2.5 Pol Henarejos 2023-05-17 09:14:27 +02:00
  • fe4aacbf6a Added --chat flag to specify custom CHAT bits. Pol Henarejos 2023-05-17 09:13:41 +02:00
  • a921e437e3 Added chat method to specify custom CHAT bits. Pol Henarejos 2023-05-17 09:13:27 +02:00
  • e65c41ee93 Rename --read-finger to --read-fingerprint Pol Henarejos 2023-05-17 08:59:50 +02:00
  • 0265b10d7e Fix setting --read-iris and --read-fingerprint for IS terminal types. Pol Henarejos 2023-05-17 08:59:32 +02:00
  • eda73e9b3f Adding more curves Pol Henarejos 2023-04-27 14:08:15 +02:00
  • 31fee5df69 Upgrade to version 1.2.4. Pol Henarejos 2023-04-19 08:45:27 +02:00
  • eeafd795c4 Fix verifying RSA signatures. Pol Henarejos 2023-04-19 08:45:15 +02:00
  • 465aeba850 Added example to PKI with RSA. Pol Henarejos 2023-04-19 08:45:00 +02:00
  • 810de709b6 Fix RSA public number parsing. Pol Henarejos 2023-04-19 08:19:34 +02:00
  • 0d84168fc0 Upgrade to version 1.2.3 Pol Henarejos 2023-04-18 08:59:48 +02:00
  • cb3811422b Fix CHAT length in case of all-zeros. Pol Henarejos 2023-04-18 08:52:38 +02:00
  • 9cbbff0390 Fix parsing RSA public key. Pol Henarejos 2023-04-18 08:50:03 +02:00
  • 2bd62fdfce Fixed tags of RSA public key. Pol Henarejos 2023-04-18 08:49:48 +02:00
  • 18b76807e6 Fix writing RSA public key. Pol Henarejos 2023-04-18 08:44:20 +02:00
  • 3ade4784c7 Fix readme. Pol Henarejos 2023-04-17 15:36:53 +02:00
  • 8f3c629af6 Fix CV request generation. Pol Henarejos 2023-04-17 15:29:52 +02:00
  • 7291c80e73 Update codeql-analysis.yml Pol Henarejos 2023-03-08 22:35:34 +01:00
  • b8333b9de7 Upgrade to version 1.2.1 Pol Henarejos 2023-03-08 22:00:54 +01:00
  • b6a792f16b Added support for custom index base. Pol Henarejos 2023-03-08 22:00:36 +01:00
  • 730707baa5 Upgrade to v1.2.0 Pol Henarejos 2023-03-08 21:59:12 +01:00
  • 6a60187ec4 Added support for extensions in body. Pol Henarejos 2023-03-08 21:59:01 +01:00
  • b835f951b0 Fix with bytes() and bytearray() types. Pol Henarejos 2022-08-25 10:35:31 +02:00
  • b58948d494 Fix readme. Pol Henarejos 2022-08-23 14:47:15 +02:00
  • f22e7bff1a Upgrade to version 1.1. Pol Henarejos 2022-08-23 14:45:11 +02:00
  • 8322f43371 Added examples for creation and validation. Pol Henarejos 2022-08-23 14:45:03 +02:00
  • bb0a528905 Added --request argument to generate a certificate based on a request (CVREQ). Pol Henarejos 2022-08-23 14:44:28 +02:00
  • a8666d61a5 Added all oid found in the specs. Pol Henarejos 2022-08-23 14:44:06 +02:00
  • 29344fb408 cert_dir is an optional parameter. Pol Henarejos 2022-08-23 14:43:53 +02:00
  • 5c4048f335 Upgrade to v1.0.3. Pol Henarejos 2022-08-23 13:50:59 +02:00
  • 0c3be1ee42 Added clarification on some DG parameters. Pol Henarejos 2022-08-23 13:50:43 +02:00
  • 8949bfda3d Added extra arguments when verify() to provide extern curve parameter or dica (to avoid cert_dir). Pol Henarejos 2022-08-23 12:22:35 +02:00
  • c3f1c3b084 verify() is added to CVC class, which verifies the current content. Pol Henarejos 2022-08-23 00:48:12 +02:00
  • 13fd2b6209 Remove trail spaces. Pol Henarejos 2022-08-23 00:47:51 +02:00
  • 94d0d8e044 Fix returning branipool curves. Pol Henarejos 2022-08-23 00:47:12 +02:00
  • f6f93327de Added a flag to include the tag when the data() is called. Pol Henarejos 2022-08-23 00:46:55 +02:00
  • 1ed2c8ad70 Added positional index to return with find() when multiple tags can be found. Pol Henarejos 2022-08-23 00:46:18 +02:00
  • 9d32ac11e8 Upgrade version. Pol Henarejos 2022-08-18 18:09:30 +02:00
  • ae2e419bdd Fix certificate generation when valid parameter is provided. Pol Henarejos 2022-08-18 16:10:41 +02:00
  • 15f797e016 Updated version. Pol Henarejos 2022-08-18 16:09:56 +02:00
  • 58a1898cd6 Create codeql-analysis.yml Pol Henarejos 2022-08-17 18:24:58 +02:00
  • 33ed11ba78 Create python-publish.yml Pol Henarejos 2022-08-17 18:19:14 +02:00
  • bc0e4d5377 Not used. Pol Henarejos 2022-08-17 18:14:41 +02:00
  • 3b992a0dae Updated README. Pol Henarejos 2022-08-17 18:13:08 +02:00
  • 3f70808d42 Added description in markdown. Pol Henarejos 2022-08-17 18:13:00 +02:00
  • 308a4d61ea Preparing directory tree for distribution. Pol Henarejos 2022-08-17 17:20:45 +02:00
  • 47a2798b9d Added support for outer signature verification. Pol Henarejos 2022-08-17 13:47:13 +02:00
  • 714e2b1714 Added type names. Pol Henarejos 2022-08-17 13:46:57 +02:00
  • 0ee9451f69 Fix creating certificate requests with outer signatures. Pol Henarejos 2022-08-17 13:46:48 +02:00
  • f841fe6dd0 Fix finding tags. Pol Henarejos 2022-08-17 13:46:34 +02:00