All of lore.kernel.org
 help / color / mirror / Atom feed
* Documenting YP processes
@ 2023-10-18 14:23 Marta Rybczynska
  2023-10-18 14:57 ` [docs] " Michael Opdenacker
  2023-10-19  9:52 ` Robert P. J. Day
  0 siblings, 2 replies; 9+ messages in thread
From: Marta Rybczynska @ 2023-10-18 14:23 UTC (permalink / raw)
  To: YP docs mailing list, Richard Purdie, yocto-security

Hello,
I'm writing the "official" documentation for the YP security processes
and I'm realizing that I do not know which document to put it into.
There is no "YP Processes" manual. What about adding a "Security
manual"? It can then include:
- security processes
- a single place describing how to submit CVE fixes
- links to other manuals for relevant material and/or rewrites if necessary

What do you think?

Kind regards,
Marta


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [docs] Documenting YP processes
  2023-10-18 14:23 Documenting YP processes Marta Rybczynska
@ 2023-10-18 14:57 ` Michael Opdenacker
  2023-10-18 17:35   ` Richard Purdie
  2023-10-19  9:52 ` Robert P. J. Day
  1 sibling, 1 reply; 9+ messages in thread
From: Michael Opdenacker @ 2023-10-18 14:57 UTC (permalink / raw)
  To: Marta Rybczynska; +Cc: YP docs mailing list, Richard Purdie, yocto-security

Hi Marta

On 18.10.23 at 16:23, Marta Rybczynska wrote:
> Hello,
> I'm writing the "official" documentation for the YP security processes
> and I'm realizing that I do not know which document to put it into.
> There is no "YP Processes" manual. What about adding a "Security
> manual"? It can then include:
> - security processes
> - a single place describing how to submit CVE fixes
> - links to other manuals for relevant material and/or rewrites if necessary

IMHO, it does makes sense to create a new "Security Manual". We 
currently have 
https://docs.yoctoproject.org/dev-manual/vulnerabilities.html with some 
useful details contributed over time, but a separate manual would 
probably get more of the attention this topic deserves.

You've got at least my vote!
Thanks
Michael.

-- 
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [docs] Documenting YP processes
  2023-10-18 14:57 ` [docs] " Michael Opdenacker
@ 2023-10-18 17:35   ` Richard Purdie
  2023-10-19  7:40     ` Marta Rybczynska
  2023-10-19  8:23     ` [yocto-security] " Rich Persaud
  0 siblings, 2 replies; 9+ messages in thread
From: Richard Purdie @ 2023-10-18 17:35 UTC (permalink / raw)
  To: Michael Opdenacker, Marta Rybczynska; +Cc: YP docs mailing list, yocto-security

On Wed, 2023-10-18 at 16:57 +0200, Michael Opdenacker wrote:
> Hi Marta
> 
> On 18.10.23 at 16:23, Marta Rybczynska wrote:
> > Hello,
> > I'm writing the "official" documentation for the YP security processes
> > and I'm realizing that I do not know which document to put it into.
> > There is no "YP Processes" manual. What about adding a "Security
> > manual"? It can then include:
> > - security processes
> > - a single place describing how to submit CVE fixes
> > - links to other manuals for relevant material and/or rewrites if necessary
> 
> IMHO, it does makes sense to create a new "Security Manual". We 
> currently have 
> https://docs.yoctoproject.org/dev-manual/vulnerabilities.html with some 
> useful details contributed over time, but a separate manual would 
> probably get more of the attention this topic deserves.

I'm torn between a security section in the Development Manual or a
separate one. I don't think we want too many manuals so I have a slight
leaning to a section but am open to persuasion.

Cheers,

Richard


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [docs] Documenting YP processes
  2023-10-18 17:35   ` Richard Purdie
