-
Notifications
You must be signed in to change notification settings - Fork 492
Event verification (EXPOSUREAPP-5423) #2524
Event verification (EXPOSUREAPP-5423) #2524
Conversation
Depends on #2530 |
…-event-verification
...est/java/de/rki/coronawarnapp/eventregistration/checkins/qrcode/DefaultQRCodeVerifierTest.kt
Show resolved
Hide resolved
...rc/main/java/de/rki/coronawarnapp/eventregistration/checkins/qrcode/DefaultQRCodeVerifier.kt
Show resolved
Hide resolved
...est/java/de/rki/coronawarnapp/eventregistration/checkins/qrcode/DefaultQRCodeVerifierTest.kt
Show resolved
Hide resolved
I get this crash when I scan the attached QR code via our TestMenu 👇
|
Sorry my bad, I attached a new PDF. the other one is using new host |
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -0,0 +1,6 @@ | |||
package de.rki.coronawarnapp.eventregistration.checkins.qrcode | |||
|
|||
class InvalidQRCodeDataException constructor( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we later need to display errors to the user, these can then implement the HasHumanReadableError
interface 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Scanning the QR code shows the correct error message.
Please check specs: https://github.com/corona-warn-app/cwa-app-tech-spec/blob/proposal/event-registration-mvp/docs/spec/event-registration-client.md#attendee-check-in
Testing
Scan CoronaWarnApp-Event.pdf
An error message should appear , this event is signed with Key that is not part of testing environment configs