Commit graph

755 commits

Author SHA1 Message Date
dvicory
e4642a2452 Added a comment: Security of P2P repo is unclear 2017-02-28 20:30:31 +00:00
Joey Hess
2c281baf00
better headings 2017-02-27 16:18:20 -04:00
Joey Hess
3f876f72e3
larger headings 2017-02-27 16:17:19 -04:00
Joey Hess
e53070c1ff
inheritable annex.securehashesonly
* init: When annex.securehashesonly has been set with git-annex config,
  copy that value to the annex.securehashesonly git config.
* config --set: As well as setting value in git-annex branch,
  set local gitconfig. This is needed especially for
  annex.securehashesonly, which is read only from local gitconfig and not
  the git-annex branch.

doc/todo/sha1_collision_embedding_in_git-annex_keys.mdwn has the
rationalle for doing it this way. There's no perfect solution; this
seems to be the least-bad one.

This commit was supported by the NSF-funded DataLad project.
2017-02-27 16:08:23 -04:00
Joey Hess
942e0174b3
make fsck check annex.securehashesonly, and new tip for working around SHA1 collisions with git-annex
This commit was sponsored by andrea rota.
2017-02-27 13:55:15 -04:00
Joey Hess
32782ab324
linkify 2017-02-17 15:58:32 -04:00
Joey Hess
a700fdf5cf
documentation updates for new receive.denyCurrentBranch=updateInstead support
This commit was sponsored by andrea rota.
2017-02-17 15:43:16 -04:00
Edward Betts
0750913136
correct spelling mistakes 2017-02-12 17:30:23 -04:00
git-annex@6f13b739194f758abc0b86556b7ce966c1bf3c00
670f9a5116 2017-01-31 16:53:58 +00:00
Joey Hess
809ddd9df8
reusing repository uuid cannot result in data loss AFAIK
Avoiding such problems is one reason why git-annex does active
verification of other copies of a file when dropping.

You could argue that reusing the uuid of a trusted repository leads to
data loss, but that data loss doesn't really involve reusing the uuid,
but instead is caused by deleting a trusted repository. Using trusted
repositories without a great deal of care is a good way to blow off your
foot, of which deleting them is only the most obvious;
added some sections about that.

If reusing a repository uuid could result in data loss then I'd be on
board with making reinit run a fast fsck to update the location log, but
since it can't, I feel that is not worth forcing. Not a bad idea to run
fsck afterwards. Updated language about that.

This commit was sponsored by Jake Vosloo on Patreon.
2017-01-30 13:18:50 -04:00
justin@561b4852d5c1d8db31dc571612954bde7bb325a1
9119b52e71 Fixes ToC 2017-01-17 19:49:18 +00:00
https://anarc.at/openid/
7855cb715b backwards links again 2017-01-17 19:47:13 +00:00
https://anarc.at/openid/
7bbe262ff1 fix link 2017-01-17 19:46:25 +00:00
justin@561b4852d5c1d8db31dc571612954bde7bb325a1
c420cb0538 Page flow and antipattern separation 2017-01-17 19:44:12 +00:00
https://anarc.at/openid/
06296b0298 note an improvement on the reinit manpage 2017-01-17 19:35:24 +00:00
https://anarc.at/openid/
cdac57b5bd a list of problems i had with git-annex 2017-01-17 19:22:49 +00:00
Joey Hess
30136bad93
fix link and clarify 2016-12-28 12:40:43 -04:00
Joey Hess
794babf35a
add back share_with_a_friend_walkthrough, adapted for tor pairing
and some other xmpp to tor related changes
2016-12-24 15:46:02 -04:00
Joey Hess
e08691b393
enable-tor: When run as a regular user, test a connection back to the hidden service over tor.
This way we know that after enable-tor, the tor hidden service is fully
published and working, and so there should be no problems with it at
pairing time.

It has to start up its own temporary listener on the hidden service. It
would be nice to have it start the remotedaemon running, so that extra
step is not needed afterwards. But, there may already be a remotedaemon
running, in communication with the assistant and we don't want to start
another one. I thought about trying to HUP any running remotedaemon, but
Windows does not make it easy to do that. In any case, having the user
start the remotedaemon themselves lets them know it needs to be running
to serve the hidden service.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2016-12-24 12:50:23 -04:00
Joey Hess
f7ca2b92fb
enable-tor: No longer needs to be run as root.
When run by not root, su's to root automatically.

This commit was sponsored by Brock Spratlen on Patreon.
2016-12-20 17:40:36 -04:00
Joey Hess
dc7fda2ec5
section on safe pairing code exchange 2016-12-19 12:27:16 -04:00
Joey Hess
ccde0932a5
p2p --pair with magic wormhole (untested)
It builds. I have not tried to run it yet. :)

