1
0
mirror of https://github.com/opencryptoki/opencryptoki.git synced 2026-10-24 05:39:17 +03:00

Commit Graph

  • 1cf361530d TESTCASES: Add tests for CKR_BUFFER_TOO_SMALL on encrypt and decrypt master Ingo Franzki 2026-10-19 16:49:34 +02:00
  • 3f6fb6d30b TESTCASES: Add unit tests for PKCS#7 padding and unpadding Ingo Franzki 2026-10-19 16:16:08 +02:00
  • 594f41b08b TOOLS: Fix ICSF mock server to handle too short output buffers for en/decypt Ingo Franzki 2026-10-20 09:10:20 +02:00
  • 73d27be1ac ICSF: Fix Output buffer size check for CBC-PAD decryption Ingo Franzki 2026-10-20 09:08:56 +02:00
  • e5cf411278 EP11: Return required output size on CKR_BUFFER_TOO_SMALL Ingo Franzki 2026-10-20 11:51:56 +02:00
  • 5dcf5ef3d2 COMMON: Return required output size on CKR_BUFFER_TOO_SMALL Ingo Franzki 2026-10-20 10:10:03 +02:00
  • 6887ee91a4 COMMON: Cleanse output buffer in case of unpadding errors Ingo Franzki 2026-10-20 10:52:46 +02:00
  • d5beecc9ca COMMON: Fix AES/DES/DES3-CBC-PAD PKCS#7 unpadding Ingo Franzki 2026-10-19 11:19:23 +02:00
  • f14f7a916f COMMON: Fix out-of-bounds access with AES/DES/DES3-CBC-PAD decryption Ingo Franzki 2026-10-19 11:15:39 +02:00
  • 238eb40a57 TESTCASES: Enhance the ASN.1 unit tests to test for PKCS#8 and SPKI compatibility Ingo Franzki 2026-10-16 08:23:45 +02:00
  • 9415b058cd TESTCASES: Correct the ASN.1 unit tests for Edwards and Montgomery keys Ingo Franzki 2026-10-14 16:15:48 +02:00
  • 595ca62ada COMMON: Fix BER encoding and decoding of Edwards and Montgomery private keys Ingo Franzki 2026-10-14 16:15:30 +02:00
  • 1fe94e4332 TOOLS: Enhance ICSF mock server to support wrap and unwrap of DH private keys Ingo Franzki 2026-10-15 13:11:12 +02:00
  • 9c3440a37d TOOLS: Fix ICSF mock server to handle sensitive attributes correctly Ingo Franzki 2026-10-14 16:25:13 +02:00
  • e8cadb2484 TESTCASES: Check unwrapped DH, ML-DSA and ML-KEM private keys too Alexandre Laroche 2026-10-14 15:51:09 +02:00
  • 7131685d35 TESTCASES: Check CKA_SENSITIVE and CKA_EXTRACTABLE of unwrapped keys Alexandre Laroche 2026-10-14 14:30:43 +02:00
  • 2345b3c7e9 COMMON: Honour CKA_SENSITIVE and CKA_EXTRACTABLE from the unwrap template Alexandre Laroche 2026-10-14 08:30:43 -04:00
  • 0d2e914258 COMMON: NULLify pContext and ulContextLen in ML-DSA mechanism parameter copy Ingo Franzki 2026-10-13 16:45:24 +02:00
  • ebab4b48e0 COMMON: Cleanup operation in init failure Ingo Franzki 2026-10-13 16:41:24 +02:00
  • 2acb7a25bf EP11: Fix cleanup in case EC-AGGREGATE mechanism parameter deep-copy fails Ingo Franzki 2026-10-13 16:19:04 +02:00
  • 350f61c775 COMMON: Fix error handling when deep-copy a mechanism parameter fails Ingo Franzki 2026-10-13 16:15:03 +02:00
  • f9e05e3742 COMMON/EP11: Reject saving the state for mechanisms with deep-copied parameters Ingo Franzki 2026-10-13 15:34:28 +02:00
  • b663eaa8f3 COMMON: Fix memory leak of deep-copied mechanism parameters on session close Ingo Franzki 2026-10-13 15:25:05 +02:00
  • 1ae575b090 CI: Stop an already running ICSF mock server before starting it again Ingo Franzki 2026-10-14 09:08:35 +02:00
  • a57f9a02c3 TESTCASES: Add unit tests for invalid AlgorithmIdentifier decoding Ingo Franzki 2026-10-12 10:10:33 +02:00
  • 137c741923 COMMON: Decoding EC public and private keys must check the OID Ingo Franzki 2026-10-12 13:46:00 +02:00
  • bab7e26028 COMMON: Fix ber_decode_SPKI to not assume a single byte OID length Ingo Franzki 2026-10-12 09:24:45 +02:00
  • 849d1363ac COMMON: Fix out-of-bounds read when decoding public or private keys Ingo Franzki 2026-10-09 08:47:28 +02:00
  • 0e0a8c807f CI: 'make ci-cleanup' should also remove the testcase log files Ingo Franzki 2026-10-12 15:15:43 +02:00
  • e458b88bda CI: Add ci-check-results make target to check for failed tests Ingo Franzki 2026-10-12 14:52:21 +02:00
  • 6fa1b5c03e ICSF: Correct key sizes and flags in the mechanism table Ingo Franzki 2026-10-07 16:19:34 +02:00
  • bff8d4ae5a DOC: Update README.icsf_stdll to reflect the lasted changes Ingo Franzki 2026-10-07 14:51:50 +02:00
  • 4640c3c730 TOOLS: Update ICSF mock server to generate and require complaint DH keys Ingo Franzki 2026-10-07 13:50:04 +02:00
  • da1daeaaab TESTCASES: Use a DH key that is complaint per NIST SP 800-56A R3 5.6.2.1.2 Ingo Franzki 2026-10-07 13:33:54 +02:00
  • 73b2f41d77 P11KMIP: Fix NULL-check, wrong dereference, and rc ordering Ingo Franzki 2026-09-28 13:49:01 +02:00
  • e1b16f4111 P11KMIP: Fix memory leak in kmip_encode_json() Ingo Franzki 2026-09-28 13:47:38 +02:00
  • d6d5194712 P11KMIP: Fix hex representation of values >= 2^52 Ingo Franzki 2026-09-28 13:46:59 +02:00
  • a59d96cf69 P11KMIP: Fix hostname verification with IPv6 addresses Ingo Franzki 2026-09-28 13:45:05 +02:00
  • 7d0c7f126f P11KMIP: Structures must be a multiple of the TTLV block length Ingo Franzki 2026-09-28 13:44:14 +02:00
  • 277e098409 P11KMIP: Fix attributes with wrong KMIP tag Ingo Franzki 2026-09-28 13:43:34 +02:00
  • 345eec8904 P11KMIP: Load the system's default CA certs if no CA is specified Ingo Franzki 2026-09-28 08:21:20 +02:00
  • b71487d962 P11KMIP: On any I/O failure tear down the connection completely Ingo Franzki 2026-09-28 08:20:35 +02:00
  • 7758e6e595 P11KMIP: Fix NULL pointer dereference on corrupted KMIP response Ingo Franzki 2026-09-28 08:19:27 +02:00
  • a3d297c30e TESTCASES: Don't set CKF_INTERFACE_FORK_SAFE to get interfaces Ingo Franzki 2026-09-25 09:03:02 +02:00
  • 83086fb742 API: Don't advertise interfaces with CKF_INTERFACE_FORK_SAFE Ingo Franzki 2026-09-25 09:01:37 +02:00
  • f58f72d548 PKCSSLOTD: Fix potentially unterminated string usage Ingo Franzki 2026-09-25 08:44:18 +02:00
  • b1776832b6 PKCSICSF: Fix uninitialized variable Ingo Franzki 2026-09-25 08:30:45 +02:00
  • 997f633894 ICSF: Fix uninitialized variable Ingo Franzki 2026-09-25 08:28:48 +02:00
  • 612cb84e23 TESTCASES: Remove temporary files produced by pkcstok_migrate_test.sh Ingo Franzki 2026-09-23 15:27:20 +02:00
  • e93833f433 P11SAK: Fix assignment discards ‘const’ qualifier warning Ingo Franzki 2026-09-23 13:14:36 +02:00
  • b0769d6332 CI: Let ock_tests.sh only spawn a certain number of concurrent processes Ingo Franzki 2026-09-16 08:54:07 +02:00
  • 943924e4e6 CI: Backup the existing opencryptoki.conf before overwriting Ingo Franzki 2026-09-15 13:49:32 +02:00
  • a1d6b8c375 CI: Remove the CI tokens during 'make ci-cleanup' Ingo Franzki 2026-09-14 17:02:06 +02:00
  • 71f197707e CI: Add an ICSF token using the ICSF mock server for 'make ci-installcheck' Ingo Franzki 2026-09-14 15:27:46 +02:00
  • ab92734d72 TOOLS: Add a ICSF mock server that simulates ICSF for testing Ingo Franzki 2026-09-08 16:56:36 +02:00
  • cb3c2e0a2c ICSF: Filter out CKA_EN/DECAPSULATE attributes, ICSF does not support them Ingo Franzki 2026-09-15 11:05:39 +02:00
  • 22d88c2ea3 PKCSICSF: Allow to specify the SO PIN and RACF password as option Ingo Franzki 2026-09-14 16:07:55 +02:00
  • 7f5c86a549 PKCSICSF: Allow to specify the slot number to create with '-a <token>' Ingo Franzki 2026-09-14 15:10:30 +02:00
  • 0daecd52ed PKCSICSF: Store absolute paths in ICSF token config for SASL method Ingo Franzki 2026-09-14 14:52:17 +02:00
  • 58d45b6ff1 ICSF: Support public session with SASL authentication Ingo Franzki 2026-09-14 13:52:43 +02:00
  • 0d7bf34bee PKCSICSF: Update man page to document the SASL authentication setup steps Ingo Franzki 2026-09-14 13:23:54 +02:00
  • f0df2b4023 TESTCASES: Skip object mgmt testcases for ICSF token Ingo Franzki 2026-09-14 10:05:17 +02:00
  • 6d90d94500 TESTCASES: Adjust PKCS#11 testcases for ICSF token Ingo Franzki 2026-09-14 09:10:50 +02:00
  • 2ba0a19469 TESTCASES: Adjust p11sak_test.sh for the ICSF token Ingo Franzki 2026-09-11 13:48:18 +02:00
  • bc1fac364f ICSF: Allow NULL attrs if number of attrs is zero Ingo Franzki 2026-09-11 14:49:39 +02:00
  • 81385b50ac ICSF: Restrict key wrapping with CKM_RSA_PKCS to secret keys Ingo Franzki 2026-09-11 11:23:22 +02:00
  • b4b140a38c ICSF: Map CKR_DATA_LEN_RANGE to CKR_KEY_SIZE_RANGE in icsftok_wrap_key Ingo Franzki 2026-09-11 10:58:23 +02:00
  • e7fc2734e9 ICSF: Convert compressed or raw EC points to uncompressed Ingo Franzki 2026-09-10 17:01:12 +02:00
  • afb7209dd0 TESTCASE: Let run_DeriveECDHKeyKAT() continue with next vector on error Ingo Franzki 2026-09-10 13:17:59 +02:00
  • 6d329a4549 TESTCASES: Skip unsupported curves and KDFs for the ICSF token Ingo Franzki 2026-09-09 15:25:25 +02:00
  • 4941461449 ICSF: Support newer KDF values Ingo Franzki 2026-09-09 15:41:17 +02:00
  • fa54378614 ICSF: Adjust return code mapping Ingo Franzki 2026-09-09 13:38:55 +02:00
  • 9c05091d52 POLICY: Fix memory leak in policy_extract_key_data() for DH keys Ingo Franzki 2026-09-09 11:46:06 +02:00
  • 6606505421 POLICY: Fix typo in trace message Ingo Franzki 2026-09-08 13:45:33 +02:00
  • e3fbb74ece ICSF: Fix memory leak icsftok_find_objects_init Ingo Franzki 2026-09-08 13:16:19 +02:00
  • ca7f1645a4 COMMON/EP11/ICSF: Make C_Login, C_Set/InitPIN, C_InitToken fully thread save Ingo Franzki 2026-09-08 09:41:02 +02:00
  • 063621047a PKCSICSF: Add support for changing the RACF password Ingo Franzki 2026-09-07 15:56:41 +02:00
  • bf40a5fe9f ICSF: Introduce a FIPS-compliant token data store format Ingo Franzki 2026-09-07 15:22:01 +02:00
  • d3b97c59c3 TESTCASES: tok2tok: Skip if an EC key with an unsupported curve is generated Ingo Franzki 2026-09-11 08:55:25 +02:00
  • 5ebc3e7c04 EP11: Edwards/Montgomery mechanisms are EP11 version dependent Ingo Franzki 2026-09-11 08:54:14 +02:00
  • 430a47d747 CI: Allow to reuse an existing token setup for running ci-installcheck Ingo Franzki 2026-09-07 10:25:09 +02:00
  • ce11cba0bb CI: Run tok2tok_transport on all slot combination in the CI Ingo Franzki 2026-09-02 14:54:43 +02:00
  • 9681c3e6c7 MAN: Fix man page variable substitution Ingo Franzki 2026-09-08 09:01:09 +02:00
  • 299ebae36b TESTCASES: Update ASN1 unit tests for common SPKI encoding function Ingo Franzki 2026-09-01 16:57:02 +02:00
  • 784fcb1871 COMMON: Refactor the public key encoding functions Ingo Franzki 2026-09-01 16:56:30 +02:00
  • 745c8068d8 COMMON: Add overflow checks for BER encoding functions Ingo Franzki 2026-09-01 14:29:45 +02:00
  • 66de83dcc3 TESTCASES: Update ASN1 unit test for now rejected CHOICE option 0x1f Ingo Franzki 2026-09-01 15:31:00 +02:00
  • 8cb0e36c2a COMMON: Refactor BER primitive encoding and decoding Ingo Franzki 2026-09-01 14:17:03 +02:00
  • 90df45fe70 COMMON: Remove dependency on liblber in common code Ingo Franzki 2026-09-01 11:48:03 +02:00
  • e9c93d708f P11KIMIP: Fix NULL pointer dereference in kmip_v2_attr_from_v1_attr() Ingo Franzki 2026-09-01 08:31:25 +02:00
  • beeff7942c ICA: Remove CKF_HW from SHA3 and SHA512/224/SHA512/256 mechanisms Ingo Franzki 2026-08-31 16:18:56 +02:00
  • 4f1e1de217 SOFT: Fix flags for CKM_DES3_MAC[_GENERAL] and CKM_AES_MAC[_GENERAL] Ingo Franzki 2026-08-31 16:11:50 +02:00
  • bc35619cc0 ICA: Fix reported key sizes for CKM_DES_CFB8/CFB64/OFB64 Ingo Franzki 2026-08-31 16:07:48 +02:00
  • 4bd4e4c9c1 P11SAK: Fix typos and copy&paste errors Ingo Franzki 2026-08-31 15:37:07 +02:00
  • c89d951625 MAKEFILE: Misc update for ci-installcheck Ingo Franzki 2026-08-25 14:40:47 +02:00
  • 83d8e3ce97 TESTCASES: Add a token migration test to 'make ci-installcheck' Ingo Franzki 2026-08-25 14:18:11 +02:00
  • c87900ac8f CONFIGURE/MAKE: Fix configure script and make files Ingo Franzki 2026-08-24 14:00:23 +02:00
  • 26c6ae629f PKCSTOK_ADMIN: Fix build error due to missing mechtable-gen.h Ingo Franzki 2026-08-24 13:31:25 +02:00
  • 088be49d5f RPM: Updates and fixes Ingo Franzki 2026-08-24 11:36:39 +02:00
  • f805c40269 SysV: Use full path of pkcsslotd executable Ingo Franzki 2026-08-24 11:26:33 +02:00