help on gpgme library

Brady A. Deetz brady-deetz at utulsa.edu
Tue Mar 13 06:12:40 UTC 2007


Dear Ronald,
I am working on a module that calls outside programs as well for my research project.  I am glad to see that it is actually allowing me to assist the pam community.  Here is the code I use to call an external program.


/*
 * FILE *fp;
 * fp = popen("ls -l", "r");
 */


I hope this helps.  I am not really familiar with GPG, but I hope this will get you somewhere.

Quoting ronald de la cruz <rcdelacruz at gmail.com>:

> I do have some concerns. I wish you could share some insights.
> Im doing a
> PAM module. And i want to integrate the encryption using GPG
> via the GPGME
> library. But the problem is the library won't run on PAM. But
> in a
> stand-alone apps it works. A 'gpgme: end of file' error always
> occured when
> i run it on pam module, but if i run outside pam(i.e.
> stand-alone) it works.
> 
> Please help
> 
> -- 
> ronald de la cruz
> 




More information about the Pam-list mailing list