[PATCH] Allow signing of files which are not present on the system
wk at gnupg.org
Fri Jul 29 10:19:06 CEST 2011
On Wed, 27 Jul 2011 20:47, gnupg+Steven.Murdoch at cl.cam.ac.uk said:
> Good, I'm glad to see I was on the right track. There are some downsides though,
> one being that I think the intermediate state is platform-specific (endianness
> and sizeof int). Fixing this would I believe require changing all the hash
> function implementations, whereas the current patch just copies contextsize
> bytes and this works for all supported hash functions as far as I can tell.
Right. Thinking more about it I come to the conclusion that I would
like to have is a general infrastructure for suspending and resuming
hash computations. The to be saved state should of course be machine
independent. This is something which needs to be done in Libgcrypt
(used by GnuPG 2.x) and requires a bit of coding and a new API. I will
do this for Libgcrypt 1.6.
I am not sure whether it will be possible to eventually backport such
changes to 1.4.
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-devel