From: Denys Dmytriyenko <denis@denix.org>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] package_ipk: Clean up Source entry in ipk packages
Date: Fri, 16 Jun 2017 11:24:26 -0400 [thread overview]
Message-ID: <20170616152426.GG28053@denix.org> (raw)
In-Reply-To: <1497604955.24449.12.camel@linuxfoundation.org>
On Fri, Jun 16, 2017 at 10:22:35AM +0100, Richard Purdie wrote:
> On Fri, 2017-06-16 at 09:46 +0100, Richard Purdie wrote:
> > There is the potential for sensitive information to leak through the
> > urls
> > there and removing it brings this into the behavior of the other
> > package
> > backends since filtering it is likely error prone.
> >
> > Since ipks don't appear to be generated at all if we don't set this,
> > set
> > the field to the recipe name used (basename only, no paths). This
> > avoids
> > information leaking. We may want to drop the field if opkg can allow
> > that
> > at a future point but the recipe name is a suitable identifier for
> > now.
> >
> > Reported-by: Andrej Valek <andrej.valek@siemens.com>
> > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> > ---
> > meta/classes/package_ipk.bbclass | 6 ++----
> > 1 file changed, 2 insertions(+), 4 deletions(-)
>
> Since this is rather important I have backported this to
> pyro/morty/krogoth with the appropriate tweaks.
Ouch! We were actually using that field to generate the URL list for the
Software Manifest out of the package feed...
Was this discussed before? Can this change be made optional?
--
Denys
next prev parent reply other threads:[~2017-06-16 15:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-16 8:46 [PATCH] package_ipk: Clean up Source entry in ipk packages Richard Purdie
2017-06-16 9:01 ` ✗ patchtest: failure for " Patchwork
2017-06-16 9:22 ` [PATCH] " Richard Purdie
2017-06-16 15:24 ` Denys Dmytriyenko [this message]
2017-06-16 18:43 ` Alejandro del Castillo
2017-06-16 22:11 ` Richard Purdie
2017-06-19 20:55 ` Alejandro del Castillo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170616152426.GG28053@denix.org \
--to=denis@denix.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox