On Wed, Jan 22, 2014 at 01:29:11PM +0530, Rahul R wrote: > Hi all, > > I am trying to run > > "gpg --symmetric test.txt" > > But its asking for Passphrase. Is there any way to skip this while running > this command?
gpg --symmetric -o output.pgp --passphrase mypasshere input.txt (found checking `man gpg`). Of course there are problems with this approach (using --passphrase-fd and --passphrase-file makes things only marginally safer). Encryption via public-key requires no password at all, so maybe you are better off switching to it, depending on your use case. _______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
