All of lore.kernel.org
 help / color / mirror / Atom feed
* SRC_URI: password protected ftp access
@ 2015-12-20 15:57 Prasant J
  2015-12-20 21:48 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Prasant J @ 2015-12-20 15:57 UTC (permalink / raw)
  To: poky

[-- Attachment #1: Type: text/plain, Size: 461 bytes --]

Hi,


I'm writing a bitbake recipe that will download the source tarball from a
ftp/http server that is password protected. How can I avoid putting the
username & password in the bitbake file? (the recipe will be version
controlled and the username & password will not be secure anymore)


Is there a way to put the username & password in the
build/conf/local.conf?? or any other alternatives?


Any inputs will be of help to me.


Regards, PJ

[-- Attachment #2: Type: text/html, Size: 566 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: SRC_URI: password protected ftp access
  2015-12-20 15:57 SRC_URI: password protected ftp access Prasant J
@ 2015-12-20 21:48 ` Khem Raj
  2015-12-21 10:23   ` Prasant J
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2015-12-20 21:48 UTC (permalink / raw)
  To: Prasant J; +Cc: poky

On Sun, Dec 20, 2015 at 7:57 AM, Prasant J <pj0585@gmail.com> wrote:
> Hi,
>
>
> I'm writing a bitbake recipe that will download the source tarball from a
> ftp/http server that is password protected. How can I avoid putting the
> username & password in the bitbake file? (the recipe will be version
> controlled and the username & password will not be secure anymore)
>
>
> Is there a way to put the username & password in the build/conf/local.conf??
> or any other alternatives?

You can use ~/.netrc do man netrc for how to configure it.

>
>
> Any inputs will be of help to me.
>
>
> Regards, PJ
>
> --
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: SRC_URI: password protected ftp access
  2015-12-20 21:48 ` Khem Raj
@ 2015-12-21 10:23   ` Prasant J
  0 siblings, 0 replies; 3+ messages in thread
From: Prasant J @ 2015-12-21 10:23 UTC (permalink / raw)
  To: Khem Raj; +Cc: poky

[-- Attachment #1: Type: text/plain, Size: 817 bytes --]

On Mon, Dec 21, 2015 at 3:18 AM, Khem Raj <raj.khem@gmail.com> wrote:

> On Sun, Dec 20, 2015 at 7:57 AM, Prasant J <pj0585@gmail.com> wrote:
> > Hi,
> >
> >
> > I'm writing a bitbake recipe that will download the source tarball from a
> > ftp/http server that is password protected. How can I avoid putting the
> > username & password in the bitbake file? (the recipe will be version
> > controlled and the username & password will not be secure anymore)
> >
> >
> > Is there a way to put the username & password in the
> build/conf/local.conf??
> > or any other alternatives?
>
> You can use ~/.netrc do man netrc for how to configure it.
>
>
>

That helped! Thanks a lot Khem.


I added the following line to .netrc:
machine <server addr> login <username> password <pwd>


Regards, PJ

[-- Attachment #2: Type: text/html, Size: 1412 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-21 10:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-20 15:57 SRC_URI: password protected ftp access Prasant J
2015-12-20 21:48 ` Khem Raj
2015-12-21 10:23   ` Prasant J

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.