#5385 NORM Update.: XoIRC should set the nick to the username

Zarro Boogs per Child bugtracker at laptop.org
Fri Dec 21 18:20:34 EST 2007


#5385: XoIRC should set the nick to the username
-----------------------------+----------------------------------------------
  Reporter:  mburns          |       Owner:  edsiper 
      Type:  defect          |      Status:  new     
  Priority:  normal          |   Milestone:  Update.1
 Component:  xoirc-activity  |     Version:          
Resolution:                  |    Keywords:          
  Verified:  0               |    Blocking:          
 Blockedby:                  |  
-----------------------------+----------------------------------------------

Comment(by Phil):

 The attached patch generates a nickname as follows:

 * It pulls the user's nickname from Sugar;
 * It takes (up to) the first 11 alphabetic ASCII characters from that
 nickname;
 * It pulls their public key from Sugar;
 * It makes an MD5 hash of that key and pulls the last four hex digits of
 that hash;
 * It finally makes their nick 'NICKBITS-HASH'.

 This should keep nicks from colliding, and provide us with meaningful (and
 stable) nicks for particular users.

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



More information about the Bugs mailing list