mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-05 21:20:51 +00:00
updates
This commit is contained in:
parent
de029d1d23
commit
c6cae07c37
@ -22,7 +22,7 @@ def create_phonelines():
|
||||
with open(PATH_SUPER_SECRET_OP_KEY,'wb') as of:
|
||||
#of.write(pass_encr)
|
||||
# for now only!!! -->
|
||||
of.write(op_privkey.data)
|
||||
of.write(op_privkey.data_b64)
|
||||
|
||||
with open(PATH_OPERATOR_WEB_KEYS_FILE,'w') as of:
|
||||
of.write(op_pubkey.data_b64_s)
|
||||
|
@ -75,7 +75,7 @@ class TheOperator(Operator):
|
||||
# except ThemisError:
|
||||
# exit('invalid password. operator shutting down.')
|
||||
if privkey:
|
||||
self._keychain['privkey']=KomradeAsymmetricPrivateKey(privkey)
|
||||
self._keychain['privkey']=KomradeAsymmetricPrivateKey(b64dec(privkey))
|
||||
print(self._keychain['privkey'],'??')
|
||||
self._keychain = {**self.keychain()}
|
||||
# self.log('@Operator booted with keychain:',dict_format(self._keychain),'and passphrase',self.passphrase)
|
||||
|
Loading…
Reference in New Issue
Block a user