mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-05 21:20:51 +00:00
updates
This commit is contained in:
parent
0a2a2843b6
commit
c3d7766b2c
@ -371,7 +371,7 @@ class Keymaker(Logger):
|
|||||||
asymmetric_privkey=None
|
asymmetric_privkey=None
|
||||||
keychain = {}
|
keychain = {}
|
||||||
|
|
||||||
self.log('got key types:',key_types)
|
self.log('got key types:',dict_format(key_types))
|
||||||
|
|
||||||
# gen keys requested
|
# gen keys requested
|
||||||
for key_name,key_class in key_types.items():
|
for key_name,key_class in key_types.items():
|
||||||
@ -390,6 +390,7 @@ class Keymaker(Logger):
|
|||||||
elif key_class == KomradeSymmetricKeyWithPassphrase:
|
elif key_class == KomradeSymmetricKeyWithPassphrase:
|
||||||
keychain[key_name] = KomradeSymmetricKeyWithPassphrase(passphrase)
|
keychain[key_name] = KomradeSymmetricKeyWithPassphrase(passphrase)
|
||||||
else:
|
else:
|
||||||
|
print('??',key_name,key_class)
|
||||||
keychain[key_name] = key_class()
|
keychain[key_name] = key_class()
|
||||||
|
|
||||||
self.log('keytypes -> keychain',dict_format(keychain))
|
self.log('keytypes -> keychain',dict_format(keychain))
|
||||||
|
Loading…
Reference in New Issue
Block a user