Question from a newbie

Carl L. Gilbert
Tue Aug 5 20:39:02 2003

Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2003-08-05 at 08:39, Aguilera, Luis wrote:
> hi,
> 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=
> Gnupg.
>     I'm developing a software based in webpages with PHP, that will send
> files=20
>     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
> generate=20
>     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 []
> Enviado el: Lunes, 04 de Agosto de 2003 10:09 p.m.
> Para: GnuPG-Users
> Asunto: Re: Question from a newbie
> 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
> *any*=20
> cryptography. This is similar (I think) to the discussion or the past wee=
> or=20
> so about automating these kinds of things in cryptography. It may as well
> not=20
> be used at all, since you don't want to 'physically' monitor what's
> happening=20
> with your public and private keys.
>   Like I said, I may just be reading your message incorrectly, but that's
> what=20
> 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.

>   John
> Version: GnuPG v1.2.3rc2 (GNU/Linux)
> iD8DBQE/LwO1H5oDXyLKXKQRAhw+AJ0etVDs91uCat0u/FTQEHD0utuG1gCgjsqP
> LJRhHsfRkkZz2uHFwR6bWEc=3D
> =3Dk7vp
> _______________________________________________
> Gnupg-users mailing list
> _______________________________________________
> Gnupg-users mailing list
Thank you,

CL Gilbert
"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 (Encryption and Digital

Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

Version: GnuPG v1.2.2 (GNU/Linux)