We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31a5ceb commit e399d67Copy full SHA for e399d67
Auth0/JWK+RSA.swift
@@ -37,7 +37,7 @@ extension JWK {
37
let tag = "com.auth0.tmp.RSAPublicKey"
38
let keychain = A0SimpleKeychain()
39
guard keychain.setRSAPublicKey(data: encodedKey, forKey: tag) else { return nil }
40
- return keychain.keyRefOfRSAKey(withTag: tag).takeRetainedValue()
+ return keychain.keyRefOfRSAKey(withTag: tag)?.takeRetainedValue()
41
}
42
43
private func encodeRSAPublicKey(modulus: [UInt8], exponent: [UInt8]) -> Data {
Cartfile.resolved
@@ -2,4 +2,4 @@ github "AliSoftware/OHHTTPStubs" "8.0.0"
2
github "Quick/Nimble" "v8.0.5"
3
github "Quick/Quick" "v2.2.0"
4
github "auth0/JWTDecode.swift" "2.4.1"
5
-github "auth0/SimpleKeychain" "0.9.0"
+github "auth0/SimpleKeychain" "0.11.0"
0 commit comments