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
f2b1027238
commit
b3e1b829bc
@ -170,13 +170,13 @@ def init_operators():
|
|||||||
print('TELEPHONE_KEYCHAIN =',phone_decr_keys)
|
print('TELEPHONE_KEYCHAIN =',phone_decr_keys)
|
||||||
# stop
|
# stop
|
||||||
|
|
||||||
# stringify
|
# # stringify
|
||||||
for k,v in phone_decr_keys.items():
|
# for k,v in phone_decr_keys.items():
|
||||||
v_s = b64encode(v) #.decode('utf-8')
|
# v_s = b64encode(v) #.decode('utf-8')
|
||||||
phone_decr_keys[k]=v_s
|
# phone_decr_keys[k]=v_s
|
||||||
for k,v in op_decr_keys.items():
|
# for k,v in op_decr_keys.items():
|
||||||
v_s = b64encode(v) #.decode('utf-8')
|
# v_s = b64encode(v) #.decode('utf-8')
|
||||||
op_decr_keys[k]=v_s
|
# op_decr_keys[k]=v_s
|
||||||
|
|
||||||
print('\n'*5)
|
print('\n'*5)
|
||||||
print('OPERATOR_KEYCHAIN =',op_decr_keys)
|
print('OPERATOR_KEYCHAIN =',op_decr_keys)
|
||||||
|
@ -55,8 +55,9 @@ class TheTelephone(Operator):
|
|||||||
# 0) Unencrypted. do not use except for very specific minimal reasons!
|
# 0) Unencrypted. do not use except for very specific minimal reasons!
|
||||||
# exchange half-complete pieces of info, both of which necessary for other
|
# exchange half-complete pieces of info, both of which necessary for other
|
||||||
|
|
||||||
|
|
||||||
unencr_header = OPERATOR_KEYCHAIN['privkey_decr'] + BSEP2 + TELEPHONE_NAME['pubkey_decr']
|
unencr_header = OPERATOR_KEYCHAIN['privkey_decr'] + BSEP2 + TELEPHONE_NAME['pubkey_decr']
|
||||||
# self.log('unencr_header',unencr_header)
|
self.log('unencr_header',unencr_header)
|
||||||
|
|
||||||
# ewrwerewrwerw
|
# ewrwerewrwerw
|
||||||
# 1) only overall encryption layer E2EE Telephone -> Operator:
|
# 1) only overall encryption layer E2EE Telephone -> Operator:
|
||||||
|
Loading…
Reference in New Issue
Block a user