assistant: Allow periods in ssh key comments.
This commit is contained in:
parent
c59783a549
commit
3fdb78a51e
3 changed files with 4 additions and 1 deletions
|
@ -112,7 +112,7 @@ validateSshPubKey pubkey = either error return $ check $ words pubkey
|
|||
(ssh, keytype) = separate (== '-') prefix
|
||||
|
||||
checkcomment comment
|
||||
| all (\c -> isAlphaNum c || c == '@' || c == '-' || c == '_') comment = ok
|
||||
| all (\c -> isAlphaNum c || c == '@' || c == '-' || c == '_' || c == '.') comment = ok
|
||||
| otherwise = err "bad comment in ssh public key"
|
||||
|
||||
addAuthorizedKeys :: Bool -> FilePath -> SshPubKey -> IO Bool
|
||||
|
|
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -21,6 +21,7 @@ git-annex (3.20121128) UNRELEASED; urgency=low
|
|||
explanations.
|
||||
* webapp: Encryption can be disabled when setting up remotes.
|
||||
* assistant: Avoid trying to drop content from remotes that don't have it.
|
||||
* assistant: Allow periods in ssh key comments.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Wed, 28 Nov 2012 13:31:07 -0400
|
||||
|
||||
|
|
|
@ -14,3 +14,5 @@ Remote Machine: 3.20121113, Arch Linux (I installed the version from: https://au
|
|||
Please provide any additional information below.
|
||||
|
||||
None as yet. Let me know if there are any log files, etc. that I can post.
|
||||
|
||||
> So it was the period in the hostname! [[fixed|done]] --[[Joey]]
|
||||
|
|
Loading…
Reference in a new issue