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

Commit Graph

  • 8255f8333f p11sak: Fix memory leak with label handling Ingo Franzki 2021-06-21 13:15:41 +02:00
  • ddcb5b3a16 [TEST: abfunc] Dump SPKIs on failure Juergen Christ 2021-07-07 18:22:43 +02:00
  • 5347c28a3d configure: Add check for C++ compiler Ingo Franzki 2021-06-28 15:02:01 +02:00
  • 5824364d99 pkcstok_migrate: Quote strings with spaces in opencryptoki.conf Ingo Franzki 2021-07-07 13:44:46 +02:00
  • ac284b7646 Serialize token initialization Juergen Christ 2021-06-21 15:32:24 +02:00
  • 055208db3f [TEST] Fix setup and cleanup of slots Juergen Christ 2021-06-15 16:30:45 +02:00
  • 7983cbdac4 Improve CI coverage Juergen Christ 2021-06-10 17:23:51 +02:00
  • 8dae6def06 ICA: Fix libica return code handling for unsupported curves Joerg Schmidbauer 2021-06-08 13:21:42 +02:00
  • b8bc6df880 Dump keys on AB wrap/unwrap errors Juergen Christ 2021-06-04 18:06:12 +02:00
  • c796495499 TESTCASES: Skip tests for unsupported EC curves Joerg Schmidbauer 2021-05-17 12:19:56 +02:00
  • 297eaebe09 ICA: Handle unsupported curves in openssl fallback Joerg Schmidbauer 2021-05-17 12:15:30 +02:00
  • 24e006f883 [COMMON] Fix multitenant setup Juergen Christ 2021-05-21 17:12:02 +02:00
  • abb744f97b EP11: CKM_RSA_PKCS_OAEP is only supported since CEX6 Ingo Franzki 2021-05-18 11:50:19 +02:00
  • 4e3b43c3d8 SOFT: Check the EC Key on C_CreateObject and C_DeriveKey Ingo Franzki 2021-05-03 10:05:07 +02:00
  • 7b7d83c571 Check CKF_LIBRARY_CANT_CREATE_OS_THREADS at C_Initialize Ingo Franzki 2021-04-09 17:07:31 +02:00
  • bf812c652c Update travis yaml file to install libudev development files Ingo Franzki 2021-04-06 13:41:55 +02:00
  • 1fdd0e4497 EP11: Handle APQN events to update APQN version, CP infos and target Ingo Franzki 2021-02-24 15:47:05 +01:00
  • d7de509224 TESTCASES: Add event support tests Ingo Franzki 2021-02-16 17:15:20 +01:00
  • fa94a16116 Event support: Add event client Ingo Franzki 2021-02-16 17:13:34 +01:00
  • 342dfbeb82 Event support: pkcsslotd changes Ingo Franzki 2021-02-15 14:33:07 +01:00
  • 19f56d12b3 Fix compile warning when compiling pkcsslotd with -DDEV and/or -DTHREADED Ingo Franzki 2021-02-12 15:57:20 +01:00
  • d929fe8470 Externalize linked list functions Ingo Franzki 2021-02-12 11:25:21 +01:00
  • e9548127ed pkcsslotd: Refactoring in preparation for event support Ingo Franzki 2021-02-08 15:26:23 +01:00
  • b048be5485 Event support: API and token level changes Ingo Franzki 2021-02-08 16:50:00 +01:00
  • b07505993d Avoid deadlock in dlclose() after a fork Ingo Franzki 2021-02-10 15:12:25 +01:00
  • 69244a5e0d TRACE: Use gettid() if SYS_gettid is not defined Ingo Franzki 2021-02-09 10:47:57 +01:00
  • c79e899d77 Fix potential deadlock situation with double read-locks Ingo Franzki 2021-04-16 13:41:41 +02:00
  • 93c01ffd75 p11sak: Fix CKA_LABEL handling Ingo Franzki 2021-04-16 11:18:36 +02:00
  • 7d07c41378 Fix heap-out-of-bounds access Ingo Franzki 2021-04-16 13:56:15 +02:00
  • 025022f5b8 Bumping up to version-3.16.0 v3.16.0 Patrick Steuer 2021-03-18 12:47:36 +01:00
  • 430e60699c ICSF: SC_IBM_ReencryptSingle is not supported Ingo Franzki 2021-03-29 17:32:01 +02:00
  • 0e0442e456 ICSF: Allow zero length attributes to have pValue = NULL Ingo Franzki 2021-03-29 17:23:05 +02:00
  • 12bb05696c ICSF: Better error code for failing C_CreateObject Ingo Franzki 2021-03-29 17:12:31 +02:00
  • d016b58619 ICSF: Fix size query for has sign mechanisms Ingo Franzki 2021-03-29 17:02:14 +02:00
  • 2162888b77 Fix memory leaks Ingo Franzki 2021-03-29 09:52:47 +02:00
  • 1294e26418 COMMON: Add dependency between lexer and parser. Juergen Christ 2021-03-26 15:29:53 +01:00
  • fa7fc416f0 TESTCASE: Fix compile error (-Wformat) Ingo Franzki 2021-03-26 10:31:12 +01:00
  • 4097857786 Fix detection of DER encoded or raw ECDH public data (2) Ingo Franzki 2021-03-25 16:36:45 +01:00
  • 7b773fe12c Fix detection of DER encoded or raw ECDH public data Ingo Franzki 2021-03-23 09:07:13 +01:00
  • 3ee1365b58 TESTCASES: add pkey option to obj_lock test Joerg Schmidbauer 2021-03-22 12:53:19 +01:00
  • 1a120908dd TESTCASES: fix summary output for obj_lock test Joerg Schmidbauer 2021-03-19 14:46:34 +01:00
  • 73c67b1297 TESTCASES: provide standard summary output for obj_mgmt test Joerg Schmidbauer 2021-03-19 14:23:51 +01:00
  • 2ae04c18a6 TESTCASES: provide standard summary output for obj_mgmt_lock test Joerg Schmidbauer 2021-03-19 13:43:30 +01:00
  • 9433e04a4a p11sak: fix attributes help Joerg Schmidbauer 2021-03-19 10:52:29 +01:00
  • ca9c50428d TESTCASES: Check for CCA token before logging in Ingo Franzki 2021-03-18 16:50:45 +01:00
  • 7cbdfe2a8d CCA: Fix use after free error Ingo Franzki 2021-03-18 16:49:11 +01:00
  • 693345b8e8 TESTCASES: Handle CKR_CURVE_NOT_SUPPORTED correctly for pkey tests Joerg Schmidbauer 2021-03-17 16:42:01 +01:00
  • c9c3d7b806 EP11: Fix known problem for pre-z15 processors Joerg Schmidbauer 2021-03-17 16:37:30 +01:00
  • 98104eb3d7 Added CK_BBOOL to check if the --slot <SLOT> argument was given. Changed arg parsing for slotID replacing atol() with strtol(). Matthias Reumann 2021-03-17 14:28:30 +01:00
  • 900a480c3c Added NULL pointer to avoid double free() for the list-key and remove-key commands. Matthias Reumann 2021-03-17 11:22:31 +01:00
  • 733a9784bd EP11: Do not logout EP11 session when in child_fork_initializer Ingo Franzki 2021-02-24 09:52:07 +01:00
  • 022f04d990 TESTCASE: tok2tok_transport: Enhance error handling Ingo Franzki 2021-02-23 17:32:06 +01:00
  • 90ad742eac Fix problem with C_GetOperationState saving the state of a verify operation Ingo Franzki 2021-02-17 14:14:05 +01:00
  • 5e039e0fd2 Better argument checking for C_GetOperationState/C_SetOperationState Ingo Franzki 2021-02-16 09:23:10 +01:00
  • a435cfed37 CCA: Fix possible memory leak Ingo Franzki 2021-02-12 09:35:16 +01:00
  • 0f8691efc4 Check mechanism's pParameter to be not NULL if ulParameterLen is > 0. Ingo Franzki 2021-02-11 17:49:24 +01:00
  • 6fc258283d Use CKR_xxx return codes, not ERR_xxx values Ingo Franzki 2021-02-11 17:31:49 +01:00
  • 8741fcd0a4 Better validate attribute-array attributes Ingo Franzki 2021-01-27 10:58:15 +01:00
  • 961d9dd8e9 Debug: Dump attribute-array elements Ingo Franzki 2021-01-27 10:31:04 +01:00
  • 8beaea13c0 Attribute CKA_ALWAYS_AUTHENTICATE can not be modified Ingo Franzki 2021-01-25 13:08:25 +01:00
  • 853d3b54e9 TESTCASES: CKA_APPLICATION can not be modified Ingo Franzki 2021-01-25 17:22:59 +01:00
  • 7b36caac3b Don't allow data object attributes to be changed Ingo Franzki 2021-01-21 17:13:22 +01:00
  • ff74d0d93d Don't allow CKA_COPYABLE to be set to TRUE during C_CopyObject Ingo Franzki 2021-01-21 17:00:18 +01:00
  • 02d7df21f1 More precise checking for existence of required attributes Ingo Franzki 2021-01-20 17:40:22 +01:00
  • 36baba9295 TESTCASE: Fix CKA_VALUE_LEN usage for Unwrap operations Ingo Franzki 2021-01-19 17:03:24 +01:00
  • 38ef6f3c84 Allow CKA_VALUE_LEN at C_UnwrapKey only for certain mechanisms and key types Ingo Franzki 2021-01-19 16:45:00 +01:00
  • 78bbf9e1eb EP11 pkey option: add special testcase Joerg Schmidbauer 2021-03-10 13:21:48 +01:00
  • d94799d52e Fix typo in comment Joerg Schmidbauer 2021-03-08 14:14:11 +01:00
  • 3a9b93c3b4 EP11 pkey option: add testcases for EC / IBM ED Joerg Schmidbauer 2021-03-08 14:12:20 +01:00
  • affaf9c455 EP11 pkey option for IBM ED keys Joerg Schmidbauer 2021-03-08 14:07:56 +01:00
  • 207a539282 EP11 pkey option for EC keys Joerg Schmidbauer 2021-03-08 13:56:23 +01:00
  • c057d2bd17 EP11 pkey option: add check for MSA level Joerg Schmidbauer 2021-03-08 13:41:47 +01:00
  • d3b7bce1de EP11: remove now superfluous routine override_key_attributes Joerg Schmidbauer 2021-03-08 13:28:59 +01:00
  • 1270bd2999 EP11: add same attributes to blob as in OCK object (derive) Joerg Schmidbauer 2021-03-08 13:27:17 +01:00
  • 3bdf770840 EP11: add same attributes to blob as in OCK object (DH) Joerg Schmidbauer 2021-03-08 13:25:15 +01:00
  • e141f90db8 EP11: add same attributes to blob as in OCK object (DSA) Joerg Schmidbauer 2021-03-08 13:23:43 +01:00
  • 62e088447e EP11: add same attributes to blob as in OCK object (RSA/EC) Joerg Schmidbauer 2021-03-08 13:21:59 +01:00
  • 3138748cbc EP11: add same attributes to blob as in OCK object (Dilithium) Joerg Schmidbauer 2021-03-08 13:19:57 +01:00
  • 9491c6f7ca EP11: add same attributes to blob as in OCK object (unwrap) Joerg Schmidbauer 2021-03-08 13:15:12 +01:00
  • ce89ee5c31 TESTCASE: Fix ab test cases for latest AB changes. Juergen Christ 2021-03-10 17:43:34 +01:00
  • 2611f37f64 EP11: Work around Bug with AB and ECDH1 Juergen Christ 2021-03-10 17:41:28 +01:00
  • f063f80567 COMMON: Fix GCC10 strict warning error Juergen Christ 2021-02-11 16:23:46 +01:00
  • 4f5d503ece BUILD: Fix out of tree builds Juergen Christ 2021-02-11 16:22:13 +01:00
  • 92c52ca803 TESTCASES: Fixed a typo in test executor Juergen Christ 2021-02-09 10:52:04 +01:00
  • c6ecbde6c8 TESTCASES: Add tests for attribute bound keys Juergen Christ 2021-02-10 14:46:50 +01:00
  • c9044056d1 EP11: Add support for attribute bound keys Juergen Christ 2021-02-10 14:43:59 +01:00
  • 0ec45b55e7 EP11 pkey option: add testcases for protected key usage Joerg Schmidbauer 2021-01-25 17:16:20 +01:00
  • 8e942f697f EP11 pkey option: introduce pkey flag for testcases Joerg Schmidbauer 2021-01-25 17:07:50 +01:00
  • 64a822c012 EP11 pkey option: ep11-specific code changes Joerg Schmidbauer 2021-01-25 18:04:53 +01:00
  • 39cedb79ca EP11 pkey option: common code changes Joerg Schmidbauer 2021-01-25 17:53:33 +01:00
  • e270a7fead EP11 pkey option: introduce new token specific routine Joerg Schmidbauer 2021-01-25 17:35:20 +01:00
  • 36b4da175d TESTCASES: cleanup on templates and their usage, no logic change Joerg Schmidbauer 2021-01-25 17:13:02 +01:00
  • e4786baf61 Fixed p11sak and corresponding test case Juergen Christ 2021-02-25 14:02:33 +01:00
  • 515e170dbc Fix Makefile.am Juergen Christ 2021-02-24 12:09:26 +01:00
  • 66abe0b88f Added setting of USER_PIN and the PKCSLIB path in the Makefile.am for testing of p11sak with the p11sak_test.sh script. Matthias Reumann 2021-02-16 07:49:10 +01:00
  • 30b432cffd Setting SLOT=3 to use the Softtoken for testing of p11sak if no other value has been specified for SLOT, e. g. using export SLOT=N with N being the token/slot number. Matthias Reumann 2021-02-12 09:02:34 +01:00
  • bebda6ad8d TESTCASE: Also run pkcs11/sess_opstate testcase in CI Ingo Franzki 2021-02-09 16:32:47 +01:00
  • 1e98001ff6 SOFT: Fix problem with C_Get/SetOperationState and digest contexts Ingo Franzki 2021-02-09 16:22:51 +01:00
  • d13c62e0d2 EP11: Check if curve is supported on EC key import via C_CreateObject Ingo Franzki 2021-02-08 13:46:11 +01:00
  • eb34ece26b Added test cases for the p11sak tool incl. changes for CI integration in the makefile. Matthias Reumann 2021-01-28 10:52:49 +01:00