(no commit message)
authorthk <thk@web>
Mon, 16 Mar 2020 13:03:56 +0000 (13:03 +0000)
committeradmin <admin@branchable.com>
Mon, 16 Mar 2020 13:03:56 +0000 (13:03 +0000)
doc/bugs/p2p_auth_token_can_only_be_retrieved_at_generation_time.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/p2p_auth_token_can_only_be_retrieved_at_generation_time.mdwn b/doc/bugs/p2p_auth_token_can_only_be_retrieved_at_generation_time.mdwn
new file mode 100644 (file)
index 0000000..616ae3e
--- /dev/null
@@ -0,0 +1,9 @@
+### Please describe the problem.
+
+`git annex p2p --gen-address` creates an auth token and than immediately prints it out so that it can be used to pair with another machine.
+
+But what am I supposed to do if I want to pair a third machine later? I do not want to call `--gen-address` again since it probably creates another token or even worse overwrites the token already used for one pairing.
+
+So we lack a command like `git annex p2p --show-address` that just prints the same as `--gen-address`. This is trivial since we just need to concatenate `.git/annex/creds/p2paddrs`, a colon and `.git/annex/creds/p2pauth`?
+
+Actually this would be a fun starter project for a new contributor to git-annex? (me?)