EUDCCKit icon indicating copy to clipboard operation
EUDCCKit copied to clipboard

Failed to decode

Open mousash opened this issue 2 years ago • 3 comments

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).

mousash avatar Oct 27 '22 14:10 mousash

Same problem

Husseinhj avatar Nov 02 '22 15:11 Husseinhj

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 avatar Nov 02 '22 15:11 SvenTiigi

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)

mousash avatar Nov 02 '22 16:11 mousash