Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/6] python-urwid: bump version and add checksums
Date: Wed, 16 Sep 2015 12:00:29 +0300	[thread overview]
Message-ID: <20150916090029.GJ11632@tarshish> (raw)
In-Reply-To: <87oah6avor.fsf@dell.be.48ers.dk>

Hi Peter,

On Sun, Sep 13, 2015 at 10:52:36PM +0200, Peter Korsgaard wrote:
> >>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
> 
>  > On Tue, Sep 01, 2015 at 10:10:27AM +0200, Christophe Vu-Brugier wrote:
>  >> Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
>  >> ---
>  >> package/python-urwid/python-urwid.hash | 3 +++
>  >> package/python-urwid/python-urwid.mk   | 2 +-
>  >> 2 files changed, 4 insertions(+), 1 deletion(-)
>  >> create mode 100644 package/python-urwid/python-urwid.hash
>  >> 
>  >> diff --git a/package/python-urwid/python-urwid.hash b/package/python-urwid/python-urwid.hash
>  >> new file mode 100644
>  >> index 0000000..2b18082
>  >> --- /dev/null
>  >> +++ b/package/python-urwid/python-urwid.hash
>  >> @@ -0,0 +1,3 @@
>  >> +# md from
>  >> https://pypi.python.org/pypi?:action=show_md5&digest=a989acd54f4ff1a554add464803a9175,
>  >> sha256 locally computed
> 
>  > This is weird. You put the MD5 in the URL to retrieve the same MD5? Is there a 
>  > way to lookup the MD5 using the package name? If not, I guess that 
>  > https://pypi.python.org/pypi/urwid/1.3.0 would be good enough.
> 
> Yeah, the upstream pypi hash URLs are kind of odd. These are the
> official links though.

The .hash file is all about trust, IMO. Seeing md5 that is an identity 
function of the URL just makes me feel uneasy. The package URL at 
https://pypi.python.org/pypi/urwid/1.3.0 contains the same link (next to the 
file name), but it looks less easy to trick.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

  reply	other threads:[~2015-09-16  9:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-01  8:10 [Buildroot] [PATCH 1/6] python-urwid: bump version and add checksums Christophe Vu-Brugier
2015-09-01  8:10 ` [Buildroot] [PATCH 2/6] python-pyparsing: bump version Christophe Vu-Brugier
2015-09-01  8:10 ` [Buildroot] [PATCH 3/6] python-rtslib-fb: " Christophe Vu-Brugier
2015-09-01 10:12   ` Baruch Siach
2015-09-01  8:10 ` [Buildroot] [PATCH 4/6] python-configshell-fb: " Christophe Vu-Brugier
2015-09-01  8:10 ` [Buildroot] [PATCH 5/6] targetcli-fb: " Christophe Vu-Brugier
2015-09-01  8:10 ` [Buildroot] [PATCH 6/6] targetcli-fb: systemd support Christophe Vu-Brugier
2015-09-01 10:08 ` [Buildroot] [PATCH 1/6] python-urwid: bump version and add checksums Baruch Siach
2015-09-01 11:37   ` Christophe Vu-Brugier
2015-09-13 20:52   ` Peter Korsgaard
2015-09-16  9:00     ` Baruch Siach [this message]
2015-09-16  9:09       ` Peter Korsgaard
2015-09-04 15:04 ` Vicente Olivert Riera
2015-09-05  6:09   ` Christophe Vu-Brugier

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=20150916090029.GJ11632@tarshish \
    --to=baruch@tkos.co.il \
    --cc=buildroot@busybox.net \
    /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