mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-16 00:12:48 +00:00
finally! abolishing private key property
This commit is contained in:
parent
b0e723310a
commit
33f3db6502
@ -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
|
keys_to_return=op_keys_to_keep_on_client + op_keys_to_keep_on_3rdparty # on clients only
|
||||||
)
|
)
|
||||||
from pprint import pprint
|
from pprint import pprint
|
||||||
print('OP KEYS RETURNED')
|
|
||||||
pprint(op_decr_keys)
|
|
||||||
|
|
||||||
## CREATE TELEPHONE
|
## CREATE TELEPHONE
|
||||||
phone = Operator(name=TELEPHONE_NAME)
|
phone = Operator(name=TELEPHONE_NAME)
|
||||||
@ -229,9 +227,13 @@ def init_operators():
|
|||||||
phone_decr_keys = phone.forge_new_keys(
|
phone_decr_keys = phone.forge_new_keys(
|
||||||
name=TELEPHONE_NAME,
|
name=TELEPHONE_NAME,
|
||||||
keys_to_save=phone_keys_to_keep_on_server, # on server only
|
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')
|
print('PHONE KEYS RETURNED')
|
||||||
pprint(phone_decr_keys)
|
pprint(phone_decr_keys)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user