Skip to content

windows: suppress UI in all CryptAcquireContext() calls#5088

Closed
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:202003cryptsilent
Closed

windows: suppress UI in all CryptAcquireContext() calls#5088
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:202003cryptsilent

Conversation

@vszakats
Copy link
Copy Markdown
Member

@bagder bagder added cryptography Windows Windows-specific labels Mar 12, 2020
@jay
Copy link
Copy Markdown
Member

jay commented Mar 12, 2020

please put an area in the commit subject. for example in this case you could use all or windows or something generic since it appears to be all of the tool and lib

all: suppress UI in all CryptAcquireContext() calls

also have you actually seen this happen

@vszakats vszakats force-pushed the 202003cryptsilent branch from 911cc28 to 154aa1e Compare March 12, 2020 21:17
@vszakats vszakats changed the title suppress UI in all CryptAcquireContext() calls windows: suppress UI in all CryptAcquireContext() calls Mar 12, 2020
@vszakats
Copy link
Copy Markdown
Member Author

vszakats commented Mar 12, 2020

@jay I've never personally seen a UI popping up. The flag was already used in some of the calls, and it's universally used in OpenSSL and other place. So, worst case, it's a "best practice".

@mback2k mback2k self-requested a review March 13, 2020 01:51
Copy link
Copy Markdown
Member

@mback2k mback2k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have seen this happen outside of curl in case 3rd-party crypto providers are installed, eg. for HSMs or other special purpose crypto hardware. Therefore I approve these changes as best practice measure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cryptography Windows Windows-specific

Development

Successfully merging this pull request may close these issues.

4 participants