-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCMF unverified due to Identification Level value. #40
Comments
Tested yet again in version 1.4.0 and the message from the original bug report that passed the verification now gives an error.
This also results in a verification error in the frontend. On one hand, for the message with the OUTDATED Identification Level, this is a new bug. I wasn't able to determine if the original bug is fixed since v1.4.0 code is not on Github so I'll keep this issue open for now. |
Description
OCMF messages with Identification Level "MISMATCH", "INVALID", "OUTDATED" or "UNKNOWN" are unverified by Transparenz. Transparenz simply gives the error "Your Data could not be verified." "Meter clock was not synchronized."
However, when I change the Identification Level and use the same generation, the OCMF message is verified.
I found this snippet in OCMFVerifiedData.java.
Expectation
Identification Level "MISMATCH", "INVALID", "OUTDATED" and "UNKNOWN" are valid Identification Level values for an OCMF message. If these values are present in an OCMF message, then transparenz should not error and say it could not verify the message.
Transparenz should say the message was able to be verified.
Motivation
Certification agencies require our OCMF messages to pass the Transparenz Software in order for us to get the Mess und Eichrecht certification.
Because of this bug, manufacturers have to send false IdentificationLevels when a "MISMATCH", "INVALID", "OUTDATED" Identification Level occurs in order to get certified.
Reproduction
Open Transparenz (v1.2.0).
First try an OCMF message with Identification Level TRUSTED. This message should get verified.
Then try an OCMF message with Identification Level OUTDATED. This message should throw the error.
The text was updated successfully, but these errors were encountered: