git-annex/P2P
Joey Hess 46ee651c94
non-tor AuthTokens
As groundwork for making git-annex p2p support other P2P networks than
tor hidden services, when an AuthToken is not a TorAnnex value, but
something else (that will be added later), store the P2PAddress that it
will be used with along with the AuthToken. And in loadP2PAuthTokens,
only return AuthTokens for the specified P2PAddress.

See commit 2de27751d6 for some design work
that led to this.

Also, git-annex p2p --gen-addresses is changed to generate a separate
AuthToken for every P2P address. Rather than generating a single
AuthToke and using it for every one. When we have more than just tor,
this will be important for security, to avoid a compromise of one P2P
network exposing the AuthToken used for another network.
2025-07-07 15:10:15 -04:00
..
Http Added remote.name.annex-web-options config 2025-04-01 10:17:38 -04:00
Address.hs more OsPath conversion 2025-01-29 16:24:51 -04:00
Annex.hs remove unused adjustedBranchRefresh associated file parameter 2025-02-21 14:51:02 -04:00
Auth.hs non-tor AuthTokens 2025-07-07 15:10:15 -04:00
Http.hs implement put data-present parameter in http servant 2024-10-29 13:32:43 -04:00
IO.hs remove garbage from middle of comment 2025-07-07 13:21:21 -04:00
Protocol.hs more OsPath conversion (502/749) 2025-02-05 13:29:58 -04:00
Proxy.hs fix recording present on the proxy when proxying DATA-PRESENT 2024-10-30 13:17:31 -04:00