=== modified file 'initramfs-tools-hook' --- initramfs-tools-hook 2015-07-09 08:20:24 +0000 +++ initramfs-tools-hook 2015-07-09 08:57:02 +0000 @@ -231,6 +231,12 @@ ;; esac done +# Use Diffie-Hellman parameters file if available +if [ -e "${DESTDIR}${CONFDIR}"/client-dhparams.pem ]; then + sed --in-place \ + --expression="1i--options-for=mandos-client:--dh-params=${CONFDIR}/client-dhparams.pem" \ + "${DESTDIR}/${CONFDIR}/plugin-runner.conf" +fi # /lib/mandos/plugin-runner will drop priviliges, but needs access to # its plugin directory and its config file. However, since almost all