Commit Graph

  • 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
  • a9fb170c58 Added tests for BIP and SLIP. Pol Henarejos 2023-05-23 20:40:31 +02:00
  • 46d85c029e Added first commit with BIP and SLIP support for cryptowallets. Pol Henarejos 2023-05-23 20:40:16 +02:00
  • 1c6f4cfd7f Update FUNDING.yml Pol Henarejos 2023-05-17 09:44:59 +02:00
  • 526869bc06 Create FUNDING.yml Pol Henarejos 2023-05-17 09:42:57 +02:00
  • 279df32acc Update README.md Pol Henarejos 2023-05-11 20:05:28 +02:00
  • c402b884cc Upgrade to mbedtls 3.4 Pol Henarejos 2023-05-10 00:17:32 +02:00
  • 8316196b42 Using forked vsmartcard just in case Pol Henarejos 2023-05-04 11:10:58 +02:00
  • 7a6dafd7b6 Moving HSM SDK pointer Pol Henarejos 2023-05-04 09:13:15 +02:00
  • 6d3809a792 Allow signatures with device key. Pol Henarejos 2023-04-06 14:09:18 +02:00
  • f22f58f983 Fix returning EOF when reading an element outside the size. Pol Henarejos 2023-04-06 14:08:43 +02:00
  • 405bf92e18 Added support for TokenInfo and StaticTokenInfo files. Pol Henarejos 2023-04-04 09:53:26 +02:00
  • b5b6dcd2e6 Fix conditional build for WS2812. Pol Henarejos 2023-03-26 20:16:09 +02:00
  • d637dbec01 Added CMAC and AES generation to README. Pol Henarejos 2023-03-26 18:42:12 +02:00
  • ebcac9dfdc Upgrade to pico-hsm-tool to use the newer PicoHSM python package. Pol Henarejos 2023-03-23 20:19:53 +01:00
  • 510b148adf Update README with latest AES algorithms. Pol Henarejos 2023-03-23 20:19:15 +01:00
  • 371ae93fcd Added support for AES CCM. Pol Henarejos 2023-03-23 19:20:33 +01:00
  • f5e875a6b7 Added support for AES CTR. Pol Henarejos 2023-03-23 18:47:32 +01:00
  • ad3304a384 Added AES XTS tests, with and without IV. Pol Henarejos 2023-03-22 23:29:31 +01:00
  • 4d647ba3c8 Add sanity check if wrong oid is provided. Pol Henarejos 2023-03-22 23:28:55 +01:00
  • 008db87fa7 Fix AES XTS call. Pol Henarejos 2023-03-22 23:28:22 +01:00
  • 1d80b45439 Add tests for AES extended. Pol Henarejos 2023-03-22 23:25:25 +01:00
  • 17560034ec Fix AES extended encoding call. Pol Henarejos 2023-03-22 23:23:12 +01:00
  • 8b0d85fbd4 Fix PRKD generation for AES. Pol Henarejos 2023-03-22 22:57:15 +01:00
  • 3dcb2e9d70 A PRKD is generated on every key import, regardless it might be replaced later. Pol Henarejos 2023-03-22 22:56:55 +01:00
  • 0f12ff1c48 Added support for PRKD for AES. Pol Henarejos 2023-03-22 22:07:34 +01:00
  • 2a5fe1cc6d Added initialization with self-signed certificate. Pol Henarejos 2023-03-22 01:04:24 +01:00
  • 5e0f62265d Fix key size of terminal cert. Pol Henarejos 2023-03-20 21:41:38 +01:00
  • 0990805fb6 More code style. Pol Henarejos 2023-03-20 20:08:29 +01:00
  • 18bcf532e7 PicoHSM always returns bytes(). Pol Henarejos 2023-03-20 20:07:33 +01:00
  • 9f0316aedd Add chachapoly tests. Pol Henarejos 2023-03-20 18:08:00 +01:00
  • 088002863c Before cloning, it should be removed. Pol Henarejos 2023-03-20 18:03:49 +01:00