[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: help on gpgme library



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 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
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]