You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the SchemaVersion field of a rule is greater or equal then the ver field of a DCC (e.g. SchemaVersion=1.3.0 and ver=1.0.0), the rule results in fail:
Describe the bug
If the
SchemaVersion
field of a rule is greater or equal then thever
field of a DCC (e.g.SchemaVersion=1.3.0
andver=1.0.0
), the rule results infail
:dgc-certlogic-android/engine/src/main/java/dgca/verifier/app/engine/DefaultCertLogicEngine.kt
Lines 82 to 91 in 5a53b77
Expected behaviour
The result should result in
open
, just like it is implemented on iOS:https://github.com/eu-digital-green-certificates/dgc-certlogic-ios/blob/8b7f86a2aed4f2c60dd2c7c4f28eb129d9fe379d/Sources/CertLogic/CertLogic.swift#L52-L54
Steps to reproduce the issue
Apply a rule with
SchemaVersion
set to1.3.0
(e.g. Netherlands) against a DCC withver
set to1.0.0
(e.g. most German DCCs)Technical details
n/a
Possible Fix
map to
open
instead offail
Additional context
The text was updated successfully, but these errors were encountered: