summaryrefslogtreecommitdiff
path: root/Config/Files.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-05-14 15:02:18 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-05-14 15:38:32 -0400
commitffedbbee70d4f19dc89ca54d5fdc2277a5d5e867 (patch)
tree2f5c7b846a21ae9ebd160599e2043436d19ea81d /Config/Files.hs
parent2b89de6562469c7bee6ae8e78205012ef43396dc (diff)
webapp: Better ssh password prompting.
When setting up a remote on a ssh server, prompt for a password inside the webapp, rather than relying on ssh's own password prompting in the terminal the webapp was started from, or ssh-askpass. Avoids double prompting for the ssh password (and triple-prompting on windows for rsync.net), since the entered password is cached for 10 minutes and this cached password is reused when setting up the repository, after the initial probe. When the user has an existing ssh key set up, they can choose to use it, rather than entering a password. The webapp used to probe for this case automatically, so this is a little harder, but it's an advanced user thing. Note that this commit is known to break enabling existing rsync repositories. It hs not been tested with gcrypt repositories. It's not been successfully tested yet on Windows. This commit was sponsored by Ralph Mayer.
Diffstat (limited to 'Config/Files.hs')
0 files changed, 0 insertions, 0 deletions