read from a file with gpa 0.4.3

Miguel Coca e970095@zipi.fi.upm.es
Sat Nov 2 22:57:01 2002


--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Oct 28, 2002 at 17:15:10 +0100, Patrick Tchoquessi wrote:
> Hello,
>=20
> I'd like to know if it's possible to let gpa gpa read the passphrase
> from a file and if it is,

Well, that'd be *really* insecure, but I guess you already knew that :-)

> which functions in the source code should I change for that

If you really want to do it, in GPA 0.4.3 you need to take a look at
src/passphrasedlg.c. That's the passphrase dialog, just remove the dialog
stuff and have it return the passphrase it read from the file, and it should
work fine.

But, anyway, are you really sure you need that? :-)

Regards,
--=20
Miguel Coca                                         e970095@zipi.fi.upm.es
PGP Key 0x27FC3CA8                         http://zipi.fi.upm.es/~e970095/

--Dxnq1zWXvFF0Q93v
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9xEoajE3Htif8PKgRAnKoAJoDMJHgmfbQwTe9XiB7xnJevHiUBgCfXyRE
87L0df6ey+sQDXBYv+iYS2s=
=PYZr
-----END PGP SIGNATURE-----

--Dxnq1zWXvFF0Q93v--