Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def from_jwk_str(s):
jwk_dict = json.loads(s)
jwk = JsonWebKey.from_dict(jwk_dict)
return RsaKey.from_jwk(jwk)