Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2020 16:46:20 -0800
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Brooks Davis <brooks@freebsd.org>, Thomas Mueller <mueller6722@twc.com>, freebsd-current@freebsd.org
Subject:   Re: HEADS UP: FreeBSD src repo transitioning to git this weekend
Message-ID:  <20201230004620.GB31099@funkthat.com>
In-Reply-To: <20201229210454.Lh4y_%steffen@sdaoden.eu>
References:  <CANCZdfrF0B7uux_neg-4XGn2UCDd4noUm7zP_icHnrpZUgmzzA@mail.gmail.com> <CAOtMX2gV2dmyG4b1hZG24sUnqDVk=1pch4xgQmyUdtLrh48kYg@mail.gmail.com> <CANCZdfpb0MF%2BuoW=K3cQpL%2B3vNQjSBDeVMab5d4JJhUO4sy-2Q@mail.gmail.com> <5fdc0b90.1c69fb81.866eb.8c29SMTPIN_ADDED_MISSING@mx.google.com> <20201218175241.GA72552@spindle.one-eyed-alien.net> <20201218182820.1P0tK%steffen@sdaoden.eu> <20201223023242.GG31099@funkthat.com> <20201223162417.v7Ce6%steffen@sdaoden.eu> <20201229011939.GU31099@funkthat.com> <20201229210454.Lh4y_%steffen@sdaoden.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
Steffen Nurpmeso wrote this message on Tue, Dec 29, 2020 at 22:04 +0100:
>  |SolarWinds supply chain attack, being able to smuggle a modified file
>  |into a git repo, say an OS's build server, such that the tools don't
>  |know the tree is modified is a real problem...
> 
> SHA-256 arrives, if you look at the git history.  Until then
> signing a git tag even with SHA-1 is better than being unsealed.

Actually, no it is not.  It provides a false sense a security.  SHA-1
should only be used as a checksum (detecting non-malicous corruption)
now.

There's a reason I stopped signing (and even removed the historical
signatures) of the magnet links that I produce for FreeBSD.

This is also why I expanded the snapaid tool to support releases, to
make it extermely easy to verify signatures:
https://www.funkthat.com/gitea/jmg/snapaid

> This attack, well, interesting that FreeBSD with so many
> developers with ssh push hasn't been soiled more often.  I am

And that is why it isn't a major problem yet, in that there are
additional layers of security, both ssh and https that help
ensure integrity of the repo in transit...

> cautious regarding such, there is a tremendous amount of
> propaganda against Russia and China going on .. and then who
> tapped the cables, who has the budget, hmm.  I have read one US
> national security alert report once, and all i could see was

I am well aware of this, and infact, the reason I've been pushing
for better security like this IS because of the actions of the NSA...
I used to get lunch on a weekly basis across the street from one
of the early revealed NSA wiretap rooms.

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201230004620.GB31099>