Bug 14103 - Git URI Scheme password is dropped
Summary: Git URI Scheme password is dropped
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 5.99
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.3 M2
Assignee: Joshua Watt
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-10-22 01:53 UTC by Dominik Schmidt
Modified: 2021-01-14 16:16 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Patch for the bug (1.04 KB, application/octet-stream)
2020-10-22 01:53 UTC, Dominik Schmidt
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Schmidt 2020-10-22 01:53:30 UTC
Created attachment 4742 [details]
Patch for the bug

Hi,

When specifying git SRC_URIs like:

git://username:password@host.tld/path/to/repo.git

The password gets dropped from actual git commands.
Attached is a patch that preserves passwords.

Best,
Dominik
Comment 1 Dominik Schmidt 2020-11-02 02:26:28 UTC
See the bitbake merge request on the mailing-lists here:

https://lists.openembedded.org/g/bitbake-devel/message/11782
Comment 2 Joshua Watt 2021-01-14 16:16:47 UTC
Comment added in bitbake aded964eed4ce5a725ed1ab477efabc86b1aa481