Specify PublicKey Format
ubamrein opened this issue · 0 comments
ubamrein commented
According to the JWTVerifier source code, only a
[...] UTF8 encoded PEM public key, with a "BEGIN PUBLIC KEY" header
is supported. This has lead to confusion (SwissCovid/swisscovid-app-ios#352) since Android allows the use of a x509-Certificate directly.
Either iOS abstracts the public key in a type alias as well, and provides the corresponding constructors, or specifies the format needed here
Further, the documentation needs to be updated.