Skip to content

Commit 38ac0e3

Browse files
committed
Unconditionally set keys.
1 parent 5e33ee7 commit 38ac0e3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/cryptojwt/key_bundle.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,9 @@ def __len__(self):
509509
"""
510510
return len(self._keys)
511511

512+
def set(self, keys):
513+
self._keys = keys
514+
512515
def get_key_with_kid(self, kid):
513516
"""
514517
Return the key that has a specific key ID (kid)

0 commit comments

Comments
 (0)