2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-05 21:20:51 +00:00
This commit is contained in:
quadrismegistus 2020-09-12 16:12:04 +01:00
parent 0a2a2843b6
commit c3d7766b2c

View File

@ -371,7 +371,7 @@ class Keymaker(Logger):
asymmetric_privkey=None
keychain = {}
self.log('got key types:',key_types)
self.log('got key types:',dict_format(key_types))
# gen keys requested
for key_name,key_class in key_types.items():
@ -390,6 +390,7 @@ class Keymaker(Logger):
elif key_class == KomradeSymmetricKeyWithPassphrase:
keychain[key_name] = KomradeSymmetricKeyWithPassphrase(passphrase)
else:
print('??',key_name,key_class)
keychain[key_name] = key_class()
self.log('keytypes -> keychain',dict_format(keychain))