Question from a newbie
Carl L. Gilbert
Tue Aug 5 20:39:02 2003
On Tue, 2003-08-05 at 08:39, Aguilera, Luis wrote:
> May be i wasn't clear exposing the problem.
> This is my problem:
> I want to change the passphrase from a command line, and Not from ins=
> I'm developing a software based in webpages with PHP, that will send
> to other applications and that use keys generated with Gnupg to sign
> this files.
> When the software is installed in a new computer. I'm the person who
> the keys that will use the New user. I need to give to the User a too=
> to They can change=20
> their Passphrase with a Frontend in PHP.
> The user have to type his passphrase in the webpage PHP, then type th=
> new and re type=20
> the new one using a friendly Frontend. From PHP using the data typed =
> the User, I want to
> execute Gnupg and change the passphrase.
> Before to begin the develop in PHP, I was try to change my passphrase=
> DOS mode=20
> giving to Gnupg all data needed in a Command Line (my passphrase, The
> new and the new again).
> But, it doesn't work. Allways i've to type inside Gnupg this data.
> I want to change the passphrase from a command line
> I hope to be explicit!
> Thanks for your advice!!!
> -----Mensaje original-----
> De: John B [mailto:Yochanon@tds.net]
> Enviado el: Lunes, 04 de Agosto de 2003 10:09 p.m.
> Para: GnuPG-Users
> Asunto: Re: Question from a newbie
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On Monday 04 August 2003 15:40, Aguilera, Luis wrote:
> > Hi,
> > I want to automatize change of the passphrase using gnupg from PHP.
> > But, I can't make it work from a command line in DOS mode.
> > I'm try to work out this with:
> > gpg --edit-key charlie passwd
> > and gpg turns the dialog mode and I've to type the actual passphrase, t=
> > the new and re type the new one.
> > But I don't know how to pass the actual passphrase, enter the new and =
> > enter this without the dialog with gpg.
> > Some body help me PLEASE!!
> > Luis Aguilera
> > Sorry about my poor language! (I'm speak spanish)
> The way *I* read your message, it looks like you might as not be using
> cryptography. This is similar (I think) to the discussion or the past wee=
> so about automating these kinds of things in cryptography. It may as well
> be used at all, since you don't want to 'physically' monitor what's
> with your public and private keys.
> Like I said, I may just be reading your message incorrectly, but that's
> I got out of it.
I heard somewhere that the password had to be 'armored' when passed on
the command line. Not that I know what that means.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3rc2 (GNU/Linux)
> -----END PGP SIGNATURE-----
> Gnupg-users mailing list
> Gnupg-users mailing list
"Then said I, Wisdom [is] better than strength: nevertheless the poor
man's wisdom [is] despised, and his words are not heard." Ecclesiastes
GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D
GNU Privacy Guard http://www.gnupg.org (Encryption and Digital
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
-----END PGP SIGNATURE-----