Making dig calls in GPG code

Bhargava Shastry bshastry at sec.t-labs.tu-berlin.de
Fri Sep 23 15:49:09 CEST 2016


Hi all,

Is there a documented way of making dig (dnsutils) calls from within
GPG? Or a standard means to run a shell command and parse its output? I
looked at exec_write() call but its usage wasn't entirely clear after I
read its code because of fork+exec+pipe at play and the pipe reading
from stdin.

Suggestions welcome!

Thanks and Regards,
Bhargava


-- 
Bhargava Shastry <bshastry at sec.t-labs.tu-berlin.de>
Security in Telecommunications
TU Berlin / Telekom Innovation Laboratories
Ernst-Reuter-Platz 7, Sekr TEL 17 / D - 10587 Berlin, Germany
phone: +49 30 8353 58235



More information about the Gnupg-devel mailing list