Converting ascii armored signature to cleartext

David Shaw dshaw at jabberwocky.com
Wed Jun 27 03:13:18 CEST 2007


On Mon, Jun 25, 2007 at 02:06:55PM +0200, Werner Koch wrote:
> On Sun, 24 Jun 2007 12:07, hs2412 at gmail.com said:
> 
> > If someone sends me an ASCII armoured file with some signed text, can
> > I convert it into cleartext sign so that I can display it to people
> > without GPG also?
> 
> In general not because the canonicalization is different between the
> formats.  A conversion would break the signature.

Interestingly enough, while you can't always go from a signed file to
a clearsigned file, you can safely do the opposite of what the
original poster asked: converting from cleartext to a signed file
(armored or not) is possible.

(I'm not sure when someone would want to do this, but...)

David



More information about the Gnupg-users mailing list