threads / patch / 34279

patchdocumentation: add git transport security notice

Subject: [PATCH] documentation: add git transport security notice

## tl;dr

One message between Jun 26, 2013 and Jun 26, 2013. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Fraser Tweedale· Jun 26, 2013, 05:53 UTC · lore

The fact that the git transport does not do any authentication is easily overlooked. For example, DNS poisoning may result in fetching from somewhere that was not intended.

Add a brief security notice to the "GIT URLS" section of the documentation stating that the git transport should be used with caution on unsecured networks.

Signed-off-by: Fraser Tweedale <frase@frase.id.au>
---
 Documentation/urls.txt | 3 +++
 1 file changed, 3 insertions(+)
Show changes to Documentation/urls.txt +3 −0
diff --git a/Documentation/urls.txt b/Documentation/urls.txt
index 3ca122f..b58a647 100644
--- a/Documentation/urls.txt
+++ b/Documentation/urls.txt
@@ -11,6 +11,9 @@ and ftps can be used for fetching and rsync can be used for fetching
 and pushing, but these are inefficient and deprecated; do not use
 them).
 
+The git transport does not do any authentication and should be used
+with caution on unsecured networks.
+
 The following syntaxes may be used with them:
 
 - ssh://{startsb}user@{endsb}host.xz{startsb}:port{endsb}/path/to/repo.git/
-- 
1.8.3.1

← back to recent threads