Comment 4 for bug 540195

Revision history for this message
Curtis Hovey (sinzui) wrote :

I agree about falling back to a default. A user can use the same comment for many keys. It would be easier to add a rule to make a comment then to ask for one or tell the user to hack the key.

    if comment is None:
        comment = '%s key' % person.name

person.name is launchpad id. The code is in SSHKeySet.new() in lib/lp/registry/model/person.py