-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
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
| public init(publicKey: Data, jwtTokenHeaderKey: String) { |
Further, the documentation needs to be updated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request