gpgm-rs (Rust wrapper) Re: gpgme: debugging trace callback

Bernhard Reiter via Gnupg-devel <[email protected]>
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
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

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEvdlX+cT+D9xYPc1tK3ujv5vDpVQFAmZwT/UACgkQK3ujv5vD
pVR33wv/VjYbF7TLKS5HKf5au2dbpgHwQAAW571OP4caSOx8NO9CM+1RJWX/9JGU
QBIlXxwinE5tnMMXb183hVuNJRxvPEXGdVFqARrCWkDZfl8dU+K/pbrwmpA6hiPb
LCnBwOf/r/+ROx7PqZhr8hdU1F/QRR8JzpSDLeTcIrG4XaysSs0VUK17vk3v16U8
CN68fPIk//7ug+84b9GcLndyNVsIAPZytb7Ymfm61aACDYmrd08WnZh8xH4NPzHr
PXVucHc3sD3gEFDaKlA++xcOdFhGlqVrgKj/X8goGckAuQPHfzOsJJr+gGsgjNO8
nv6kdufdmbYM72f0TsB4dIb18vlt69hx7GC7tZjowO/VD7wNBB71QtAdyoXfi3iB
Jv528MO7u1tiYxQGnMwm5JPaVYE0q9TfNt/kE4cX0Pn4Y/0jJhmOZ3UuFptF7fQI
RzpuFBmo4IGU/hxiStqgcnxOcsIq3ihI4lk7V8uWbh72tI0e5RW+8BitLkB1wywJ
R02QXPkr
=enmQ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.