aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@microsoft.com>2021-04-12 23:37:02 +1200
committerPaul Eggleton <paul.eggleton@microsoft.com>2021-04-12 23:37:02 +1200
commite18c6851ed98b4cac6b0eda0636a2e6eae88eb09 (patch)
treed2696cdf1c6d1864b255cbbb4fc7d45d6eb9ca0a
parente70b925ba98fd4fedf3940d141a4210c953087ca (diff)
downloadbitbake-contrib-e18c6851ed98b4cac6b0eda0636a2e6eae88eb09.tar.gz
bitbake-user-manual: document no support for using passwords in git URLs
This is based on the comment added in revision aded964eed4ce5a725ed1ab477efabc86b1aa481. Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
-rw-r--r--doc/bitbake-user-manual/bitbake-user-manual-fetching.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst b/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
index e9a5f336d..bd6cc0ef2 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
@@ -441,6 +441,15 @@ Here are some example URLs: ::
SRC_URI = "git://git.oe.handhelds.org/git/vip.git;tag=version-1"
SRC_URI = "git://git.oe.handhelds.org/git/vip.git;protocol=http"
+.. note::
+
+ Specifying passwords directly in ``git://`` urls is not supported.
+ There are several reasons: ``SRC_URI`` is often written out to logs and
+ other places, and that could easily leak passwords; it is also all too
+ easy to share metadata without removing passwords. SSH keys, ``~/.netrc``
+ and ``~/.ssh/config`` files can be used as alternatives.
+
+
.. _gitsm-fetcher:
Git Submodule Fetcher (``gitsm://``)