]> git.ipfire.org Git - thirdparty/systemd.git/commit
openssl-util: pass the UI callback for interactive PIN prompts
authorKai Lüke <kai@amutable.com>
Thu, 19 Feb 2026 07:01:06 +0000 (16:01 +0900)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 19 Feb 2026 09:21:01 +0000 (10:21 +0100)
commitbad16f324acc2a4624dca18a6586306698da7d0a
tree8609f50a353ec8927456131d3118fd53fbb4c27c
parent8df975bb6781d89fa5331e59b5f742e755a4967b
openssl-util: pass the UI callback for interactive PIN prompts

Observed with the tpm2 provider and the tpm2tss engine was that the
auth process failed because the provider/engine could not ask for the
PIN through the callback, resulting in:
  "Failed to load private key from ...: Input/output error"
Apparently the default UI method is not enough and the key setup
functions expect an explicit method.
Pass the existing UI method through as callback for the key setup.
src/shared/openssl-util.c