From 2954d794c36af2df2729584a385d775e9fadbf21 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 18 Oct 2018 10:51:12 +0200 Subject: [PATCH] Mention ignored JWK parameters in readme (#118) * Mention ignored JWK parameters in readme * Add explicit link to #117 in readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 47d111e8..35c9ceee 100644 --- a/README.md +++ b/README.md @@ -307,6 +307,8 @@ let publicKey: SecKey = try! jwk.converted(to: SecKey.self) More details about decoding RSA public keys can be found [in the wiki](../../wiki/jwk). +:warning: We currently ignore the key parameters [`"key_ops"`](https://tools.ietf.org/html/rfc7517#section-4.3) and [`"x5c"`](https://tools.ietf.org/html/rfc7517#section-4.7) when decoding. This is due to a bug in our decoding implementation. See [#117](https://github.com/airsidemobile/JOSESwift/issues/117) for details. + ## Security JOSESwift uses the [iOS Security framework](https://developer.apple.com/documentation/security) and [Appleā€™s CommonCrypto](https://opensource.apple.com//source/CommonCrypto/) for cryptography.