This commit was sponsored by Jake Vosloo on Patreon.
2016-12-18 16:51:41 -04:00
Joey Hess
38f9337e16
Revert "p2p --link now defaults to setting up a bi-directional link"
This reverts commit 3037feb1bf.

On second thought, this was an overcomplication of what should be the
lowest-level primitive. Let's build bi-directional links at the pairing
level with eg magic wormhole.
2016-12-16 18:26:07 -04:00
Joey Hess
3037feb1bf
p2p --link now defaults to setting up a bi-directional link
Both the local and remote git repositories get remotes added
pointing at one-another.

Makes pairing twice as easy!

Security: The new LINK command in the protocol can be sent repeatedly,
but only by a peer who has authenticated with us. So, it's entirely safe to
add a link back to that peer, or to some other peer it knows about.
Anything we receive over such a link, the peer could send us over the
current connection.

There is some risk of being flooded with LINKs, and adding too many
remotes. To guard against that, there's a hard cap on the number of remotes
that can be set up this way. This will only be a problem if setting up
large p2p networks that have exceptional interconnectedness.

A new, dedicated authtoken is created when sending LINK.

This also allows, in theory, using a p2p network like tor, to learn about
links on other networks, like telehash.

This commit was sponsored by Bruno BEAUFILS on Patreon.
2016-12-16 16:38:06 -04:00
Joey Hess
e67a310da1
p2p: --link no longer takes a remote name, instead the --name option can be used. 2016-12-16 15:37:50 -04:00
Joey Hess
44c55e2441
fix links 2016-12-07 16:11:30 -04:00
Joey Hess
62043df289
git-annex-metadata-gui yay! 2016-12-07 16:00:12 -04:00
Joey Hess
76b46afed1
add section on tor speed 2016-12-07 15:21:38 -04:00
Joey Hess
2fb6fd7434
Merge branch 'master' into tor 2016-12-07 14:32:25 -04:00
Joey Hess
f3a3dc14ec
add section on security 2016-12-07 13:58:10 -04:00
Joey Hess
528c7bee24
fix up some commands 2016-12-07 12:00:27 -04:00
alpernebbi
3e0176054b 2016-12-05 19:34:55 +00:00
Joey Hess
3ab12ba923
implement p2p --link
This commit was sponsored by Riku Voipio.
2016-11-30 15:16:25 -04:00
Joey Hess
bfc8305814
implement p2p command 2016-11-30 14:35:24 -04:00
Joey Hess
a173f85578
update docs for git-annex p2p command
It is not yet implemented.
2016-11-29 17:31:10 -04:00
Joey Hess
398345cb26
Merge branch 'master' into tor 2016-11-29 15:45:29 -04:00
StephaneGourichon
27585f7569 Added a comment: Walkthrough of a prudent retroactive annex. 2016-11-24 11:27:59 +00:00
Joey Hess
bfd19e0952
docs for stuff not fully implemented yet 2016-11-22 15:29:30 -04:00
scottgorlin@a32946b2aad278883c1690a0753241583a9855b9
3c1c3b96fa Added a comment: Coldline 2016-11-21 00:49:23 +00:00
https://launchpad.net/~stephane-gourichon-lpad
eaf86f4ff5 Added a comment: "Hmm, guyz? Are you serious with these scripts?" Well, what's the matter? 2016-11-15 10:58:32 +00:00
grawity@2ea26be48562f66fcb9b66307da72b1e2e37453f
30e07dbd9b prefer per-user, fix ExecStart syntax 2016-11-10 06:34:44 +00:00
Euxane
18eb318c57 2016-11-08 10:10:12 +00:00
stefan.huchler@5f110ab85a15aec7e2b38586eb7ec37b12e2e6aa
f9d7b951f7 Added a comment: workaround to my request 2016-11-05 14:53:36 +00:00
stefan.huchler@5f110ab85a15aec7e2b38586eb7ec37b12e2e6aa
cf20d16526 Added a comment: how to use normal rm to files directly? 2016-11-04 21:04:56 +00:00
https://launchpad.net/~stephane-gourichon-lpad
4b9e4255e0 Added a comment: Dead project, or just working smoothly? Also, which hat color? 2016-10-23 18:23:34 +00:00
fiatjaf
9d2ff4df77 Added a comment: related work 2016-10-11 13:35:08 +00:00
git-annex@5b470e1f6ed6d30997d729f0a8b1c841dea886f1
2f91b3677c Added a comment: Using gitolite 3.6.6 mirror not working with annex 2016-09-28 18:12:56 +00:00
Joey Hess
08b7832d9d
comment 2016-09-21 15:39:32 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
c50dce1cc9 Added a comment: current status? 2016-09-06 14:11:25 +00:00
Joey Hess
bbfe82526a
comment 2016-09-05 14:25:41 -04:00