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

Torben Hohn torben.hohn at linutronix.de
Mon Mar 14 14:48:23 CET 2022


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>
---
 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>
-- 
2.20.1



More information about the elbe-devel mailing list