From 74b18c9a933b7eaa6500664f988f8351559c2925 Mon Sep 17 00:00:00 2001 From: quadrismegistus Date: Sun, 6 Sep 2020 11:34:04 +0100 Subject: [PATCH] updates --- komrade/backend/the_operator.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/komrade/backend/the_operator.py b/komrade/backend/the_operator.py index add3aa5..d33becc 100644 --- a/komrade/backend/the_operator.py +++ b/komrade/backend/the_operator.py @@ -72,14 +72,16 @@ def init_operators(): op.get_new_keys() phone.get_new_keys() - #op_pub = op.pubkey_ - #phone_pub = phone.pubkey_ - #phone_priv = phone.privkey_ - #print('OPERATOR_PUBKEY =',b64encode(op_pub)) - #print('TELEPHONE_PUBKEY =',b64encode(phone_pub)) - #print('TELEPHONE_PRIVKEY =',b64encode(phone_priv)) - return { + + op_pub = op.pubkey_decr_ + phone_pub = phone.pubkey_decr_ + phone_priv = phone.privkey_decr_ + + print('OPERATOR_PUBKEY =',b64encode(op_pub)) + print('TELEPHONE_PUBKEY =',b64encode(phone_pub)) + print('TELEPHONE_PRIVKEY =',b64encode(phone_priv)) + # return { 'op.keychain()':op.keychain(), 'phone.keychain()':phone.keychain() }