GPGME progress callback no current or total

Werner Koch wk at
Wed May 16 14:31:12 CEST 2018

On Tue, 15 May 2018 20:45, tookmund at said:
> PROGRESS UPDATE: what = primegen, type = 43, current = 0, total = 0
> Aren't current and total supposed to indicate progress? Why might they
> be zero?

Depends on the type of progress.  For prime generation we can't do any

f you are processing files and pipe them to gpg (as gpgme does) it is
also not possible to compute a percentage.  However we have a sulution:
gpg has the option --input-size-hint which is used by
gpgme_data_set_flag()'s "size-hint".



#  Please read:  Daniel Ellsberg - The Doomsday Machine  #
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <>

More information about the Gnupg-users mailing list