Hi Cryolitia

Am Montag 03 Juni 2024 11:10:15 schrieb Cryolitia PukNgae via Gnupg-devel:
> To whom it may concern,
>         I'm using a rust binding gpgme-rs of gpgme to develop my program. I
> would like to know if there's a way to set a callback to receive the
> debugging trace log, instead of printing to stderr or file.

as far as I know there is no callback traceback possibility.

gpgme uses 
  https://www.gnupg.org/software/libgpg-error/index.html
  https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=tree

So a way to catch the traceback logs should probably look for the technical 
possibilities there first. (Like using a socket or something else, maybe a 
memory stream also works, I do not know.)

>         I have create an issue in gpgme-rs:
> https://github.com/gpg-rs/gpgme/issues/47

BTW I've listed gpgme-rs at  
  https://wiki.gnupg.org/APIs
now.

Best Regards,
Bernhard
-- 
https://intevation.de/~bernhard   +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel

Reply via email to