Re: GPG Passphrase on the command line

2005-09-26 Thread Werner Koch
On Mon, 26 Sep 2005 19:20:02 +0200 (MET DST), Johan Wevers said: > But typing the above line on the commandline has the same problems. That was just an example. You may use cat or if you feel lucky fortune. Salam-Shalom, Werner ___ Gnupg-users

Re: GPG Passphrase on the command line

2005-09-26 Thread Mica Mijatovic
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Was Mon, 26 Sep 2005, at 06:36:37 -0700, when nidhog wrote: > on the subject of piping, you might try to get a win32 port of unix's > echo command (echo.exe). win32's echo command sometimes have that ugly > \n attached and will mess up yo

Re: GPG Passphrase on the command line

2005-09-26 Thread Mica Mijatovic
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Was Mon, 26 Sep 2005, at 19:21:12 +0200 (MET DST), when Johan wrote: > nidhog wrote: >>it will show on ps and on your .bash_history > One of the reasons I don't use bash. I prefer tcsh. Who likes bash, may program/set it to not record

Re: GPG Passphrase on the command line

2005-09-26 Thread Johan Wevers
nidhog wrote: >it will show on ps and on your .bash_history One of the reasons I don't use bash. I prefer tcsh. -- ir. J.C.A. Wevers // Physics and science fiction site: [EMAIL PROTECTED] // http://www.xs4all.nl/~johanw/index.html PGP/GPG public keys at http://www.xs4all.nl/~johanw/

Re: GPG Passphrase on the command line

2005-09-26 Thread Johan Wevers
Werner Koch wrote: >> echo password | gpg --passphrase-fd 0 --decrypt / --encrypt. >> For some reasons I don't completely understand the GnuPG developers feel >> this is less insecure than a normal commandline (you're certainly not the >> first to ask this...). >On a multi-user machine it is tri

Re: GPG Passphrase on the command line

2005-09-26 Thread nidhog
On 9/26/05, Werner Koch <[EMAIL PROTECTED]> wrote: > On Sun, 25 Sep 2005 00:43:44 +0200 (MET DST), Johan Wevers said: > > > echo password | gpg --passphrase-fd 0 --decrypt / --encrypt. > > > For some reasons I don't completely understand the GnuPG developers feel > > this is less insecure than a no

Re: GPG Passphrase on the command line

2005-09-26 Thread Werner Koch
On Sun, 25 Sep 2005 00:43:44 +0200 (MET DST), Johan Wevers said: > echo password | gpg --passphrase-fd 0 --decrypt / --encrypt. > For some reasons I don't completely understand the GnuPG developers feel > this is less insecure than a normal commandline (you're certainly not the > first to ask thi

Re: GPG Passphrase on the command line

2005-09-25 Thread Samuel ]slund
On Sun, Sep 25, 2005 at 12:43:44AM +0200, Johan Wevers wrote: > > No, you'll have to pipe it through a file descriptor with --passphrase-fd. > But with the echo command it can be done on a commandline too on fd 0: > echo password | gpg --passphrase-fd 0 --decrypt / --encrypt. > > For some reasons

Re: GPG Passphrase on the command line

2005-09-24 Thread Johan Wevers
Low, Claudia wrote: > 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. No, you'll have to pipe it through a file descript

Re: GPG Passphrase on the command line

2005-09-24 Thread Tracy D. Bossong
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 wh

GPG Passphrase on the command line

2005-09-24 Thread Low, Claudia
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