#6572 NORM Never A: Replace key with hash to reduce avahi TXT size

Zarro Boogs per Child bugtracker at laptop.org
Tue Mar 11 07:10:25 EDT 2008


#6572: Replace key with hash to reduce avahi TXT size
-------------------------------+--------------------------------------------
  Reporter:  morgs             |       Owner:  Collabora     
      Type:  defect            |      Status:  new           
  Priority:  normal            |   Milestone:  Never Assigned
 Component:  presence-service  |     Version:                
Resolution:                    |    Keywords:  review?       
  Verified:  0                 |    Blocking:                
 Blockedby:                    |  
-------------------------------+--------------------------------------------

Comment(by morgs):

 This is an experimental change, and fixing friending, or alternatively
 making this change only for salut and not gabble, will be more intrusive.
 PS depends on the key as the only true identifier for buddies. The exact
 value of the key isn't significant, but we derive the JID from the sha1
 hexdigest of the base64 of the public key, and there's no way to derive it
 from the base64 sha256 non-hexdigest of the key.

 Therefore, this patch should be seen as a testing tool, to validate the
 assumption that we can make the mesh significantly better by reducing the
 key payload in avahi. If we cannot test that now, or the gain is too low
 to consider the risk of changing something fundamental in PS, then we need
 to defer this.

-- 
Ticket URL: <http://dev.laptop.org/ticket/6572#comment:11>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list