Help! Gnupg can't run in php program

Simon Ruderich simon at ruderich.com
Mon Aug 28 08:48:24 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


On 28.08.2006, at 05:39, Robert J. Hansen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Haibo Liu wrote:
>
>> I create my key pair in the ./gnupg directory.
>>
>
> In which .gnupg directory, though?  Your web server probably runs as a
> different user.
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iQEcBAEBCgAGBQJE8mVVAAoJELcA9IL+r4EJIMcIAORDmNlBMpY1i3a6wm6DGGSd
> H2efHGgPzv/EaDBZkVmnIgptQ2A+3oZwJvZY2iO6dNsSY09qSiU4ZFY19z7lKLVs
> aVXslKCD3rbXAWAcfLOgR1GyBhRlba9ZV9Kbehnkd5W3ZRMg4o4VvYtBAchqQiFh
> LIRseBSjRepdqdMnZKgGeiA9laHQ85u7zQNKIsb6JxElxhrYbCO52n3j0M6Dr8sx
> HO4dg8WGgW3Rjt3i3Plh7VrJt+XVTUEjxKVJHn7JcPFAbBSJSrykwIhPfKx6blil
> grs94AS9pLDrs/fbfp6AMGvoOFTMICEXG36eBTWp3DXatO3k71gvJSG2KThH86w=
> =qJMr
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users

You should use an absolute path to the gnupg home directory and you  
have to ensure that the user which runs the webserver has read access  
to the directory.
Simon
- ----
 > privacy is necessary
 > using http://gnupg.org
 > public key id: 0x6115F804EFB33229 http://ruderich.com/ 
simonruderich.asc


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFE8pG4YRX4BO+zMikRCtXSAJ9d0nO/p0uZIgrG5LQkwabm3DUWtgCghhM1
Ml903+yAIG8jsUcLOIYqJZU=
=S8oU
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list