eu-digital-green-certificates / dgc-overview

This repository provides an overview over the EU Digital Green Certificates (DGC) project.
Apache License 2.0
209 stars 29 forks source link

fix(dgc-cms-migration):Fixing import on python script for pkcs7. @eu-digital-green-certificates/dgc-overview-members #66

Closed antzangell closed 6 months ago

antzangell commented 1 year ago

Description

Out of the box the script is looking for pkcs7, It does not seem to be imported when bringing in the serialization from cryptography.hazmat.primitives

This change is to explicitly specify pkcs7 from cryptography.hazmat.primitives.serialization

image
antzangell commented 1 year ago

@chrloch Could you kindly please review the Changes above, There is some inherent issue with he way PKCS7 is being used / imported where without an explicit import it fails to migrate the CMS packages.