ZeroPass / dmrtd

Dart library for reading Biometric Passport
Other
43 stars 19 forks source link

Missing throw specifier #15

Closed smlu closed 1 month ago

smlu commented 1 year ago

Code which parses AAPublicKey from bytes is missing multiple throw specifiers at places throwing EfParseError: https://github.com/ZeroPass/dmrtd/blob/master/lib/src/crypto/aa_pubkey.dart#L36-L62.

TODO: Replace EfParseError exception with general parser exception and catch & re-throw this exception inEfDG15 as EfParseError.