@ 2023-10-19  7:40     ` Marta Rybczynska
  2023-10-19  9:02       ` Michael Opdenacker
  2023-10-19  8:23     ` [yocto-security] " Rich Persaud
  1 sibling, 1 reply; 9+ messages in thread
From: Marta Rybczynska @ 2023-10-19  7:40 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Michael Opdenacker, YP docs mailing list, yocto-security

On Wed, Oct 18, 2023 at 7:35 PM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> On Wed, 2023-10-18 at 16:57 +0200, Michael Opdenacker wrote:
> > Hi Marta
> >
> > On 18.10.23 at 16:23, Marta Rybczynska wrote:
> > > Hello,
> > > I'm writing the "official" documentation for the YP security processes
> > > and I'm realizing that I do not know which document to put it into.
> > > There is no "YP Processes" manual. What about adding a "Security
> > > manual"? It can then include:
> > > - security processes
> > > - a single place describing how to submit CVE fixes
> > > - links to other manuals for relevant material and/or rewrites if necessary
> >
> > IMHO, it does makes sense to create a new "Security Manual". We
> > currently have
> > https://docs.yoctoproject.org/dev-manual/vulnerabilities.html with some
> > useful details contributed over time, but a separate manual would
> > probably get more of the attention this topic deserves.
>
> I'm torn between a security section in the Development Manual or a
> separate one. I don't think we want too many manuals so I have a slight
> leaning to a section but am open to persuasion.
>
Arguments for both options below. I do not have a strong opinion, while
Security Manual seems to me a little better option at this stage.

In Development Tasks Manual
- puts everything in one place
- security is a part of a standard development process

Separate Security Manual
- more likely to be found by people who do not consider themself
developers ie. security researchers, analysts who have a fix etc
- more general visibility (when searching by keywords), can be
announced by the project
- better fit for processes (Development Tasks Manual is strongly
technical and concentrates on tools)

Note that a chapter on CVE fixing is also in Contrubutor's Manual

Cheers,
Marta


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [yocto-security] [docs] Documenting YP processes
  2023-10-18 17:35   ` Richard Purdie
  2023-10-19  7:40     ` Marta Rybczynska
@ 2023-10-19  8:23     ` Rich Persaud
  1 sibling, 0 replies; 9+ messages in thread
From: Rich Persaud @ 2023-10-19  8:23 UTC (permalink / raw)
  To: Richard Purdie
  Cc: Michael Opdenacker, Marta Rybczynska, YP docs mailing list,
	yocto-security

