GPGME Cannot allocate memory on gpgme_op_decrypt_start

Werner Koch wk at
Fri Jun 25 15:04:20 CEST 2021

On Fri, 25 Jun 2021 09:39, Marco said:

>   err = gpgme_data_new_from_file(&in, input.string().c_str(), 1);

The 1 means copy the data to an internal buffer.  Use 0 here to stream
the data.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <>

More information about the Gnupg-users mailing list