From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Antonin Godard <antonin.godard@bootlin.com>, docs@lists.yoctoproject.org
Subject: Re: [docs] [PATCH] security-manual: Add information about how security is handled in builds
Date: Tue, 11 Aug 2026 09:20:40 +0100 [thread overview]
Message-ID: <ea4f44a7400e193bf4cd9b65d59e50b0593cf4b7.camel@linuxfoundation.org> (raw)
In-Reply-To: <DKLYGCFI5BZB.27DQCAPM6XT4F@bootlin.com>
On Tue, 2026-08-11 at 10:01 +0200, Antonin Godard wrote:
> On Fri Aug 7, 2026 at 6:43 PM CEST, Richard Purdie via lists.yoctoproject.org wrote:
> > We have no information about how security is handled within the builds
> > themselves. Start to document this.
> >
> > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> > ---
> > .../security-manual/build-security.rst | 41 +++++++++++++++++++
> > documentation/security-manual/index.rst | 1 +
> > 2 files changed, 42 insertions(+)
> > create mode 100644 documentation/security-manual/build-security.rst
> >
> > diff --git a/documentation/security-manual/build-security.rst b/documentation/security-manual/build-security.rst
> > new file mode 100644
> > index 000000000..5f15d5f64
> > --- /dev/null
> > +++ b/documentation/security-manual/build-security.rst
> > @@ -0,0 +1,41 @@
> > +.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
> > +
> > +**************
> > +Build Security
>
> I suggest renaming it to "OpenEmbedded Build System Security", as "Build" alone
> could be interpreted in many different ways, including builds for specific
> software components, etc.
Perhaps "Build Process Security"? I think build system isn't quit the
right thing here.
>
> > +**************
> > +
> > +OpenEmbedded is used to run the builds and careful consideration has gone into
>
> When you say "OpenEmbedded" I guess you mean the community? Or the build system?
>
> We have a :term:`OpenEmbedded Build System` that could be used here if relevant.
That seems like the right thing to use.
> > +how it does this with the aim of being both secure and reproducible. Like any
> > +system, it does need to be used carefully and in keeping with the design for
> > +that to be true. Users of the system should consider that:
> > +
> > +- The builds generally aim for any input into the build process being verified in
> > + some form. For source code tarballs, these would have a checksum. Git source
> > + trees would have a specific git revision. Metadata would also usually be
> > + under source control and also have revisions.
>
> Add a link to our fetching documentation here?
>
> """
> See the :doc:`bitbake:bitbake-user-manual/bitbake-user-manual-fetching` section
> of the BitBake User Manual for more information.
> """
Sure, I intended this as a first pass and figured it might need some
markup/tweaking. Sorry for the spelling :/.
>
> > +
> > +- Some elements that can influence the build are not verified. It is assumed
> > + that the operating system running the system is secure and of a known setup and
> > + version. The system goes to signififant lengths to isolate against host
> > + contamination of the output but it is certainly possible, especially malicously.
>
> typo: maliciously
>
> Link to our supported distros here?
>
> """
> See the :ref:`system-requirements-supported-distros` section of the Yocto
> Project Reference Manual for more information on supported host distributions.
> """
>
> > +
> > +- The builds assume DL_DIR is a safe location. Once things enter that location
>
> s/DL_DIR/:term:`DL_DIR`/
>
> > + there are not repeatedly re-verified. A user could edit the git trees or
> > + tarballs there in ways the build might not detect.
>
> I guess this will be better detailed with
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=16102. Maybe the documentation
> coming from this bug should be linked here then.
This text was intended to help close 16102 :/. We've not managed to get
anyone else to provide such information. Certainly if any more is
forthcoming, this would be the place to add it. I did want to document
something before we close that bug though.
Cheers,
Richard
next prev parent reply other threads:[~2026-08-11 8:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-07 16:43 [PATCH] security-manual: Add information about how security is handled in builds Richard Purdie
2026-08-11 8:01 ` [docs] " Antonin Godard
2026-08-11 8:20 ` Richard Purdie [this message]
2026-08-11 8:29 ` Antonin Godard
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=ea4f44a7400e193bf4cd9b65d59e50b0593cf4b7.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=antonin.godard@bootlin.com \
--cc=docs@lists.yoctoproject.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 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.