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

Re: F11 for the X01- shutdown





--- On Fri, 7/31/09, Daniel Drake <dsd laptop org> wrote:

> From: Daniel Drake <dsd laptop org>
> Subject: Re: F11 for the X01- shutdown
> To: "James Cameron" <quozl laptop org>
> Cc: "Yioryos Asprobounitis" <mavrothal yahoo com>, fedora-olpc-list redhat com, "Martin Langhoff" <martin langhoff gmail com>
> Date: Friday, July 31, 2009, 2:15 PM
> 2009/7/31 James Cameron <quozl laptop org>:
> > On Fri, Jul 31, 2009 at 05:14:07PM +0545, Daniel Drake
> wrote:
> >> I think I see the problem. I think martin has
> misinterpreted the theft
> >> deterrence protocol.
> >
> > Per "rpm -qf /usr/sbin/olpc-update-query" one can see
> that it is from
> > package olpc-update-2.19-1.fc11.noarch
> >
> > Is there an earlier version?
> >
> > Where can I find the src.rpm and the upstream source?
> 
> It's a standard Fedora package.
> 
> >> In check_stolen_hash(), please modify strings to
> be:
> >>     strings = ( uuid + ':' + nonce + ':STOLEN'
> )
> >> i.e. remove the first entry, which actually
> indicates non-stolen.
> >>
> >> Does that help?
> >
> > No.
> 
> Your diff is correct but I see a 2nd bug too: the return
> value of
> check_stolen_hash is never checked.
> 
> handmade diff for you to test:
> 
> -    if isxo and 'stolen' in resp_map:
> -   
>    check_stolen_hash(resp_map['stolen'],
> uuid, nonce)
> +    if isxo and 'stolen' in resp_map and
> check_stolen_hash(resp_map['stolen'], uuid, nonce):
>  # this machine has been reported stolen - get rid of
> 
> let me know if you need more details...
> 

I do not know if with this patch the XO is still protected but certainly /usr/sbin/olpc-update-query in NOT crashing my XO anymore


      


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