emv-bertlv
emv-bertlv copied to clipboard
SnakeYml 2.0 incompatibility
Because SnakeYaml due to https://www.cve.org/CVERecord?id=CVE-2022-1471 has been updated and in version 2.0 does not support class Constructor with an empty constructor, it's not possible to update SnakeYaml to 2.0 version. Trying to update SnakeYaml in a project using emv library results with error:
Exception in thread "main" java.lang.NoSuchMethodError: org.yaml.snakeyaml.constructor.Constructor: method 'void <init>()' not found
at io.github.binaryfoo.TagMetaData$Companion.load(TagMetaData.kt:70)
at io.github.binaryfoo.TagMetaData.load(TagMetaData.kt)
at io.github.binaryfoo.EmvTags.<clinit>(EmvTags.java:9)
at org.test.EmvTagsChecker.main(EmvTagsChecker.java:8)
I am having the same issue, Is there any workaround for this issue?