I previously saw a post that indicated encrypting a buffer at a time was
possible in the case the producer of the data being encrypted was streaming.
The algorithm went a little something like this:
while ((n_read = getdata( buffer )) > 0)
{
write_data_to_gpgme (buffer);
enc = get_encrypted_dat
bah, have to gpgme_data_seek(plain, 0, SEEK_SET); before encrypting.
Seems kind of obvious now, but maybe should have been documented.
Tyler Retzlaff wrote:
I'm using the following piece of code which is heavily derived from that
found in the gpgme/test directory. (With error checking re
I'm using the following piece of code which is heavily derived from that
found in the gpgme/test directory. (With error checking removed for
clarity, though in the real code all error checking is being done)
The problem is when I use gpgme_data_write() to enter the text into the
plain text dat
I'm having difficulty with keys not wanting to generate or taking a very
long time to generate. I suspect this is due to the source of entropy
used to generate the key not being very active. I notice I can "force"
the process along by causing some extra network/cpu activity on the host
I'm ge