You didn't specify your platform, but in Windows it's done like this: echo mypasshrase|gpg --encrypt --passphrase-fd 0.....
--- "Low, Claudia" <[EMAIL PROTECTED]> wrote: > Hi, > > Is there an option, eg. --passphrase, that I can > use so that I can > pass the passphrase in the command line when doing a > signing, symmetric > encryption or decryption? Without this option, I > will be prompted on the > console. > In my program, I can only use command line to > execute the commands. I > am not able to pass in the passphrase from a file > (using file > descriptor). > > Please kindly help. > > Thanks, > Claudia > > _______________________________________________ > Gnupg-users mailing list > Gnupg-users@gnupg.org > http://lists.gnupg.org/mailman/listinfo/gnupg-users > _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users