<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14103</bug_id>
          
          <creation_ts>2020-10-22 01:53:30 +0000</creation_ts>
          <short_desc>Git URI Scheme password is dropped</short_desc>
          <delta_ts>2021-01-14 16:16:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>5.99</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.3 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominik Schmidt">ds</reporter>
          <assigned_to name="Joshua Watt">JPEWhacker</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88452</commentid>
    <comment_count>0</comment_count>
      <attachid>4742</attachid>
    <who name="Dominik Schmidt">ds</who>
    <bug_when>2020-10-22 01:53:30 +0000</bug_when>
    <thetext>Created attachment 4742
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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88534</commentid>
    <comment_count>1</comment_count>
    <who name="Dominik Schmidt">ds</who>
    <bug_when>2020-11-02 02:26:28 +0000</bug_when>
    <thetext>See the bitbake merge request on the mailing-lists here:

https://lists.openembedded.org/g/bitbake-devel/message/11782</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88936</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2021-01-14 16:16:47 +0000</bug_when>
    <thetext>Comment added in bitbake aded964eed4ce5a725ed1ab477efabc86b1aa481</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>4742</attachid>
            <date>2020-10-22 01:53:30 +0000</date>
            <delta_ts>2020-10-22 01:53:30 +0000</delta_ts>
            <desc>Patch for the bug</desc>
            <filename>0001-Append-the-password-to-the-username-on-git-URI-reass.patch</filename>
            <type>application/octet-stream</type>
            <size>1064</size>
            <attacher name="Dominik Schmidt">ds</attacher>
            
              <data encoding="base64">RnJvbSAwMzJkNmZmOTJjYTg2NmE4NzY4MzI3NDU2MDIxNDI1MWNlYTA4YjU2IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBEb21pbmlrIFNjaG1pZHQgPGRzQHRlY2hub2tyYXQuY2g+CkRh
dGU6IFRodSwgMjIgT2N0IDIwMjAgMTA6NDI6MTEgKzAyMDAKU3ViamVjdDogW1BBVENIXSBBcHBl
bmQgdGhlIHBhc3N3b3JkIHRvIHRoZSB1c2VybmFtZSBvbiBnaXQgVVJJIHJlYXNzZW1ibGluZy4K
ClRoaXMgYWxsb3dzIHRoZSB1c2VycyB0byBzcGVjaWZ5IFNSQ19VUklzIG9mIHRoZSBmb3JtCmdp
dDovL3VzZXI6cGFzc3dvcmRAaG9zdC50bGQvcGF0aC90by9yZXBvLmdpdAoKd2hpY2ggYWxsb3dz
IHB1bGxpbmcgaW4gcHJpdmF0ZSByZXBvc2l0b3JpZXMuCi0tLQogYml0YmFrZS9saWIvYmIvZmV0
Y2gyL2dpdC5weSB8IDUgKysrKy0KIDEgZmlsZSBjaGFuZ2VkLCA0IGluc2VydGlvbnMoKyksIDEg
ZGVsZXRpb24oLSkKCmRpZmYgLS1naXQgYS9iaXRiYWtlL2xpYi9iYi9mZXRjaDIvZ2l0LnB5IGIv
Yml0YmFrZS9saWIvYmIvZmV0Y2gyL2dpdC5weQppbmRleCBiOTc5NjdiNDg3Li4wOTBmYTE3M2Uz
IDEwMDY0NAotLS0gYS9iaXRiYWtlL2xpYi9iYi9mZXRjaDIvZ2l0LnB5CisrKyBiL2JpdGJha2Uv
bGliL2JiL2ZldGNoMi9naXQucHkKQEAgLTU5Niw3ICs1OTYsMTAgQEAgY2xhc3MgR2l0KEZldGNo
TWV0aG9kKToKICAgICAgICAgUmV0dXJuIHRoZSByZXBvc2l0b3J5IFVSTAogICAgICAgICAiIiIK
ICAgICAgICAgaWYgdWQudXNlcjoKLSAgICAgICAgICAgIHVzZXJuYW1lID0gdWQudXNlciArICdA
JworICAgICAgICAgICAgdXNlcm5hbWUgPSB1ZC51c2VyCisgICAgICAgICAgICBpZiB1ZC5wc3dk
OgorICAgICAgICAgICAgICAgIHVzZXJuYW1lICs9ICI6IiArIHVkLnBzd2QKKyAgICAgICAgICAg
IHVzZXJuYW1lICs9ICJAIgogICAgICAgICBlbHNlOgogICAgICAgICAgICAgdXNlcm5hbWUgPSAi
IgogICAgICAgICByZXR1cm4gIiVzOi8vJXMlcyVzIiAlICh1ZC5wcm90bywgdXNlcm5hbWUsIHVk
Lmhvc3QsIHVkLnBhdGgpCi0tIAoyLjI2LjEud2luZG93cy4xCgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>