public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Sam James <sam@gentoo.org>
To: Mark Wielaard <mark@klomp.org>
Cc: Frank Scheiner <frank.scheiner@web.de>,  binutils@sourceware.org
Subject: Re: binutils snapshot builds
Date: Fri, 24 May 2024 01:27:40 +0100	[thread overview]
Message-ID: <871q5sjbpf.fsf@gentoo.org> (raw)
In-Reply-To: <20240524001651.GH13045@gnu.wildebeest.org> (Mark Wielaard's message of "Fri, 24 May 2024 02:16:51 +0200")

Mark Wielaard <mark@klomp.org> writes:

> Hi Sam,
>
> On Fri, May 24, 2024 at 12:37:00AM +0100, Sam James wrote:
>> > Do note that these snapshots are generated totally automatically, it
>> > could right after a bad/accidental commit. Nobody double checks any of
>> > the snapshots (except that they could be generated). So please don't
>> > trust them even if some checksum (which would also be generated
>> > automatically) matches.
>> 
>> This is fine as I already check the diff before using it anywhere
>> non-automated.
>> 
>> But I would appreciate if you could consider signing them with an
>> automated key, at least for the GCC snapshots (which are stored
>> elsewhere), because we currently grab them from mirrors to avoid
>> overloading sourceware. But we have no way of verifying mirrors didn't
>> tamper...
>
> hmmmm, but that would mean keeping a private signing key somewhere
> that the automated process can use (but nobody else can access...)
>
> If we provide checksums, can you just fetch those from the primary
> server and check them against the file you fetched from a mirror?

Yeah, we can do this, I think - it'll be a bit icky as we don't have
machinery to easily check just checksums like this from diff. places
but I can try figure something out.

But to be clear, the threat model I have in mind here is purely "evil
mirror" rather than anything else.

>
> I think you should treat these snapshot as if someone could have
> tempered with them (maybe not deliberately, but they really are
> snapshots and not formal releases for a reason).

That's part of why I'm asking ;)

I do check the diffs to make sure they look reasonable but I'd like to
avoid having to roll my own every week. It'd deter me from doing testing
to the same extent I do now if I had to ship a bunch of tarballs myself.

>
> Cheers,
>
> Mark

thanks,
sam

  reply	other threads:[~2024-05-24  0:27 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-22 22:08 Mark Wielaard
2024-05-22 22:08 ` [PATCH 1/2] Add binutils-snapshots builder Mark Wielaard
2024-05-22 22:08 ` [PATCH 2/2] binutils snapshot steps should run in the git step workdir Mark Wielaard
2024-05-23  8:57 ` binutils snapshot builds Frank Scheiner
2024-05-23 11:36   ` Andreas Schwab
2024-05-23 13:30     ` Frank Scheiner
2024-05-23 23:15   ` Mark Wielaard
2024-05-23 23:37     ` Sam James
2024-05-24  0:16       ` Mark Wielaard
2024-05-24  0:27         ` Sam James [this message]
2024-05-25 17:40     ` Frank Scheiner
2024-05-26  0:31       ` Mark Wielaard
2024-05-27 18:14         ` Frank Scheiner
2024-05-23 10:35 ` Nick Clifton
2024-05-23 23:32   ` Mark Wielaard
2024-05-24 12:31     ` Nick Clifton
2024-05-24 14:03       ` Jose E. Marchesi
2024-05-23 15:11 ` Jose E. Marchesi
2024-05-23 15:28   ` Frank Ch. Eigler
2024-05-23 15:33     ` Jose E. Marchesi
2024-05-23 22:52     ` Sam James
2024-05-23 23:59     ` Mark Wielaard
2024-05-23 23:41   ` Mark Wielaard
2024-05-24  9:58     ` Jose E. Marchesi
2024-05-26  0:16       ` Mark Wielaard
2024-05-28 14:35         ` Nick Clifton
2024-05-28 16:16           ` Mark Wielaard

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=871q5sjbpf.fsf@gentoo.org \
    --to=sam@gentoo.org \
    --cc=binutils@sourceware.org \
    --cc=frank.scheiner@web.de \
    --cc=mark@klomp.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).