internally signed JPEG files

David Shaw dshaw at
Mon Apr 14 22:35:01 CEST 2003

Hash: SHA1

On Sun, Apr 13, 2003 at 02:27:48PM +0200, Sascha René Leib wrote:
> Hello all,
> sorry if this has been discussed here already, I am new to this list, 
> but before I spend my weekend coding I rather ask if somebody has 
> already done this before.. :-)
> I am planning to add a GPG/PGP signature to a JPEG file. However, the 
> usual procedure of posting a hash key with the file does not appear 
> very user-friendly to me, that's why I would rather like to go another 
> way. In short:
>  - create a signature for the JPEG-Data stream
>  - insert this signature in a new marker segment in the JPEG file.

I haven't heard of anyone doing something like this with JPEG files,
but it seems like an interesting idea to me, and not very difficult at
all to do.

One bit I'd be concerned about is:

> Since JPEG viewers should ignore unknown marker segments, this should 
> not affect average end-users who can still view them conveniently in 
> their web browsers, etc.

The scary word there is "should" ;) I'd be interested to see how this
works out in practice with different JPEG viewers.

Version: GnuPG v1.2.2rc1 (GNU/Linux)


More information about the Gnupg-devel mailing list