Commit graph

19190 commits

Author SHA1 Message Date
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
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
Joey Hess
db8590791f Merge branch 'master' into sshpassword 2014-05-14 12:43:34 -04:00
https://id.koumbit.net/anarcat
5bdbe41564 sign and repaste 2014-05-14 15:51:33 +00:00
https://id.koumbit.net/anarcat
160ae6e177 2014-05-14 15:46:37 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlQeMMI82sfgZ9lim_9GqLkc4fsd0Z3Qt8
fa6f205633 Added a comment 2014-05-14 09:08:23 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnhrtcVb6osHXjvZeNpj9diqh_JjyARc30
f8b1f7e666 Weird formatting help 2014-05-14 07:44:15 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnhrtcVb6osHXjvZeNpj9diqh_JjyARc30
efc16892a4 Asking for help with "error: refs/heads/git-annex does not point to a valid object!" 2014-05-14 07:42:41 +00:00
https://id.koumbit.net/anarcat
ffc517ca55 Added a comment: confusing... 2014-05-14 05:04:02 +00:00
https://id.koumbit.net/anarcat
f88c6911d5 2014-05-14 02:09:04 +00:00
zardoz
64bcbdc3d4 Added a comment 2014-05-13 20:43:38 +00:00
zardoz
913637f327 Added a comment 2014-05-13 20:41:48 +00:00
zardoz
5b0d7474cd Added a comment 2014-05-13 20:34:33 +00:00
zardoz
dbc17e585a Added a comment 2014-05-13 20:27:42 +00:00
zardoz
e9098e0701 Added a comment 2014-05-13 20:25:25 +00:00
zardoz
89ac38c7ec Added a comment 2014-05-13 20:23:15 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkAUMhKOSkh9JaBA6xst3XxQIIsDEq5Zd4
fbd13bbe05 2014-05-13 18:48:57 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkAUMhKOSkh9JaBA6xst3XxQIIsDEq5Zd4
d36171028f Added a comment: working for git-annex assistant? 2014-05-13 18:40:31 +00:00
martin
80704313a4 Added a comment: Possible solution? 2014-05-13 17:51:41 +00:00
https://www.google.com/accounts/o8/id?id=AItOawm9ocq1Kb0WL-cz-LPpvd2Xm-q8tIQvqXA
606c563138 Added a comment: running as service 2014-05-13 17:40:58 +00:00
zardoz
627e133397 Added a comment 2014-05-13 16:50:58 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnUpiHkj-O5rLRlbwA1y6ZGfPNC0G0uE7U
4ccf064513 2014-05-13 15:22:39 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
b4e0517945 Added a comment 2014-05-13 15:09:42 +00:00
zardoz
eaf48c00f6 2014-05-13 11:59:56 +00:00
zardoz
47d9b0a615 2014-05-13 11:39:49 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkAUMhKOSkh9JaBA6xst3XxQIIsDEq5Zd4
485e8603b5 2014-05-13 11:20:23 +00:00
hyperio
baa553cf32 pubkey encryption; gpg 2014-05-12 19:40:37 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkAUMhKOSkh9JaBA6xst3XxQIIsDEq5Zd4
424595dd59 Added a comment 2014-05-12 11:04:00 +00:00
212.194.32.144
51ea854367 poll vote (Google Drive) 2014-05-11 21:19:09 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
45b781be8f 2014-05-11 21:00:00 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkYmMFDdf3GJ9Oba6NCVkzGc4JyB9WavMs
df96e4222d Added a comment 2014-05-11 15:15:51 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkAUMhKOSkh9JaBA6xst3XxQIIsDEq5Zd4
551aa32c3b Added a comment: partially solved 2014-05-11 09:32:33 +00:00
divB
65f1240c41 2014-05-10 21:29:57 +00:00
divB
ac6fe34486 Added a comment 2014-05-10 21:20:36 +00:00