Question from a newbie

Carl L. Gilbert lamont_gilbert@rigidsoftware.com
Tue Aug 5 20:39:02 2003


--=-ITbjJogVYBLM2ZbyIiZb
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.
>=20
> This is my problem:
>     I want to change the passphrase from a command line, and Not from ins=
ide
> 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.
>=20
>     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=
l,
> 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=
e
> new and re type=20
>     the new one using a friendly Frontend. From PHP using the data typed =
by
> 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=
 in
> 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!!!
>=20
> -----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
>=20
>=20
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> 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=
ype
> > the new and re type the new one.
> >
> > But I don't know how to pass the actual passphrase, enter the new  and =
re
> > enter this without the dialog with gpg.
> > Some body help me PLEASE!!
> >
> > Luis Aguilera
> > Sorry about my poor language! (I'm speak spanish)
>=20
>   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=
k
> 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.
>=20
I heard somewhere that the password had to be 'armored' when passed on
the command line.  Not that I know what that means.




>   John
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3rc2 (GNU/Linux)
>=20
> iD8DBQE/LwO1H5oDXyLKXKQRAhw+AJ0etVDs91uCat0u/FTQEHD0utuG1gCgjsqP
> LJRhHsfRkkZz2uHFwR6bWEc=3D
> =3Dk7vp
> -----END PGP SIGNATURE-----
>=20
>=20
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
>=20
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
--=20
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
9:16

GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD  19AE 55B2 4CD7 80D2 0A2D
GNU Privacy Guard http://www.gnupg.org (Encryption and Digital
Signatures)

--=-ITbjJogVYBLM2ZbyIiZb
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)

iD8DBQA/L/nxVbJM14DSCi0RAvvlAJ4sa2qx5XQ7JkVjYO/ZaAkzxbGcmQCfS7gD
MSKNNEC+Dj7SMjoO2s01+lU=
=Ge+B
-----END PGP SIGNATURE-----

--=-ITbjJogVYBLM2ZbyIiZb--