Skip to content
This repository was archived by the owner on Jun 12, 2021. It is now read-only.

Commit 611236d

Browse files
committed
Create dynamic keys.
1 parent 0ff8a9a commit 611236d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_13_oic_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ def __init__(self, status_code, text, headers=None):
4747

4848
CLI_KEY = init_key_jar(public_path='{}/pub_client.jwks'.format(_dirname),
4949
private_path='{}/priv_client.jwks'.format(_dirname),
50-
key_defs=KEYSPEC, owner='client_id')
50+
key_defs=KEYSPEC, owner='client_id', read_only=False)
5151

5252
ISS_KEY = init_key_jar(public_path='{}/pub_iss.jwks'.format(_dirname),
5353
private_path='{}/priv_iss.jwks'.format(_dirname),
54-
key_defs=KEYSPEC, owner=ISS)
54+
key_defs=KEYSPEC, owner=ISS, read_only=False)
5555

5656
ISS_KEY.import_jwks_as_json(open('{}/pub_client.jwks'.format(_dirname)).read(),
5757
'client_id')

0 commit comments

Comments
 (0)