From 33f3db65026009ab84db52eac932c99936fe71e1 Mon Sep 17 00:00:00 2001 From: quadrismegistus Date: Mon, 7 Sep 2020 14:20:22 +0100 Subject: [PATCH] finally! abolishing private key property --- komrade/backend/the_operator.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/komrade/backend/the_operator.py b/komrade/backend/the_operator.py index 03f59b5..d37f1ea 100644 --- a/komrade/backend/the_operator.py +++ b/komrade/backend/the_operator.py @@ -218,8 +218,6 @@ def init_operators(): keys_to_return=op_keys_to_keep_on_client + op_keys_to_keep_on_3rdparty # on clients only ) from pprint import pprint - print('OP KEYS RETURNED') - pprint(op_decr_keys) ## CREATE TELEPHONE phone = Operator(name=TELEPHONE_NAME) @@ -229,9 +227,13 @@ def init_operators(): phone_decr_keys = phone.forge_new_keys( name=TELEPHONE_NAME, keys_to_save=phone_keys_to_keep_on_server, # on server only - keys_to_return=phone_keys_to_keep_on_client + phone_keys_to_keep_on_client # on clients only + keys_to_return=phone_keys_to_keep_on_client + phone_keys_to_keep_on_3rdparty # on clients only ) + print('OP KEYS RETURNED') + pprint(op_decr_keys) + + print('PHONE KEYS RETURNED') pprint(phone_decr_keys)