gnupg-agent not working...
z.himsel at gmail.com
Wed Jun 7 03:40:07 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
On 6/6/2006 9:30 PM, Alphax wrote:
> Zach Himsel wrote:
>>> On 6/6/2006 2:20 AM, Laurent Jumet wrote:
>>> === Begin Windows Clipboard ===
> [fixed indenting]
>>> --passphrase-fd n
>>> Read the passphrase from file descriptor n. If you use 0 for
>>> n, the passphrase will be read from stdin. This can only be
>>> used if only one passphrase is supplied.
>>> --passphrase-file file
>>> Read the passphrase from file file. This can only be used if
>>> only one passphrase is supplied. Obviously, a passphrase
>>> stored in a file is of questionable security if other users
>>> can read this file. Don't use this option if you can avoid
>>> --passphrase string
>>> Use string as the passphrase. This can only be used if only
>>> one passphrase is supplied. Obviously, this is of very ques-
>>> tionable security on a multi-user system. Don't use this
>>> option if you can avoid it.
>>> === End Windows Clipboard ===
>> How does the --passphrase-fd option work? How do I use that to
>> store/autoenter my password?
> A file descriptor is something like a stream or pipe. Applications which
> communicate with gpg use --passphrase-fd to give gpg the passphrase. If
> you use --passphrase-fd 0, it will read it from standard in. Apart from
> that... <http://en.wikipedia.org/wiki/File_descriptor> explains it in
> more detail.
> You could of course use --passphrase-file <file>, provided the file is
> only readable by yourself, but on a MinGW32 platform this is quite
> unlikely. That leaves --passphrase-string, which is still a security risk.
Ok, cool. Thanks, I think I got the --passphrase to work (with the
string after it)
Zach Himsel <z.himsel at gmail.com>
OpenPGP Public Key: http://zach-himsel.is.dreaming.org/
OpenPGP Public Key ID: 0xFD04A326
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: KeyID: 0xFD04A326
-----END PGP SIGNATURE-----
More information about the Gnupg-users