MCPcopy
hub / github.com/authlib/authlib / test_rsa_import_ssh_pem

Function test_rsa_import_ssh_pem

tests/jose/test_jwk.py:49–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47
48
49def test_rsa_import_ssh_pem():
50 raw = read_file_path("ssh_public.pem")
51 key = RSAKey.import_key(raw)
52 obj = key.as_dict()
53 assert obj["kty"] == "RSA"
54
55
56def test_rsa_public_key():

Callers

nothing calls this directly

Calls 3

read_file_pathFunction · 0.90
import_keyMethod · 0.45
as_dictMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…