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: Yaron M. Minsky
Subject: Re: [Sks-devel] expiration date now shown
Date: Thu, 22 Jan 2004 21:14:01 -0500

I'm still confused about this patch.  Is ssp_critical used for anything?

y

On Thu, 2004-01-22 at 06:17, Peter Palfrader wrote:
> 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
-- 
|--------/            Yaron M. Minsky              \--------|
|--------\ http://www.cs.cornell.edu/home/yminsky/ /--------|

Open PGP --- KeyID B1FFD916
Fingerprint: 5BF6 83E1 0CE3 1043 95D8 F8D5 9F12 B3A9 B1FF D916






reply via email to

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