Skip to content

New build option to allow reuse of the windows crypt provider handle … #8706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2025

Conversation

dgarske
Copy link
Contributor

@dgarske dgarske commented Apr 23, 2025

Description

New build option to allow reuse of the windows crypt provider handle (WIN_REUSE_CRYPT_HANDLE). Documentation from Windows suggests using the same handle from different threads in the same process is safe when CRYPT_VERIFYCONTEXT is used.

Fixes ZD 19754

Testing

Tested on Windows 10 with Visual Studio 2022 with and without WIN_REUSE_CRYPT_HANDLE.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@dgarske dgarske self-assigned this Apr 23, 2025
@dgarske
Copy link
Contributor Author

dgarske commented Apr 24, 2025

Retest this please: "Found unhandled org.jenkinsci.plugins.workflow.support.steps.AgentOfflineException exception:"

@dgarske dgarske assigned dgarske and unassigned wolfSSL-Bot Apr 28, 2025
@dgarske dgarske requested a review from redbaron May 6, 2025 17:39
…ws crypt provider handle. Seeding happens on any new RNG or after `WC_RESEED_INTERVAL`. If using threads make sure wolfSSL_Init() or wolfCrypt_Init() is called before spinning up threads. ZD 19754. Fixed minor implicit cast warnings in internal.c. Add missing `hpke.c` to wolfssl VS project.
@dgarske
Copy link
Contributor Author

dgarske commented May 6, 2025

Retest this please: "Found unhandled org.jenkinsci.plugins.workflow.support.steps.AgentOfflineException exception:"

@dgarske dgarske assigned SparkiDev and unassigned dgarske May 6, 2025
@dgarske dgarske requested review from SparkiDev and removed request for redbaron May 6, 2025 23:31
@SparkiDev SparkiDev merged commit 4b73e70 into wolfSSL:master May 7, 2025
187 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants