[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Feeding passphase in a script?



Hi, I need to create a passphrased key in a shell script, and while testing it in a console it's still asking for the passphrase. Any way to do that easily?


$ echo -e "MyStrongPassword\nMyStrongPassword" | tarsnap-keymgmt --outkeyfile outkeyfile -w -r -d --nuke --passphrased keyfile   
Please enter passphrase for keyfile encryption: