[PATCH] Allow signing of files which are not present on the system

Werner Koch wk at gnupg.org
Wed Jul 27 19:35:04 CEST 2011

On Wed, 27 Jul 2011 17:36, gnupg+Steven.Murdoch at cl.cam.ac.uk said:

> My solution was to modify --print-md to output the intermediate state of the
> hash calculation, after hashing the file but before finalizing the hash. Then I
> modified --sign so that it will accept this intermediate state as input.

That is exactly waht I had in mind once when I was in need for such a
feature.  I never came around to implement it, though.

> The attached patch (on GnuPG 1.4.11) works, but needs some cleaning up before it
> could be merged. My question is whether this feature would be considered for
> acceptance by the GnuPG team?

We would first need a copyright assignment to the FSF.   Further I would
like to have the user interface more similar to
--show-session-key/--override-session-key.  Maybe  --show-md-state and
--override-md-state where the first would also stop right before
actually doing the signing.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-devel mailing list