Skip to content
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

Failed to decode #10

Open
mousash opened this issue Oct 27, 2022 · 3 comments
Open

Failed to decode #10

mousash opened this issue Oct 27, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@mousash
Copy link

mousash commented Oct 27, 2022

EUDCCKit Environment

  • EUDCCKit version: 0.0.4
  • macOS version: Ventura 13.0
  • Xcode version: 14.0.1
  • iOS version: 16.1
  • Dependency manager (Carthage, CocoaPods, SPM, Manually): SPM

What did you do?

ℹ Scanning a vaccination certificate.

What did you expect to happen?

ℹ To get successfully decoded Digital COVID Certificate.

What happened instead?

ℹ Failed to decode EUDCC cborProcessingError(EUDCCDecoder.EUDCCDecoder.CBORProcessingError.signatureParameterMissing).

@Husseinhj
Copy link

Same problem

@SvenTiigi
Copy link
Owner

Hi @mousash,

The issue seems to be a bug in the SwiftCBOR library 🤔
Please checkout the develop branch which uses the latest version of the SwiftCBOR dependency and let me know if this resolves your current issue.

@SvenTiigi SvenTiigi added the bug Something isn't working label Nov 2, 2022
@mousash
Copy link
Author

mousash commented Nov 2, 2022

Thank you so much for your reply, I checked out the develop branch and it works on device 🎉, but on simulator I got this error:
Failed to decode EUDCC cborDecodingError(SwiftCBOR.CBORError.unfinishedSequence)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants