> No, systemd does not support this complex logic. It is actually > impossible to implement with internal systemd tools because decision > whether to use keyfile or interactive passphrase query happens very > early, when it is simply unknown whether keyfile exists. > > systemd internal tools do not support keyscript either. > > It may be possible to disable systemd tools only and use custom > script/units instead. Thanks. This is what I've done so far. I just don't know what the systemd scripts are doing and if it's a good idea. It's working, I just don't know what I've removed.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature