mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-09 13:10:44 +00:00
updates
This commit is contained in:
parent
4831f84642
commit
caf447d77d
@ -127,10 +127,18 @@ def check_phonelines():
|
|||||||
pubkey=builtin_keys[name]['pubkey']
|
pubkey=builtin_keys[name]['pubkey']
|
||||||
uri_id=b64encode(pubkey)
|
uri_id=b64encode(pubkey)
|
||||||
print(name,pubkey,uri_id)
|
print(name,pubkey,uri_id)
|
||||||
keycrypt.set(uri_id.decode(),name,f'/{name}/',override=True)
|
keycrypt.set(
|
||||||
|
uri_id.decode(),
|
||||||
|
name,
|
||||||
|
prefix=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,
|
||||||
|
prefix=f'/{keyname}/',override=True
|
||||||
|
)
|
||||||
|
|
||||||
# make sure world's qr is there too
|
# make sure world's qr is there too
|
||||||
ofnfn = os.path.join(PATH_QRCODES,WORLD_NAME+'.png')
|
ofnfn = os.path.join(PATH_QRCODES,WORLD_NAME+'.png')
|
||||||
|
Loading…
Reference in New Issue
Block a user