mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-09 13:10:44 +00:00
updates
This commit is contained in:
parent
a644c2ce80
commit
4831f84642
@ -126,7 +126,8 @@ def check_phonelines():
|
|||||||
for name in builtin_keys:
|
for name in builtin_keys:
|
||||||
pubkey=builtin_keys[name]['pubkey']
|
pubkey=builtin_keys[name]['pubkey']
|
||||||
uri_id=b64encode(pubkey)
|
uri_id=b64encode(pubkey)
|
||||||
keycrypt.set(uri.decode(),name,f'/{name}/',override=True)
|
print(name,pubkey,uri_id)
|
||||||
|
keycrypt.set(uri_id.decode(),name,f'/{name}/',override=True)
|
||||||
for keyname,keyval in builtin_keys[name].items():
|
for keyname,keyval in builtin_keys[name].items():
|
||||||
uri=name if keyname=='pubkey' else uri_id
|
uri=name if keyname=='pubkey' else uri_id
|
||||||
keycrypt.set(uri,keyval,f'/{keyname}/',override=True)
|
keycrypt.set(uri,keyval,f'/{keyname}/',override=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user