Skip to contentSkip to conversation

SRC_URI from AWS codecommit with user and password #yocto

DISCUSSION [email protected] 2 participants 4 messages Apr 21, 2022 – Apr 22, 2022

lore
Share & tools
lore
#0 lore raw

Hi All,

I have an application writing in Qt/QML for specific embedded target, The repo for this application is maintained in AWS codecommit which has user and password . How to mentioned in the recipe SRC_URI to fetch from the repo which has user/password. I dont have SSH access for the same.
Let me know if you need more details.
tried this https://www.yoctoproject.org/pipermail/yocto/2014-April/019135.html no luck.

Regards,
Vijay

#1 lore raw

you might have to figure out how the clone should work firstly. then you can either encode it into SRC_URI, but I would say be careful since you might leak password and url info
into packages, other option is to have some sort of ssh-agent running and doing the authentication or maybe use .netrc to hold this info on builder's homedir.

Quoted 20 lines · On Wed, Apr 20, 2022 at 5:15 AM <[email protected]> wrote:

Hi All,

I have an application writing in Qt/QML for specific embedded target, The repo for this application is maintained in AWS codecommit which has user and password . How to mentioned in the recipe SRC_URI to fetch from the repo which has user/password. I dont have SSH access for the same.
Let me know if you need more details.
tried this https://www.yoctoproject.org/pipermail/yocto/2014-April/019135.html no luck.

Regards,
Vijay
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#56820): https://lists.yoctoproject.org/g/yocto/message/56820
Mute This Topic: https://lists.yoctoproject.org/mt/90582260/1997914
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

Thank you Khem Raj i am following ".netrc" conf file able to clone he repo.

#3 lore raw
In reply to [email protected]

I think i figured out the issue, repo password having  "=" sigh due to that its throwing below error.

i dont have access to change password in the repo, can someone suggest some ideas on how to resolve this.