Commit Graph

  • 9dbf4b3172 Removing pkcs11-tool test for EC. Pol Henarejos 2023-10-12 19:03:37 +02:00
  • 76522829ef User must log in after DKEK import. Pol Henarejos 2023-10-12 17:42:49 +02:00
  • 6b1eeb4004 Fix DKEK import when no logged. Pol Henarejos 2023-10-12 17:42:31 +02:00
  • 2693ab4926 Fix applet selection. Pol Henarejos 2023-10-12 17:40:56 +02:00
  • 5d21e39aa6 Fix deleting key domain. Pol Henarejos 2023-10-12 17:40:20 +02:00
  • 1bf0d6337b Added backup and restore tests (pkcs11 wrap/unwrap). Pol Henarejos 2023-10-11 21:12:06 +02:00
  • 1950b03d35 Add more pkcs11-tool tests. Pol Henarejos 2023-10-11 21:11:41 +02:00
  • 4be258f4c7 Fix applet loading. Pol Henarejos 2023-10-11 21:04:53 +02:00
  • eddb1baf7b Use new applet selection format. Pol Henarejos 2023-10-11 21:03:17 +02:00
  • 11bb00e186 Default key domain is 0. Pol Henarejos 2023-10-11 21:03:09 +02:00
  • aaed6bd7b6 New format for applet selection. Pol Henarejos 2023-10-11 21:02:18 +02:00
  • 2853b38b08 Add PKCS11 tool test Pol Henarejos 2023-10-11 13:00:24 +02:00
  • 654cb1e4e0 Added AES pkcs11 tests. Pol Henarejos 2023-10-11 12:13:21 +02:00
  • 185d19504f Add plaintext debug. Pol Henarejos 2023-10-11 12:12:53 +02:00
  • dbe0ef19de Fix store binary test script. Pol Henarejos 2023-10-09 22:17:22 +02:00
  • c3b57b229f Add sc-hsm-pkcs11-test to test matrix. Pol Henarejos 2023-10-09 21:56:41 +02:00
  • 43c46e9112 Add sc-hsm-embedd pkcs11 driver and test. Pol Henarejos 2023-10-09 21:56:18 +02:00
  • d5af9160c1 Build in docker with for CI flag. Pol Henarejos 2023-10-09 21:55:55 +02:00
  • e27c8d4ff6 Added flag for compile for CI or production. Pol Henarejos 2023-10-09 21:55:31 +02:00
  • 2ecfff0ebb Add store binary data tests. Pol Henarejos 2023-10-09 21:15:51 +02:00
  • 3057aba041 Fix redundant line. Pol Henarejos 2023-10-09 21:15:23 +02:00
  • 011a594fe4 Also use artifacts@v3 on upload. Pol Henarejos 2023-10-09 19:18:04 +02:00
  • 448d61dd2d Use artifact@v3 Pol Henarejos 2023-10-09 19:00:36 +02:00
  • fa821c43c8 Prune images autom. Pol Henarejos 2023-10-09 19:00:23 +02:00
  • 9db3e78d32 Not necessary rmi Pol Henarejos 2023-10-09 18:41:01 +02:00
  • b74c4070d1 When build, it copies generated binaries to image, which will be used later by other jobs. Pol Henarejos 2023-10-09 18:26:16 +02:00
  • a7770a7e57 Check Pico HSM PCSC connectivity. Pol Henarejos 2023-10-09 18:25:10 +02:00
  • 78cbe59e64 Fix startup Pol Henarejos 2023-10-09 17:58:32 +02:00
  • 42a9434c50 Not used Pol Henarejos 2023-10-09 17:46:01 +02:00
  • 11a3472941 Refactor test workflow Pol Henarejos 2023-10-09 17:45:49 +02:00
  • 2f177eb8df Build image only during build Pol Henarejos 2023-10-09 16:46:51 +02:00
  • c97680772d Use artifacts Pol Henarejos 2023-10-09 16:36:37 +02:00
  • 345ae2be69 Not used Pol Henarejos 2023-10-09 16:36:00 +02:00
  • ba036f4c0f Add EC derive tests. Pol Henarejos 2023-10-09 16:35:51 +02:00
  • 4493afa84d Fix workflow Pol Henarejos 2023-10-09 14:46:37 +02:00
  • d118b787a2 Try using reusable workflows Pol Henarejos 2023-10-09 14:44:52 +02:00
  • 205356b848 Let's try different jobs Pol Henarejos 2023-10-09 14:21:55 +02:00
  • c435764978 Add PKCS11 asymmetric ciphering tests. Pol Henarejos 2023-10-09 13:10:10 +02:00
  • 2e633abb2c Use dynamic dd size. Pol Henarejos 2023-10-09 13:09:16 +02:00
  • 3514c7ad82 Fix pkcs11 runner test. Pol Henarejos 2023-10-09 09:30:15 +02:00
  • 4bba3c6f64 Merge branch 'master' into development Pol Henarejos 2023-10-09 08:30:53 +02:00
  • 8321996a14 Fix +x flag. Pol Henarejos 2023-10-09 08:30:24 +02:00
  • c3af303468 Split pytest and pkcs11 test suites. Pol Henarejos 2023-10-09 00:58:49 +02:00
  • c44d7db4e1 Refactor tests Pol Henarejos 2023-10-09 00:34:50 +02:00
  • cb1bba4f13 Enable pytest tests Pol Henarejos 2023-10-02 01:12:09 +02:00
  • 48301a5d71 Fix chunking Pol Henarejos 2023-10-02 00:50:34 +02:00
  • 1105a1263c Add signature and verification tests for RSA and ECDSA. Pol Henarejos 2023-10-02 00:48:54 +02:00
  • 37421d9aad Added pkcs11 keygen test script. Pol Henarejos 2023-09-26 20:09:43 +02:00
  • d906df2809 Add initialization test script with pkcs11 Pol Henarejos 2023-09-24 10:30:59 +02:00
  • 08e7d74a81 Fix sending binary when ne=0 Pol Henarejos 2023-09-24 10:30:09 +02:00
  • 433e509c94 Add initialize with pkcs11-tool test script. Pol Henarejos 2023-09-05 19:56:04 +02:00
  • 9f08d612ae Add base58 to dockerfile. Pol Henarejos 2023-09-05 19:55:39 +02:00
  • 173ca7678d Accept arbitrary SO-PIN length on reset retry. Pol Henarejos 2023-09-05 19:46:32 +02:00
  • 3d7f714936 Fix initialization with so-pin. Pol Henarejos 2023-09-05 18:44:12 +02:00
  • f4a537f156 Added NO_DELAY in emulation env. Pol Henarejos 2023-09-05 18:43:49 +02:00
  • f09654ccf4 Added --silent flag to initialization to avoid prompt display. Pol Henarejos 2023-09-05 18:15:05 +02:00
  • 7506ccd263 Update usage.md Pol Henarejos 2023-09-05 19:45:51 +02:00
  • ee442ac084 Get vpcd from repo instead of building it. Pol Henarejos 2023-08-24 16:39:57 +02:00
  • b94810d31d Added triggers to development-eddsa branch. Pol Henarejos 2023-08-24 16:17:06 +02:00
  • 2c4be41ecf Remove print. Pol Henarejos 2023-08-24 16:12:40 +02:00
  • 447d223de4 Fix mbedtls ed448 bugs. Pol Henarejos 2023-08-24 16:12:34 +02:00
  • 4f9f7f14fe Add support for Edwards cvc. Pol Henarejos 2023-08-24 16:08:39 +02:00
  • 6699913eff Add edwards signature test. Pol Henarejos 2023-08-24 16:06:02 +02:00
  • b0057bc3fe Add edwards key import test. Pol Henarejos 2023-08-24 16:05:52 +02:00
  • e3a773d145 Add edwards key generation test. Pol Henarejos 2023-08-24 16:05:43 +02:00
  • 10a47f9177 Uniform ec key loading. Pol Henarejos 2023-08-24 16:05:34 +02:00
  • 9f49a144ac Add support for Edwards key import. Pol Henarejos 2023-08-24 16:05:11 +02:00
  • e67a7091ff Add support for Edwards key generation. Pol Henarejos 2023-08-24 16:04:45 +02:00
  • 1d3232df36 Fix loading and saving Montgomery keys. Pol Henarejos 2023-08-24 16:01:39 +02:00
  • 7376817724 Fix G export. Pol Henarejos 2023-08-24 16:00:59 +02:00
  • 5e801fbae7 Merge branch 'development' into development-eddsa Pol Henarejos 2023-08-24 10:35:51 +02:00
  • e18c413268 Added X25519 and X448 exchange test. Pol Henarejos 2023-08-23 16:42:34 +02:00
  • 0e1c82196a Added test for Curve25519 and Curve448 key import. Pol Henarejos 2023-08-23 16:39:32 +02:00
  • c6a5272340 Added test for Curve25519 and Curve448 keypair generation. Pol Henarejos 2023-08-23 16:39:21 +02:00
  • a6072b4ce8 Curve25519 and Curve448 are encoded using ECDH template. Pol Henarejos 2023-08-23 16:38:51 +02:00
  • 5bdba8e1e8 Move to ecp_keypair instead of ecdsa. Pol Henarejos 2023-08-22 17:20:56 +02:00
  • 5df4e62f81 Revert previous fix. Pol Henarejos 2023-08-22 17:20:11 +02:00
  • 685c7f25fc Revert previous fix. Pol Henarejos 2023-08-22 17:19:23 +02:00
  • faef2dc278 Added support for EdDSA signature. Pol Henarejos 2023-08-22 17:10:03 +02:00
  • 22d8793683 Add fix in EdDSA. Pol Henarejos 2023-08-22 15:29:26 +02:00
  • 32c8bc4a24 Enable EdDSA for curves Ed25519 and Ed448 in config file. Pol Henarejos 2023-08-16 15:05:46 +02:00
  • b5174d64af Using SDK with EdDSA support. Pol Henarejos 2023-08-14 02:45:16 +02:00
  • 235bf342b3 Update README.md Pol Henarejos 2023-08-02 14:34:12 +02:00
  • 57188ff877 Added some tests for HD ciphering. Pol Henarejos 2023-07-24 11:45:11 +02:00
  • f631e4a5f3 Code style. Pol Henarejos 2023-07-17 12:56:16 +02:00
  • f880ee6c93 Added support for HD symmetric ciphering. Pol Henarejos 2023-07-17 12:55:14 +02:00
  • 6af4cc7fec Fix getting RTC with pico-hsm-tool. Pol Henarejos 2023-06-20 13:32:30 +02:00
  • e3f1f45a9f Added more tests for HD Signature. Pol Henarejos 2023-05-27 19:00:13 +02:00
  • fe315e7326 Fix AES derivation (HKDF). Pol Henarejos 2023-05-27 19:00:04 +02:00
  • 02903bbc65 Added tests for HD signatures. Pol Henarejos 2023-05-26 18:07:26 +02:00
  • ee3ee21e40 Added support for signatures based on HD BIP/SLIP. Pol Henarejos 2023-05-26 18:07:06 +02:00
  • c6c00e7e43 Added tests for SLIP-0021 node derivation. Pol Henarejos 2023-05-26 17:15:30 +02:00
  • 29544a3f17 Added support for SLIP-0021 node derivation. Pol Henarejos 2023-05-26 17:15:14 +02:00
  • 5135404083 Fix node derivation. Pol Henarejos 2023-05-25 15:17:39 +02:00
  • 55520ce184 Added support for master key generation for symmetric derivation. Pol Henarejos 2023-05-25 14:07:48 +02:00
  • 525b05b7ef Small refactoring to avoid unnecessary casts from uint32 to byte strings. Pol Henarejos 2023-05-25 12:18:28 +02:00
  • b61a34d415 Added more tests for secp256r1 curves. Pol Henarejos 2023-05-24 12:47:49 +02:00
  • 0eea0fb096 Fix deriving nodes with retries (invalid first key). Pol Henarejos 2023-05-24 12:47:27 +02:00
  • 82c03ee6c4 Fix memory free on error. Pol Henarejos 2023-05-24 12:40:51 +02:00
  • 20dfbcaaed Fix xpub for masters. Pol Henarejos 2023-05-24 11:25:36 +02:00