gnupg-agent not working...
Zach Himsel
z.himsel at gmail.com
Wed Jun 7 03:40:07 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
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
>>> it.
>>>
>>> --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>
|_|o|_|
|_|_|o|
|o|o|o|
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
iQEVAwUBRIYudyZJc7D9BKMmAQimBwf/dZ8C4/woiz+UIUsl521kqTcw7sMNVhFZ
tcqYaMMX+tDRX+gchpGabxVrjUdQWZWN/OrlZeFLAWN04TqU6tCnpm5ySUi+lR3x
p1pkcPb2fX3TYftXMVGxmeYaJbLLRr3OZKKe/a0G7RBbLDOPaBXwmzALJdUxnj9U
G7y7k+5Hsb2P3OZF0Vyyees9JnzX00vLecjUZOGGO5lv4sIFkjoXE9d7tkUixTU8
DuvODpCssRUnK84Pmk6iRmWgUzaz7lLDY//qmdP/5pQK1gcb1qNbg79U+OqP4my6
mc9/5tc8w0u+xExe5hx7HSrln2Dz3hUBBnCl3ChflVlsHShKxBVisg==
=vu9V
-----END PGP SIGNATURE-----
More information about the Gnupg-users
mailing list