sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] Displaying user images on index page


From: Pramberger Peter
Subject: Re: [Sks-devel] Displaying user images on index page
Date: Wed, 25 Feb 2004 09:34:25 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4) Gecko/20030807

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Shaw schrieb:
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


If I got it right, there can be multiple attribute packets on the key?

Do you really want to show up this images automatically? Although it is suggested to use images at the size of passport images, you can put an image of nearly any size you want on your key. Even gnupg issues only a warning about the size of the image but imports it anyway.


Peter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAPF4XomkGBEVXBcMRArotAJsETco4rnKeHGivVyzoGWsrK24glACg/9BQ
r/tX43Pc+I4zGjc+x3ROVWw=
=GzYd
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]