Skip to content

Build with dpp-criteria bb02a5e; test the new passport criteria - #30

Merged
fabianekc merged 1 commit into
mainfrom
criteria-bb02a5e
Oct 23, 2026
Merged

fabianekc merged 1 commit into
mainfrom
criteria-bb02a5e

Conversation

@fabianekc

Copy link
Copy Markdown
Member

Builds dpplint with dpp-criteria bb02a5e (OwnYourData/dpp-criteria#37) and tests the new passport criteria. No change to the application code: three criteria are SHACL shapes of the SOyA structure DigitalProductPassport, one is a resolve check, and the image takes all of them from dpp-criteria.

Checks in this build

All new criteria are proposed and do not count in "N of M".

  • DPP-DAT-026: valueDataType names no XSD type that EN 18223 4.1.2.9 excludes (list types, built-in types derived from string, NOTATION, QName).
  • DPP-ID-015: the product, operator and facility identifiers use ISO/IEC 646 characters and, where they are URIs, the syntax of RFC 3986 (EN 18219 4.3.2 (1)).
  • DPP-ID-054: a product identifier that is a DID uses did:web, did:ethr or did:ebsi (EN 18219 5.4.3), otherwise a warning. Passports with another kind of identifier are skipped.
  • DPP-SEC-020: reading the passport through its product identifier (without Accept, as HTML and as JSON) sets no cookie.

The catalogue references of other criteria changed as well; their checks are unchanged.

Changes

  • test/integration/validations_test.rb: three integration tests for DPP-DAT-026, DPP-ID-015 and DPP-ID-054; DPP-SEC-020 joins the checks that need a product identifier.
  • kubernetes/deployment.yaml: digest of the new image, written by DOCKERHUB=1 ./build.sh.

Tests

docker run --rm --platform linux/amd64 oydeu/dpplint:latest test: 259 runs, 0 failures. Against the previous criteria, the four new or changed tests fail, as expected.

- The image is built with dpp-criteria bb02a5e: DPP-DAT-026 (XSD types
  that EN 18223 excludes), DPP-ID-015 (ISO/IEC 646 characters and RFC
  3986 syntax of the identifiers), DPP-ID-054 (DID methods of product
  DIDs) and DPP-SEC-020 (no cookie on public reads), all proposed.
- Integration tests: an excluded XSD type fails DPP-DAT-026; a
  non-ASCII character or a space in a URI fails DPP-ID-015, a
  percent-encoded identifier passes; a product DID with another method
  gives a DPP-ID-054 warning, did:web passes, an https identifier is
  skipped; DPP-SEC-020 needs a product identifier.
- kubernetes/deployment.yaml names the digest of the new image.
@fabianekc
fabianekc merged commit f064229 into main Oct 23, 2026
2 checks passed
@fabianekc
fabianekc deleted the criteria-bb02a5e branch October 23, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant