Add GMail like alias file name support for pub key #1

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant

cynipe commented Jun 1, 2012

When I using an alias address like "bob+alias@mydomain.com" for gitlab user account,
the generated public key name will "be bob+alias_mydomain_com_1331778284.pub"
but in that case SSHKey#from_file raises error since the regex does not allow to use "+" for account name.

This patch is fix the issue. However, it's better to consider much complex case of an user email .

Thanx.

cynipe commented May 19, 2015

close. since no response given.

cynipe closed this May 19, 2015

cynipe deleted the cynipe:mail-alias-support branch May 19, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment