Mailing List Archive

pass phrase in command line?
Thanks a lot!!!

I appreciate your help.

If you don't mind I have one more question (the last one). I want to run
automated decryption process invoked from Java. And I do need to do that
for private key protected with password (I understand that this doesn't
protects enough, since private key ring is accessible, but for business
people, to remove password from private key sounds really bad! :-)).
I could do this with option --passphrase-fd 0, and write to stdin. It works.
But is there any option that allow the same from command line?

BTW: I did not find options: --always-trust nor --allow-non-selfsigned-uid
on any man page (http://www.gnupg.org/gpgman.html nor man file attached with
install package). Perhaps there is more detailed man somewhere else.

Also I think the archive of questions and answers (not only FAQ) could be
placed somewhere on Web.

Thanks again

Jarek


-----Original Message-----
From: No User [mailto:no.user@anon.xg.nu]
Sent: Saturday, October 07, 2000 9:31 AM
To: Foltynski, Jarek D
Subject: Re: can't import public key


[Friday, 06/10/2000] Foltynski, Jarek D:
> operation (even if I signed imported public key with
> local private key and set trust mode to full:
> --edit -> trust -> 4).
>
> I would like to create automated process.
> I tried use option --yes, but did not work.
>
> Is there any way to do that?
Jarek,

Just add the '--always-trust' option.

(Why don't you read the man page a bit more carefully?)




--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: pass phrase in command line? [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 9 Oct 2000, Foltynski, Jarek D wrote:

> Thanks a lot!!!
>
> I appreciate your help.
>
> If you don't mind I have one more question (the last one). I want to run
> automated decryption process invoked from Java. And I do need to do that
> for private key protected with password (I understand that this doesn't
> protects enough, since private key ring is accessible, but for business
> people, to remove password from private key sounds really bad! :-)).
> I could do this with option --passphrase-fd 0, and write to stdin. It works.
> But is there any option that allow the same from command line?
>
> BTW: I did not find options: --always-trust nor --allow-non-selfsigned-uid
> on any man page (http://www.gnupg.org/gpgman.html nor man file attached with
> install package). Perhaps there is more detailed man somewhere else.
>
> Also I think the archive of questions and answers (not only FAQ) could be
> placed somewhere on Web.

Something like Perl's GnuPG::Interface for Java would be cool.

- --
"The Funk, the whole Funk, and nothing but the Funk."
Linux barcode software mirror: http://dadadada.net/cuecat
Billy Donahue <mailto:billy@dadadada.net>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.3 (GNU/Linux)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/

iD8DBQE54eYZ+2VvpwIZdF0RAv9kAKCcT/kSgw7tzKueQedsxKnMTc8y0QCeJXVT
wF7JmfE6ub8KhYY/a+2ds58=
=rL9j
-----END PGP SIGNATURE-----

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: pass phrase in command line? [ In reply to ]
On Mon, 9 Oct 2000, Foltynski, Jarek D wrote:

> I could do this with option --passphrase-fd 0, and write to stdin. It works.
> But is there any option that allow the same from command line?

No. The reason is pretty simple: On most OSes every user is able to
see the commandlines another user used.

> BTW: I did not find options: --always-trust nor --allow-non-selfsigned-uid
> on any man page (http://www.gnupg.org/gpgman.html nor man file attached with

The man page is pretty old. I'll see whether I can update that
online version.

> install package). Perhaps there is more detailed man somewhere else.

Just checked, the current manpage describes both options and it
should descrive each option. BTW, gpg --dump-options gives you a
list of all long options GnuPG understands.

> Also I think the archive of questions and answers (not only FAQ) could be
> placed somewhere on Web.

http://lists.gnupg.org

Ciao,

Werner


--
Werner Koch GnuPG key: 621CC013
OpenIT GmbH http://www.OpenIT.de

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org