/mandos/trunk

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

« back to all changes in this revision

Viewing changes to initramfs-tools-hook

  • Committer: Teddy Hogeborn
  • Date: 2008-08-12 19:47:50 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080812194750-uebbpk9ynxt3sjnt
* initramfs-tools-hook (gpg): Added "--no-random-seed-file" and
                              "--no-default-keyring".  Bug fix: moved
                              "--import" to end.

* mandos-keygen (gpg): Added "--no-options".

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
    cp --archive --sparse=always "$file" "${DESTCONFDIR}"
122
122
done
123
123
# Create key ring files
124
 
LANG=C gpg --quiet --batch --no-tty --no-options \
125
 
    --homedir "${DESTCONFDIR}" --no-permission-warning \
126
 
    --import "${DESTCONFDIR}/seckey.txt" \
127
 
    --import-options import-minimal
 
124
gpg --no-random-seed-file --quiet --batch --no-tty \
 
125
    --no-default-keyring --no-options --homedir "${DESTCONFDIR}" \
 
126
    --no-permission-warning --import-options import-minimal \
 
127
    --import "${DESTCONFDIR}/seckey.txt"
128
128
chown nobody "${DESTCONFDIR}/secring.gpg"
129
129
 
130
130
# /keyscripts/mandos-client will drop priviliges, but needs access to