Commit 40934cfc authored by Niels Möller's avatar Niels Möller
Browse files

Use the --read-raw and --write-raw flags to lsh-keygen.

Rev: src/testsuite/lsh-decrypt-key-test:1.5
parent 78b5c633
......@@ -24,9 +24,9 @@ echo 'printf bar' >> $fname
chmod u+rx $fname
../lsh-keygen > $keyname.origkey
../lsh-writekey -o $keyname -caes256-cbc -pbar <$keyname.origkey || die "lsh-writekey failed"
../lsh-writekey -o $keyname.nevercrypted -c none <$keyname.origkey || die "lsh-writekey failed"
../lsh-keygen --write-raw > $keyname.origkey
../lsh-keygen --read-raw -o $keyname -caes256-cbc --passphrase=bar <$keyname.origkey || die "lsh-writekey failed"
../lsh-keygen --read-raw -o $keyname.nevercrypted -c none <$keyname.origkey || die "lsh-writekey failed"
../lsh-decrypt-key --in=$keyname --out=$keyname.decrypted --askpass=$fname || die "lsh-decrypt-key failed"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment