]> git.kaiwu.me - nginx.git/commit
SSL: disabled UI console prompts from worker processes.
authorAleksei Bavshin <a.bavshin@nginx.com>
Fri, 17 Jan 2025 20:24:08 +0000 (12:24 -0800)
committerAleksei Bavshin <a.bavshin@f5.com>
Mon, 26 May 2025 13:56:18 +0000 (06:56 -0700)
commit3d5889a3ee41a282bad54d9c0d3662dba9f52c1b
treea8fbdb3df64543f077bf0d6951aace41720d81b4
parent0fdbfc1ff45adb8e98e71004e5d147987e7d8974
SSL: disabled UI console prompts from worker processes.

Certain providers may attempt to reload the key on the first use after a
fork.  Such attempt would require re-prompting the pin, and this time we
are not able to pass the password callback.

While it is addressable with configuration for a specific provider, it would
be prudent to ensure that no such prompts could block worker processes by
setting the default UI method.

UI_null() first appeared in 1.1.1 along with the OSSL_STORE, so it is safe
to assume the same set of guards.
src/event/ngx_event_openssl_cache.c