authentication is implemented

just need to make Command.P2PHttp generate a GetServerMode from options
This commit is contained in:
Joey Hess 2024-07-09 20:52:56 -04:00
parent e5bf49b879
commit 6a8a4d1775
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 46 additions and 21 deletions

View file

@ -26,6 +26,9 @@ it will fail with 401 Unauthorized.
Authentication is done using HTTP basic auth. The realm to use when
authenticating is "git-annex".
When authentication is successful but does not allow a request to be
performed, it will fail with 403 Forbidden.
Note that HTTP basic auth is not encrypted so is only secure when used
over HTTPS.