Commit graph

19222 commits

Author SHA1 Message Date
Joey Hess
c2c36886e1
fix paste-o 2014-05-15 16:43:05 -04:00
Joey Hess
de0c10ae5b
fix paste-o 2014-05-15 16:42:37 -04:00
Joey Hess
bb3f6f7b20 Merge branch 'master' of ssh://git-annex.branchable.com 2014-05-15 16:38:44 -04:00
Joey Hess
b8a1bc4daf update for ddar special remote 2014-05-15 16:37:46 -04:00
Joey Hess
b1cddea7e4 remove odd character that snuck in somehow and broke build 2014-05-15 16:36:19 -04:00
http://joeyh.name/
b2749187bb Added a comment 2014-05-15 20:36:13 +00:00
Robie Basak
4184566627 ddar special remote 2014-05-15 16:32:44 -04:00
Joey Hess
f876850013 devblog 2014-05-15 16:32:37 -04:00
http://joeyh.name/
a5b250cd2a Added a comment 2014-05-15 20:22:41 +00:00
http://grossmeier.net/
6275e9b6ad 2014-05-15 20:05:35 +00:00
http://joeyh.name/
957ef992c7 Added a comment 2014-05-15 20:01:14 +00:00
http://joeyh.name/
21444ec6a1 Added a comment 2014-05-15 19:56:53 +00:00
http://joeyh.name/
94acad3be4 Added a comment 2014-05-15 19:54:54 +00:00
http://joeyh.name/
a16eba76b7 Added a comment 2014-05-15 19:53:16 +00:00
http://joeyh.name/
ec9413b9ee Added a comment 2014-05-15 19:51:48 +00:00
Joey Hess
8acb264a42 Merge branch 'master' of ssh://git-annex.branchable.com 2014-05-15 15:46:06 -04:00
Joey Hess
6641f947b2 add git-remote-gcrypt to build depends
This ensures it's pulled in when building the standalone tarball
2014-05-15 15:40:36 -04:00
Joey Hess
da202eb008 remove ssh-askpass recommends; close bugs obsoleted by sshpassword branch 2014-05-15 15:25:36 -04:00
Joey Hess
92232d753d close 2014-05-15 15:22:39 -04:00
http://joeyh.name/
bc48dbe931 Added a comment 2014-05-15 19:22:22 +00:00
Joey Hess
88d2a61947 update some comments re ssh password entry on Android 2014-05-15 15:20:24 -04:00
Joey Hess
dc72ea4ab5 deal with ssh key expiry
Not a perfect solution, but good enough, few users will wait 10 minutes in
the middle and see it expire, I hope.
2014-05-15 15:16:37 -04:00
Joey Hess
f651cbd572 fix style of button for new encryption key 2014-05-15 15:15:06 -04:00
Joey Hess
9384f0b27e changelog 2014-05-15 14:47:04 -04:00
Joey Hess
acbac3b8af Merge branch 'master' into sshpassword 2014-05-15 14:42:33 -04:00
Joey Hess
8cf3534194 gcrypt needs a new version, which I am releaseing 2014-05-15 14:36:39 -04:00
Joey Hess
77a06d9c8f move button to bottom, since password needs to be entered and remove confusing text 2014-05-15 13:39:04 -04:00
Joey Hess
c3c68f3235 todo 2014-05-15 12:56:12 -04:00
Joey Hess
c705df5651 remove windows-specific rsync.net code, no longer necessary thanks to ssh password handling
Since ssh password prompting no longer happens on stdin, the
authorized_keys line can be sent on stdin. Yay!
2014-05-15 12:30:29 -04:00
https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8
ddddc6da82 2014-05-15 14:30:53 +00:00
zardoz
8f4b37a9fc Added a comment 2014-05-15 13:03:48 +00:00
zardoz
4783db6e99 Added a comment 2014-05-15 08:58:26 +00:00
zardoz
214d949fe7 removed 2014-05-15 08:57:57 +00:00
zardoz
59f3227ddf Added a comment 2014-05-15 08:57:33 +00:00
zardoz
d2b3e04f22 2014-05-15 08:56:21 +00:00
zardoz
aad1909b75 2014-05-15 08:43:24 +00:00
zardoz
4140757206 Added a comment 2014-05-15 08:28:12 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkYmMFDdf3GJ9Oba6NCVkzGc4JyB9WavMs
2b36afb46f Added a comment 2014-05-15 02:07:06 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnJO6OKamxo1HDLwdV-W3KV4GhJ5Qitl9M
184953568f Added a comment 2014-05-15 00:57:24 +00:00
Joey Hess
f8ad4e1f63 Merge branch 'master' of ssh://git-annex.branchable.com 2014-05-14 18:21:59 -04:00
Joey Hess
cd6a5e8400 devblog 2014-05-14 18:18:53 -04:00
Joey Hess
f41b585c29 force strict host key checking when host is known
Avoid any possibilty of prompting in ssh setup in webapp.

Prticularly on Windows this was a problem, it seemed to enter an infinite
loop. I think that ssh can sometimes use SSH_ASKPASS for y/n prompting,
when no controlling TTY is available, and since git-annex always answers
back with the host's password, not y/n, it looped.

This commit was sponsored by Simon Michael.
2014-05-14 18:13:53 -04:00
Joey Hess
a66c942645 refactor 2014-05-14 17:31:20 -04:00
Joey Hess
74f937cc55 this will hopefully make the ssh askpass work on windows 2014-05-14 17:13:20 -04:00
Joey Hess
a11176bab3 avoid clobbering existing env
This is necessary on windows, ssh couldn't resolve hostnames without env
for whatever reason.
2014-05-14 16:36:03 -04:00
http://grossmeier.net/
2f7d65a344 2014-05-14 19:59:38 +00:00
Joey Hess
740de08461 fix windows build 2014-05-14 15:54:41 -04:00
Joey Hess
85e9e8c0cf 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.
2014-05-14 15:38:32 -04:00
EskildHustvedt
a79e4e8f69 2014-05-14 19:29:52 +00:00
Joey Hess
e391224516 setsid when running webapp in foreground too
This avoids ssh prompting for passwords on stdin, ever.

It may also change other behavior of other programs, as there is no
controlling terminal now. However, setsid was already done when running the
assistant in daemon mode, so any behavior changes should not be really new.
2014-05-14 14:26:28 -04:00