Commit Graph

  • 24d430a3ac Updating pointer to include aesni Pol Henarejos 2023-01-30 13:04:34 +01:00
  • 307eb63ee5 Init submodules in actions. Pol Henarejos 2023-01-30 12:59:03 +01:00
  • 07f85dc4b8 Add warning removal Pol Henarejos 2023-01-30 12:18:18 +01:00
  • a4026e0ca0 Submodules must be pulled. Pol Henarejos 2023-01-30 12:09:46 +01:00
  • ebd8dc7bb8 Add apt-utils package. Pol Henarejos 2023-01-30 12:08:16 +01:00
  • bac15d5472 Removing TTY from docker. Pol Henarejos 2023-01-30 12:05:03 +01:00
  • 8540fdcf19 Updating pointer. Pol Henarejos 2023-01-30 12:01:20 +01:00
  • fc8d39882f Add missing build file. Pol Henarejos 2023-01-30 12:00:57 +01:00
  • ca093eb81e Add emulation and test workflow. Pol Henarejos 2023-01-30 11:59:26 +01:00
  • 35c42bccb4 List PRKD if exist. Pol Henarejos 2023-01-30 01:25:25 +01:00
  • 52114b2d85 Added initialization on each keypairgen. Pol Henarejos 2023-01-30 01:25:05 +01:00
  • 8f593f6357 Added support for build emulation in Apple and Linux. Pol Henarejos 2023-01-30 01:24:35 +01:00
  • 6f8769ee8d Added scripts for testing in a docker container. Pol Henarejos 2023-01-30 01:24:10 +01:00
  • 1af461c206 Add first battery of tests. Pol Henarejos 2023-01-17 13:41:10 +01:00
  • 8976dc1f79 Added support for RSA-PKCSv15-SHA224, SHA384 and SHA512. Also added support for RSA-PSS-SHA224, SHA384 and SHA512. Pol Henarejos 2023-01-17 00:41:46 +01:00
  • 9d47e62041 Fix signature for secp521r1. Pol Henarejos 2023-01-17 00:05:46 +01:00
  • 0daddfd477 Fix ECDSA-SHA384 and ECDSA-SHA512. Pol Henarejos 2023-01-17 00:05:31 +01:00
  • 89d617110f Add asn1_build_prkd_rsa() Pol Henarejos 2023-01-16 18:54:28 +01:00
  • 17941397e9 Fix exporting large ECC key. Pol Henarejos 2023-01-16 18:54:20 +01:00
  • f2aa4aae79 Moving pointer to latest bug fixes. Pol Henarejos 2023-01-14 00:41:23 +01:00
  • e29b3143ed Moving pointer Pol Henarejos 2023-01-13 18:49:08 +01:00
  • 5419ff74ee Using file_has_data() to check contents. Pol Henarejos 2023-01-13 18:07:50 +01:00
  • 723011078c Using file_has_data() instead of data directly. Pol Henarejos 2023-01-12 20:06:31 +01:00
  • fe7c0333ab Some emulation fixes. Pol Henarejos 2023-01-12 20:06:11 +01:00
  • c01940b62b Fix accessing way to data. Pol Henarejos 2023-01-12 20:05:59 +01:00
  • 7195a8f3ec Fix headers in emulation mode. Pol Henarejos 2023-01-12 20:05:46 +01:00
  • 7764de4e10 Unused headers. Pol Henarejos 2023-01-12 20:05:16 +01:00
  • e05c526b4d Fix printf format. Pol Henarejos 2023-01-12 20:04:55 +01:00
  • bc20f98b44 In emulation, return always 1mb of memory. Pol Henarejos 2023-01-12 20:04:44 +01:00
  • 742c3f3e3c RTC command is not available in emulation. Pol Henarejos 2023-01-12 20:04:23 +01:00
  • 9793977ffc Fixed double counter increment. Pol Henarejos 2023-01-12 20:04:05 +01:00
  • 6c85772fff Added emulated build capability. Pol Henarejos 2023-01-12 20:03:42 +01:00
  • 9ff3254a4c Update to latest HSM SDK. Pol Henarejos 2022-12-22 22:50:54 +01:00
  • 7d906851dd Updating to newer version of Pico HSM SDK. Pol Henarejos 2022-12-20 23:51:49 +01:00
  • 691aa3308c Fix when importing a dkek and it fails. Pol Henarejos 2022-12-06 20:11:26 +01:00
  • 6a57e67629 Fix importing dkek twice. Pol Henarejos 2022-12-06 20:04:18 +01:00
  • 202c8a4b22 Credentials are not necessary when importing DKEK. Pol Henarejos 2022-12-06 20:00:32 +01:00
  • f2874ae3ef Fix when ping is provided during the initialization. Pol Henarejos 2022-12-06 20:00:19 +01:00
  • 9e9cf9b768 Upgrading version to v3.2. v3.2 Pol Henarejos 2022-12-06 19:00:44 +01:00
  • c95dee84f2 Changing backend service url. Pol Henarejos 2022-12-06 19:00:35 +01:00
  • 65cde9960f Upgrading version to v3.2. Pol Henarejos 2022-12-04 17:42:03 +01:00
  • 7ca96178fb Moving HSM SDK pointer to latest release. Pol Henarejos 2022-11-28 18:54:22 +01:00
  • 020feaf325 Update README.md Pol Henarejos 2022-11-15 22:42:43 +01:00
  • e70461e551 Merge branch 'master' into development Pol Henarejos 2022-11-15 17:40:29 +01:00
  • 0e918434a2 Update README.md Pol Henarejos 2022-11-15 17:38:33 +01:00
  • 63c85000d0 Added support for kdf. Pol Henarejos 2022-11-15 00:15:59 +01:00
  • 4113f6a65d Fix parsing PBKDF2 params. Pol Henarejos 2022-11-15 00:14:39 +01:00
  • f98d744076 Add apdu.ne check for large buffers. Pol Henarejos 2022-11-14 18:04:44 +01:00
  • bb4c293736 Adding subparsers for subcommands. Pol Henarejos 2022-11-14 16:27:51 +01:00
  • aa8b1e6efe Added support for X963 KDF. Pol Henarejos 2022-11-14 15:38:16 +01:00
  • 0cb2e8ec2e Added PBES2 key derivation with encryption and decryption support. Pol Henarejos 2022-11-14 13:07:49 +01:00
  • 0e96753ccb Added support for PBKDF2. Pol Henarejos 2022-11-14 12:01:27 +01:00
  • 2b2df22d75 Added support for configurable HKDF. Pol Henarejos 2022-11-14 10:14:54 +01:00
  • f65167e3c7 Adding support for keypair generation for Curve25519 and Curve448. Pol Henarejos 2022-11-11 17:10:34 +01:00
  • 8fe2677a56 Fix cofactor return with cvc. Pol Henarejos 2022-11-11 17:08:36 +01:00
  • d09a7cf9c8 If self-signature fails, puts all-0. Pol Henarejos 2022-11-11 17:04:17 +01:00
  • 6bf72e5a59 Added support for HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384 and HMAC-SHA512. Pol Henarejos 2022-11-08 17:26:32 +01:00
  • 7c877ebea2 Using file_out parameter. Pol Henarejos 2022-11-07 22:31:19 +01:00
  • e1983f7bcc Now is possible pipe encrypt & decrypt commands. Pol Henarejos 2022-11-07 22:16:10 +01:00
  • a5e025a4e5 If no applet is selected, then select it. Pol Henarejos 2022-11-07 21:37:42 +01:00
  • a7682d2639 Adding Extended Cipher feature. Pol Henarejos 2022-11-07 21:37:11 +01:00
  • 30301c68f1 Linux uses the generic interface. Needs deep testing. Pol Henarejos 2022-11-07 13:14:37 +01:00
  • abf980d84e Fixes in windows backend. Pol Henarejos 2022-11-03 18:41:02 +01:00
  • 8718f55df2 Adding secure_key for windows. Pol Henarejos 2022-11-03 18:26:35 +01:00
  • d1a3a24527 Import secure_key only when needed. Pol Henarejos 2022-11-03 16:09:42 +01:00
  • f363b77a07 Adding secure_key for macOS. Pol Henarejos 2022-11-03 15:42:43 +01:00
  • d5899a90c1 Merge pull request #10 from rrottmann/small-fixes Pol Henarejos 2022-11-03 16:05:56 +01:00
  • f1058ea611 Merge branch 'master' into small-fixes #10 Pol Henarejos 2022-11-03 15:48:33 +01:00
  • 00279da8d5 Adding Secure Lock to lock the device with a random 256 bit key. Pol Henarejos 2022-10-31 15:09:54 +01:00
  • eda8b53949 Memory cleanup on ECDH. Pol Henarejos 2022-10-31 12:54:44 +01:00
  • cfc0cc8f6e Some optimizations. Pol Henarejos 2022-10-31 00:38:30 +01:00
  • ab61b2a2d5 Fix returning public key of koblitz curve secp_k1. Pol Henarejos 2022-10-31 00:38:21 +01:00
  • f79a6ed30a Do not override Ne. Pol Henarejos 2022-10-30 23:42:12 +01:00
  • 4313722b06 Fix memory free on keygen ecc. Pol Henarejos 2022-10-30 23:15:22 +01:00
  • eec4612a6f Fix when secure message cannot be correctly processed. Pol Henarejos 2022-10-30 21:11:06 +01:00
  • b2ac893efc Fix general authentication with AES. Pol Henarejos 2022-10-30 21:09:41 +01:00
  • 14e8d9cd04 Fixing typo in command. Reiner Rottmann 2022-10-30 08:52:28 +01:00
  • 1a6cfd17cb Small fix in ModuleNotFoundError handling. Reiner Rottmann 2022-10-30 08:51:57 +01:00
  • 3835507e00 Fix displaying error message if pycvc is missing. Pol Henarejos 2022-10-29 11:35:54 +02:00
  • 4536589e2c Added error message if package is missing. Pol Henarejos 2022-10-10 11:02:07 +02:00
  • 1e39558fbc Typo v3.0 Pol Henarejos 2022-10-10 00:39:32 +02:00
  • a089cc279b Adding support for changing SO-PIN. Pol Henarejos 2022-10-10 00:37:56 +02:00
  • 84f646dbad Fix storing SO-PIN session when checking PIN with SO-PIN. Pol Henarejos 2022-10-10 00:37:33 +02:00
  • b9ec473aaa Fix critical bug saving SO-PIN securely. Pol Henarejos 2022-10-10 00:27:46 +02:00
  • b7eb0dff02 Upgrade to Version 3.0. Pol Henarejos 2022-10-09 22:27:11 +02:00
  • 06f550cc04 Update usage.md Pol Henarejos 2022-10-09 22:26:45 +02:00
  • 1752b1aec7 Update usage.md Pol Henarejos 2022-10-09 22:25:35 +02:00
  • 67ea640a14 Fix endianness of patcher (again) Pol Henarejos 2022-10-09 22:20:41 +02:00
  • f593060007 Moving delete_file() outside. Pol Henarejos 2022-10-09 22:07:21 +02:00
  • 8504eed35c Adding fixes and moving to Mbedtls 3.2.1 Pol Henarejos 2022-10-09 22:07:10 +02:00
  • 8b29b137a8 Small fixes. Pol Henarejos 2022-10-09 22:04:30 +02:00
  • 08d3ca6d27 Update README.md Pol Henarejos 2022-10-09 19:57:52 +02:00
  • e6767f4c0a Moving pointer. Pol Henarejos 2022-09-25 23:25:16 +02:00
  • 9e5d65706e Merge pull request #2 from rrottmann/master Pol Henarejos 2022-09-25 18:42:37 +02:00
  • 61d7b6da38 Added Dockerfile for building pico-hsm and updated README.md with instructions. #2 Reiner Rottmann 2022-09-23 20:36:05 +02:00
  • 6affe64ec5 Adding missing file to pico-hsm-sdk. Pol Henarejos 2022-08-31 14:19:32 +02:00
  • ab75718927 Using pico_hsm_sdk library instead. Pol Henarejos 2022-08-31 14:10:04 +02:00
  • 9e1747e539 Upgrading pico-hsm-sdk version to v3.0 Pol Henarejos 2022-08-31 14:09:02 +02:00
  • a7396dc698 Fix the endianness of vid/pid patcher. Pol Henarejos 2022-08-31 14:08:29 +02:00
  • 67699bd24c Before initializing, we select the applet. Pol Henarejos 2022-08-30 17:55:56 +02:00