/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to debian/mandos-client.postrm

  • Committer: Teddy Hogeborn
  • Date: 2016-10-08 04:11:22 UTC
  • mto: (237.7.594 trunk)
  • mto: This revision was merged to the branch mainline in revision 354.
  • Revision ID: teddy@recompile.se-20161008041122-xdqj4sw9h9i461fu
Fix bug when generating keys in a chroot environment.

* mandos-keygen (keygen): Use "%no-protection" statement in GnuPG
                          batch parameter file to make GnuPG 2.1 not
                          try to ask for a passphrase interactively.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        rm --force /etc/mandos/plugin-runner.conf \
45
45
            /etc/keys/mandos/pubkey.txt \
46
46
            /etc/keys/mandos/seckey.txt \
47
 
            /etc/keys/mandos/tls-privkey.pem \
48
 
            /etc/keys/mandos/tls-pubkey.pem \
49
47
            /etc/keys/mandos/dhparams.pem 2>/dev/null
50
48
        update_initramfs
51
49
        ;;