Luks + gpg encrypted key + systemd = lots of pain

view story

https://bbs.archlinux.org – Thanks for the prompt response. Ok, the key to my partition is a file based key, which is GPG encrypted. In order to use the key, I need to enter the password to GPG to decrypt the key, so that it can be used by cryptsetup. As far as I know there is no way to get crypttab working in this scenario. Before switching to systemd I used something like below in rc.local, which would prompt a password using pinentry-curses, just before the getty/qingy kicks in.gpg --quiet --decrypt <key-file> | cryptsetup luksOpen /dev/sda# sda#mount /dev/mapper/sda#Now I simply cannot get systemd to allow the (HowTos)