| |
@@ -743,6 +743,10 @@
|
| |
'Content-Type': 'application/json'
|
| |
})
|
| |
|
| |
+ if 'export' in dir(self.cfg.keyset):
|
| |
+ # This function was added to jwcrypto 0.3.0
|
| |
+ return self.cfg.keyset.export(private_keys=False)
|
| |
+
|
| |
# Sent to jwcrypto as https://github.com/latchset/jwcrypto/pull/20
|
| |
keys = []
|
| |
for key in self.cfg.keyset:
|
| |
This function was released as part of the jwcrypto 0.3.0 release, so if it is
available, that function is prefered over our manual building of the keyset.
Signed-off-by: Patrick Uiterwijk puiterwijk@redhat.com