Save comment hashes in sshkeys

pull/5060/head
James Tanner 11 years ago
parent 16b22d0d64
commit 4ba51eef6f

@ -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…
Cancel
Save