Commit graph

779 commits

Author SHA1 Message Date
Joey Hess
e7d684b4e3
comment 2017-04-05 11:51:51 -04:00
Joey Hess
ee9b85f390
comment 2017-04-05 11:44:29 -04:00
anarcat
d2dd75f2b9 Added a comment: onion-grater 2017-03-30 14:49:13 +00:00
oberix@c7a19cddb1663df0c612a979b9d13b0d67f1f69a
a5b3b7a5a4 Added a comment: autostart and foreground together doesn't seem to work 2017-03-30 10:43:19 +00:00
anarcat
eef99dee60 add annex-sync setting sample 2017-03-27 19:50:43 +00:00
anarcat
a959b98769 link to torrent page 2017-03-27 16:25:31 +00:00
anarcat
49f1ee9610 some issue i have come up with a few times and workarounds 2017-03-27 16:23:15 +00:00
ewen
ec35d57200 Added a comment: Tracking GUIDs 2017-03-21 21:46:27 +00:00
ewen
9e84c0210b Add note about tracking guids since 2015 2017-03-21 21:36:36 +00:00
Joey Hess
297bcbcaad
comment 2017-03-21 13:34:52 -04:00
ewen
856e7a5f50 Added a comment: Track GUIDs to avoid duplicate downloads 2017-03-21 08:59:59 +00:00
ewen
12831ed724 removed 2017-03-21 08:49:19 +00:00
ewen
4652413766 Added a comment: Track GUIDs to avoid duplicate downloads 2017-03-21 08:48:05 +00:00
joern.mankiewicz@06fb5bc9b732f143dee3606866362f562531310d
9abed537f7 Added a comment: Beware global configurations! 2017-03-20 22:47:50 +00:00
Joey Hess
217cdbe6c8
comment 2017-03-20 17:19:33 -04:00
Joey Hess
a5ddef4ba3
response 2017-03-20 17:17:25 -04:00
joern.mankiewicz@06fb5bc9b732f143dee3606866362f562531310d
a88fa9f28a Added a comment: Git-annex ignores annex.largefiles in .gitattributes 2017-03-20 20:58:12 +00:00
Joey Hess
8dd3470da0
comment 2017-03-14 19:45:28 -04:00
https://launchpad.net/~stephane-gourichon-lpad
96b6d21d52 Added a comment: Isn't this procedure assuming that lost+found contains only uncorrupted previously annexed files? 2017-03-14 19:15:40 +00:00
Joey Hess
eb2db2b176
comment 2017-03-03 13:59:49 -04:00
xloem
afc65319af removed 2017-03-03 12:32:35 +00:00
xloem
52545b73be Added a comment: Non-conforming blobs 2017-03-03 12:30:35 +00:00
xloem
b7eff4a34d Added a comment: Non-conforming blobs 2017-03-03 12:29:52 +00:00
Joey Hess
701006bd83
clarification 2017-03-02 13:28:31 -04:00
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