git-annex/RemoteDaemon
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
..
Transport non-tor AuthTokens 2025-07-07 15:10:15 -04:00
Common.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Core.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
Transport.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Types.hs remove unused import 2023-08-28 12:35:57 -04:00