sks-devel
[Top][All Lists]
Advanced

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

Re: [Sks-devel] expiration date now shown


From: Peter Palfrader
Subject: Re: [Sks-devel] expiration date now shown
Date: Thu, 22 Jan 2004 12:17:57 +0100
User-agent: Mutt/1.5.5.1+cvs20040105i

On Thu, 22 Jan 2004, Peter Palfrader wrote:

> On Thu, 18 Dec 2003, Peter Palfrader wrote:
> 
> > Hi,
> > 
> > If you look at
> > http://keyserver.noreply.org/pks/lookup?search=nickm%40freehaven&fingerprint=on&op=vindex
> > 
> > you will see, that sks only shows the expiration date for the self sigs.
> > 
> > However, some other signatures expire too, like Geoffrey's:
> > sig:::17:204C61150E606699:2003-04-10:2003-12-29:::Geoffrey L Goodell 
> > <address@hidden>:10x:
> 
> The problem is that SKS does not handle bit 7 of the subkey packet type:
> critical bit.
> 
> This fixes it.
> 
> diff -ruN sks-1.0.6-old/parsePGP.ml sks-1.0.6/parsePGP.ml
> --- sks-1.0.6-old/parsePGP.ml Sun Oct 12 22:20:19 2003
> +++ sks-1.0.6/parsePGP.ml     Thu Jan 22 12:07:56 2004
> @@ -159,7 +159,9 @@
>      
>  let read_sigsubpacket cin = 
>    let length = parse_sigsubpacket_length cin in
> -  let ssp_type = cin#read_byte in
> +  let ssp_type_byte = cin#read_byte in
> +  let ssp_type = ssp_type_byte land 0x7f in
> +  let ssp_critical = ssp_type_byte lor 0x80 in
>    let body = cin#read_string (length - 1) in
>    { ssp_length = length - 1;
>      ssp_type = ssp_type;
> 

See http://keyserver.noreply.org/pks/lookup?search=0x8A277312&op=vindex
for an example, and compare to other SKS nodes' output


Peter
-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
    messages preferred.    | : :' :      The  universal
                           | `. `'      Operating System
 http://www.palfrader.org/ |   `-    http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


reply via email to

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