The nightly gpgme newbie question: en- and decrypt problems

Nico Schottelius nico-gnupg-dev-0 at schottelius.org
Wed Jul 9 14:29:29 CEST 2008


Hello Marcus¡

Marcus Brinkmann [Mon, Jul 07, 2008 at 10:39:50PM +0200]:
> nico-gnupg-dev-0 at schottelius.org wrote:
>> Yeah, found the problem!
>>
>> When I use gpgme_data_new_from_file() and import the result from
>> my previous encryption, it works:
>>   
> I have limited net access right now, but here are two hints that might  
> help you: gpgme data objects have a file pointer that must be rewound to  
> read written data (gpgme_data_seek).  To use the seek function make sure  
> you compile with large file support.  See the documentation.

Tried that here:

http://unix.schottelius.org/cgi-bin/gitweb.cgi?p=EOF/ceofhack;a=commitdiff;h=bac6504f564f7da0dd8a48e28cd4a55bff88739d;hp=86f3d41a53834231eea54da750bd4564c9c13ae0

but without success. See my other posting, where it narrows down to a
function.

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: </pipermail/attachments/20080709/04df9c21/attachment.pgp>


More information about the Gnupg-devel mailing list