I've switched 1 to 0 for

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

as suggested.
The error is:
Failed to set input file with error: 117440567 --> Invalid value




Il giorno ven 25 giu 2021 alle ore 15:15 Marco <bna.ma...@gmail.com> ha
scritto:

> After reading the documentation I supposed it was not correct because
> says to be not implemented.
>
> I'll give a try immediately and I'll let you know (but I expect it will
> work!)
>
> Thank you!!!
>
> Il giorno ven 25 giu 2021 alle ore 15:05 Werner Koch <w...@gnupg.org> ha
> scritto:
>
>> 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.
>>
>>
>> Salam-Shalom,
>>
>>    Werner
>>
>> --
>> Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
>>
>
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to