# (C) 2016-2024 by Christian Hesse <mail@eworm.de> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. [Unit] Description=Get 2nd Factor for YKFDE DefaultDependencies=no Before=cryptsetup-pre.target Wants=cryptsetup-pre.target ConditionPathExists=/etc/ykfde.d/ [Service] Type=oneshot RemainAfterExit=yes TimeoutSec=0 KeyringMode=shared ExecStart=/usr/bin/systemd-ask-password --no-tty --no-output --id='ykfde-2f' --keyname='ykfde-2f' 'Please enter second factor for Yubikey full disk encryption!'