diff --git a/peps/pep-0770.rst b/peps/pep-0770.rst index 7ed0afcedec..2880368fefc 100644 --- a/peps/pep-0770.rst +++ b/peps/pep-0770.rst @@ -214,9 +214,6 @@ Any characters or character sequences not covered by this specification are invalid. Projects MUST NOT use such values. Tools consuming this field SHOULD reject invalid values with an error. -Tools MUST assume that SBOM file content is valid UTF-8 encoded JSON, and SHOULD -validate this an raise an error for invalid formats and encodings. - Literal paths (e.g. ``bom.cdx.json``) are treated as valid globs which means they can also be defined. @@ -257,7 +254,7 @@ Examples of invalid SBOM files declarations: [project] sbom-files = ["..\bom.json"] -Reason: ``..`` must not be used. ``\\`` is an invalid path delimited, ``/`` +Reason: ``..`` must not be used. ``\\`` is an invalid path delimiter, ``/`` must be used. .. code-block:: toml