Save comment hashes in sshkeys
This commit is contained in:
parent
7de788f346
commit
999b04f7fa
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ def parsekey(raw_key):
|
|||
# split key safely
|
||||
lex = shlex.shlex(raw_key)
|
||||
lex.quotes = ["'", '"']
|
||||
lex.commenters = '' #keep comment hashes
|
||||
lex.whitespace_split = True
|
||||
key_parts = list(lex)
|
||||
|
||||
|
|
Loading…
Reference in a new issue