/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 mandos-keygen

merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
PUBRING="`mktemp -t mandos-gpg-pubring.XXXXXXXXXX`"
143
143
 
144
144
# Remove temporary files on exit
145
 
trap "rm --force $PUBRING $BATCHFILE; shred --remove $SECRING" EXIT
 
145
trap "
 
146
set +e
 
147
rm --force $PUBRING $BATCHFILE;
 
148
shred --remove $SECRING;
 
149
stty echo
 
150
" EXIT
146
151
 
147
152
# Create batch file for GnuPG
148
153
cat >"$BATCHFILE" <<EOF