[Sugar-devel] [PATCH sugar] Limit the nick name to be only 8 characters maximum #10737

Simon Schampijer simon at schampijer.de
Tue Mar 29 12:39:20 EDT 2011


On 03/25/2011 04:45 PM, Sascha Silbe wrote:
> Excerpts from Simon Schampijer's message of Tue Mar 22 22:49:53 +0100 2011:
>
>> Avahi uses "GetHostName" (on the XO this is something like 'xo-a7-2e-70'
>> based on the HW address).
>
> If GetHostName is based on gethostname(), then it is far from unique.
> Most distributions default to a constant name like "debian". The user
> can override it during installation, but many users are lazy / don't
> care.
>
>> In the PS we did use the first 8 characters of the ssh key of the user
>> and pushed that into 'published-name'. My first patch was based on that [1].
>>
>> As I understood Tomeu he wanted to use the nick name instead now to
>> enhance the information we give out.
>
> I can understand the goal of human readable names, but I'm worried about
> what happens if the new assumptions (unique host name) are not met.

Actually I went back to the original behavior and based the 
'published-name' on the pubkey (see the new patch). I asked Tomeu and he 
agreed on that.

So I hope we are good to go now.

Regards,
    Simon



More information about the Sugar-devel mailing list