2
0
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:
quadrismegistus 2020-09-07 14:16:43 +01:00
parent c8fee83ec4
commit 6bffeceead

View File

@ -249,17 +249,27 @@ def init_operators():
if key in phone_decr_keys: if key in phone_decr_keys:
STORE_IN_APP[TELEPHONE_NAME][key]=phone_decr_keys[key] STORE_IN_APP[TELEPHONE_NAME][key]=phone_decr_keys[key]
print('store in app =',STORE_IN_APP)
print('store in web =',THIRD_PARTY_DICT)
exit()
for name in THIRD_PARTY_DICT: for name in THIRD_PARTY_DICT:
THIRD_PARTY_DICT[name] = package_for_transmission(THIRD_PARTY_DICT[name]) THIRD_PARTY_DICT[name] = package_for_transmission(THIRD_PARTY_DICT[name])
print('THIRD_PARTY_DICT',THIRD_PARTY_DICT) print('THIRD_PARTY_DICT',name,THIRD_PARTY_DICT[name])
THIRD_PARTY_DICT=package_for_transmission(THIRD_PARTY_DICT) THIRD_PARTY_DICT=package_for_transmission(THIRD_PARTY_DICT)
# THIRD_PARTY_DICT[OPERATOR_NAME] = packa(THIRD_PARTY_DICT) # THIRD_PARTY_DICT[OPERATOR_NAME] = packa(THIRD_PARTY_DICT)
# STORE_IN_APP = package_for_transmission(STORE_IN_APP) # STORE_IN_APP = package_for_transmission(STORE_IN_APP)
print('THIRD_PARTY_DICT',THIRD_PARTY_DICT) print('THIRD_PARTY_DICT',THIRD_PARTY_DICT)
with open(PATH_BUILTIN_KEYCHAIN,'wb') as of: with open(PATH_BUILTIN_KEYCHAIN,'wb') as of:
of.write(THIRD_PARTY_DICT) of.write(THIRD_PARTY_DICT)
with open(PATH_BUILTIN_KEYCHAIN,'wb') as of: with open(PATH_OPERATOR_WEB_KEYS_FILE,'wb') as of:
of.write(THIRD_PARTY_DICT) of.write(THIRD_PARTY_DICT)