mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-05 21:20:51 +00:00
updates
This commit is contained in:
parent
2e87d10eb8
commit
ad87d8466f
@ -129,7 +129,7 @@ class Crypt(Logger):
|
||||
if not override:
|
||||
self.log(f'''Crypt.set(\n\t{k_b}\n\n\t{v_b}\n)''')
|
||||
# store
|
||||
#self.store.put(k_b_hash,v_b)
|
||||
self.store.put(k_b_hash,v_b)
|
||||
#return (True,k_b_hash,v_b)
|
||||
return True
|
||||
|
||||
|
@ -8,6 +8,7 @@ from komrade.backend import *
|
||||
def create_phonelines():
|
||||
# crypt
|
||||
keycrypt = Crypt(fn=PATH_CRYPT_OP_KEYS)
|
||||
print(keycrypt.fn)
|
||||
|
||||
# Operator
|
||||
op_keypair = KomradeAsymmetricKey()
|
||||
@ -16,7 +17,8 @@ def create_phonelines():
|
||||
keycrypt.set(OPERATOR_NAME,op_pubkey.data,prefix='/pubkey/')
|
||||
keycrypt.set(op_uri,OPERATOR_NAME,prefix='/name/')
|
||||
keycrypt.set(op_uri,op_privkey.data,prefix='/privkey/')
|
||||
|
||||
|
||||
|
||||
|
||||
## Telephone
|
||||
phone_keypair = KomradeAsymmetricKey()
|
||||
|
Loading…
Reference in New Issue
Block a user