[-- Attachment #1: Type: text/plain, Size: 2159 bytes --]

On Oct 18, 2023, at 13:36, Richard Purdie <richard.purdie@linuxfoundation.org> wrote:
> 
> On Wed, 2023-10-18 at 16:57 +0200, Michael Opdenacker wrote:
>> Hi Marta
>> 
>>> On 18.10.23 at 16:23, Marta Rybczynska wrote:
>>> Hello,
>>> I'm writing the "official" documentation for the YP security processes
>>> and I'm realizing that I do not know which document to put it into.
>>> There is no "YP Processes" manual. What about adding a "Security
>>> manual"? It can then include:
>>> - security processes
>>> - a single place describing how to submit CVE fixes
>>> - links to other manuals for relevant material and/or rewrites if necessary
>> 
>> IMHO, it does makes sense to create a new "Security Manual". We 
>> currently have 
>> https://docs.yoctoproject.org/dev-manual/vulnerabilities.html with some 
>> useful details contributed over time, but a separate manual would 
>> probably get more of the attention this topic deserves.
> 
> I'm torn between a security section in the Development Manual or a
> separate one. I don't think we want too many manuals so I have a slight
> leaning to a section but am open to persuasion.

If the goal of security-related content is to increase the production resilience of Yocto-based commercial products against adversary attacks, then "security by design" belongs in the development process, https://www.cisa.gov/news-events/news/next-chapter-secure-design

If there are security-related processes focused on regulatory compliance, these could potentially be segregated into documentation for non-developer audiences.  However, the EU, UK and US governments have drafted regulations with new compliance requirements for developers, https://www.linuxfoundation.org/blog/understanding-the-cyber-resilience-act

In societies where the Rule of Law is based on Consent of The Governed, poorly conceived regulations can be improved based on compliance, effectiveness or lack thereof.  During periods of regulatory nondeterminism, experienced practitioners can guide future regulation by documenting sensible best practices which materially improve and enforce product resilience.

Rich

[-- Attachment #2: Type: text/html, Size: 3895 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [docs] Documenting YP processes
  2023-10-19  7:40     ` Marta Rybczynska
@ 2023-10-19  9:02       ` Michael Opdenacker
  2023-10-19  9:08         ` Richard Purdie
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Opdenacker @ 2023-10-19  9:02 UTC (permalink / raw)
  To: Marta Rybczynska, Richard Purdie; +Cc: YP docs mailing list, yocto-security


On 19.10.23 at 09:40, Marta Rybczynska wrote:
> On Wed, Oct 18, 2023 at 7:35 PM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
>> On Wed, 2023-10-18 at 16:57 +0200, Michael Opdenacker wrote:
>>> Hi Marta
>>>
>>> On 18.10.23 at 16:23, Marta Rybczynska wrote:
>>>> Hello,
>>>> I'm writing the "official" documentation for the YP security processes
>>>> and I'm realizing that I do not know which document to put it into.
>>>> There is no "YP Processes" manual. What about adding a "Security
>>>> manual"? It can then include:
>>>> - security processes
>>>> - a single place describing how to submit CVE fixes
>>>> - links to other manuals for relevant material and/or rewrites if necessary
>>> IMHO, it does makes sense to create a new "Security Manual". We
>>> currently have
>>> https://docs.yoctoproject.org/dev-manual/vulnerabilities.html with some
>>> useful details contributed over time, but a separate manual would
>>> probably get more of the attention this topic deserves.
>> I'm torn between a security section in the Development Manual or a
>> separate one. I don't think we want too many manuals so I have a slight
>> leaning to a section but am open to persuasion.
>>
> Arguments for both options below. I do not have a strong opinion, while
> Security Manual seems to me a little better option at this stage.
>
> In Development Tasks Manual
> - puts everything in one place
> - security is a part of a standard development process
>
> Separate Security Manual
> - more likely to be found by people who do not consider themself
> developers ie. security researchers, analysts who have a fix etc
> - more general visibility (when searching by keywords), can be
> announced by the project
> - better fit for processes (Development Tasks Manual is strongly
> technical and concentrates on tools)


I don't want to vote twice, but your argument for making it more 
accessible to people who don't consider themselves developers sounds 
pretty strong to me. The better visibility is quite strong too.
Other opinions?

>
> Note that a chapter on CVE fixing is also in Contrubutor's Manual


Would you move this chapter into the security manual?
Cheers
Michael.

-- 
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [docs] Documenting YP processes
  2023-10-19  9:02       ` Michael Opdenacker
@ 2023-10-19  9:08         ` Richard Purdie
  2023-10-19  9:10           ` Michael Opdenacker
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Purdie @ 2023-10-19  9:08 UTC (permalink / raw)
  To: Michael Opdenacker, Marta Rybczynska; +Cc: YP docs mailing list, yocto-security

On Thu, 2023-10-19 at 11:02 +0200, Michael Opdenacker wrote:
> On 19.10.23 at 09:40, Marta Rybczynska wrote:
> > On Wed, Oct 18, 2023 at 7:35 PM Richard Purdie
> > <richard.purdie@linuxfoundation.org> wrote:
> > > On Wed, 2023-10-18 at 16:57 +0200, Michael Opdenacker wrote:
> > > > Hi Marta
> > > > 
> > > > On 18.10.23 at 16:23, Marta Rybczynska wrote:
> > > > > Hello,
> > > > > I'm writing the "official" documentation for the YP security processes
> > > > > and I'm realizing that I do not know which document to put it into.
> > > > > There is no "YP Processes" manual. What about adding a "Security
> > > > > manual"? It can then include:
> > > > > - security processes
> > > > > - a single place describing how to submit CVE fixes
> > > > > - links to other manuals for relevant material and/or rewrites if necessary
> > > > IMHO, it does makes sense to create a new "Security Manual". We
> > > > currently have
> > > > https://docs.yoctoproject.org/dev-manual/vulnerabilities.html with some
> > > > useful details contributed over time, but a separate manual would
> > > > probably get more of the attention this topic deserves.
> > > I'm torn between a security section in the Development Manual or a
> > > separate one. I don't think we want too many manuals so I have a slight
> > > leaning to a section but am open to persuasion.
> > > 
> > Arguments for both options below. I do not have a strong opinion, while
> > Security Manual seems to me a little better option at this stage.
> > 
> > In Development Tasks Manual
> > - puts everything in one place
> > - security is a part of a standard development process
> > 
> > Separate Security Manual
> > - more likely to be found by people who do not consider themself
> > developers ie. security researchers, analysts who have a fix etc
> > - more general visibility (when searching by keywords), can be
> > announced by the project
> > - better fit for processes (Development Tasks Manual is strongly
> > technical and concentrates on tools)
> 
> 
> I don't want to vote twice, but your argument for making it more 
> accessible to people who don't consider themselves developers sounds 
> pretty strong to me. The better visibility is quite strong too.
> Other opinions?

My concern is whether there is enough content for a dedicated manual. I
know it often feels like there is but when you write it down, I think
there is a lot less than it feels like there is. We should have a
relatively high bar to a new manual. Perhaps we start with a section
and then migrate to a manual if it feels like there is enough content
to make sense?

Cheers,

Richard




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [docs] Documenting YP processes
  2023-10-19  9:08         ` Richard Purdie
@ 2023-10-19  9:10           ` Michael Opdenacker
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Opdenacker @ 2023-10-19  9:10 UTC (permalink / raw)
  To: Richard Purdie, Marta Rybczynska; +Cc: YP docs mailing list, yocto-security


On 19.10.23 at 11:08, Richard Purdie wrote:
> My concern is whether there is enough content for a dedicated manual. I
> know it often feels like there is but when you write it down, I think
> there is a lot less than it feels like there is. We should have a
> relatively high bar to a new manual. Perhaps we start with a section
> and then migrate to a manual if it feels like there is enough content
> to make sense?


This sounds like a sensible approach.
+1

Michael.
-- 

Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [docs] Documenting YP processes
  2023-10-18 14:23 Documenting YP processes Marta Rybczynska
  2023-10-18 14:57 ` [docs] " Michael Opdenacker
@ 2023-10-19  9:52 ` Robert P. J. Day
  1 sibling, 0 replies; 9+ messages in thread
From: Robert P. J. Day @ 2023-10-19  9:52 UTC (permalink / raw)
  To: Marta Rybczynska; +Cc: YP docs mailing list, Richard Purdie, yocto-security

On Wed, 18 Oct 2023, Marta Rybczynska wrote:

> Hello,
> I'm writing the "official" documentation for the YP security processes
> and I'm realizing that I do not know which document to put it into.
> There is no "YP Processes" manual. What about adding a "Security
> manual"? It can then include:
> - security processes
> - a single place describing how to submit CVE fixes
> - links to other manuals for relevant material and/or rewrites if necessary
>
> What do you think?

  Is there a thought for addressing industry security certifications?
FIPS? DISA STIG?

  https://www.perforce.com/blog/kw/what-is-DISA-STIG

Other industries where there are mandatory requirements for security
analysis and certification, and how those relate to YP?

rday


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-10-19  9:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-18 14:23 Documenting YP processes Marta Rybczynska
2023-10-18 14:57 ` [docs] " Michael Opdenacker
2023-10-18 17:35   ` Richard Purdie
2023-10-19  7:40     ` Marta Rybczynska
2023-10-19  9:02       ` Michael Opdenacker
2023-10-19  9:08         ` Richard Purdie
2023-10-19  9:10           ` Michael Opdenacker
2023-10-19  8:23     ` [yocto-security] " Rich Persaud
2023-10-19  9:52 ` Robert P. J. Day

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.