On Tue, Feb 24, 2004 at 10:25:44PM -0600, Daniel Johnson wrote:
On 24 Feb 2004 at 22:18, Yaron M. Minsky wrote:
I've heard some requests for the ability to display the actual
picture
associated with the user attribute packet. Is the contents of the
user
attribute packet standardized enough for this to make sense? How
does
it work? Is it always just a JPEG file?
I haven't read the RFCs, but PGPv6.5.8ckt08 lists JPG and BMP as
options. GPG v1.2.3 only wants JPG.
The standard supports JPEG only. You can give PGP something else, but
it does a silent conversion to JPEG internally before building the
attribute packet.
The real annoyance in implementing this feature is that there's no
way > (at least, none I know of) to have the jpeg be part of the
body of the > HTML file.
The HTML format SKS outputs has to be compatible with automated
parsers, like GPG, right? Would they ignore a normal IMG tag (or
extra HREF)?
<IMG SRC="something:1234/file.jpg">
<A HREF="something:1234/pks?getpic=0xDEADBEEF">Photo</A>
I can't speak for other parsers, but GnuPG will properly handle this
if the <img src> tag is placed on a line either before the initial
"pub..." that starts the description of a key, or after the last user
ID that ends the description of a key.
The devel GnuPG uses the machine readable indexes, but there are a lot
of the older ones still in use.
David