[elbe-devel] [PATCH 08/11] dbsfed.xsd: Add sha256 attribute to package

Holger Dengler dengler at linutronix.de
Mon Mar 14 15:17:55 CET 2022


On 14.03.22 14:48, Torben Hohn wrote:
> Since buster, sha256 checksums in package indices are mandatory
> and md5 sums are only optional.
> On security.debian.org md5 sums are already dropped for bullseye.
> This breaks the fullpackagelist validation.
> 
> Prepare to validate sha256 sums and add optional sha256 sum to the
> schema.
> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>

Would it make sense to swap this patch an the previous one?
Reviewed-by: Holger Dengler <dengler at linutronix.de>

> ---
>  schema/dbsfed.xsd | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
> index 24fcb53a6..139c8273d 100644
> --- a/schema/dbsfed.xsd
> +++ b/schema/dbsfed.xsd
> @@ -2637,6 +2637,13 @@
>              </documentation>
>            </annotation>
>          </attribute>
> +        <attribute name="sha256" type="string" use="optional">
> +          <annotation>
> +            <documentation>
> +              sha256 sum of the package.
> +            </documentation>
> +          </annotation>
> +        </attribute>
>          <attribute name="prio" type="string" use="optional">
>            <annotation>
>              <documentation>

-- 
Gruß,
Holger Dengler
--
phone: +49 7556 25 999 14; fax: +49 7556 25 999 99
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20220314/e624d348/attachment.sig>


More information about the elbe-devel mailing list