~siretart/cryptsetup/debian

« back to all changes in this revision

Viewing changes to debian/scripts/gen-ssl-key

  • Committer: Reinhard Tartler
  • Date: 2008-06-13 19:35:34 UTC
  • Revision ID: siretart@tauware.de-20080613193534-oeqhbxi7r0q4lk51
import cryptsetup_1.0.6-2.dsc

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
        key=`tempfile`
20
20
        dd if=/dev/random of=$key bs=1c count=256
21
21
        openssl enc -aes-256-cbc -e -salt -in $key -out $1
22
 
        rm -f $key; key=""
 
22
        #rm -f $key; key=""
 
23
        shred -uz $key; key=""
23
24
else
24
25
        echo "/usr/bin/openssl is not available" && exit 1
25
26
fi