mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-05 21:20:51 +00:00
updates
This commit is contained in:
parent
d4a9f3729e
commit
ab13ccde47
@ -148,22 +148,7 @@ class Komrade(Caller):
|
|||||||
prefix='/secret_login/'
|
prefix='/secret_login/'
|
||||||
)
|
)
|
||||||
|
|
||||||
self.log(f'''Now saving name and public key on local device:
|
self.log(f'''Now saving name and public key on local device:''')
|
||||||
|
|
||||||
# pubkey -> name
|
|
||||||
|
|
||||||
/name/{uri_id}
|
|
||||||
= {self.name}
|
|
||||||
|
|
||||||
# name -> pubkey
|
|
||||||
|
|
||||||
/pubkey/{self.name}
|
|
||||||
= {uri_id}
|
|
||||||
|
|
||||||
# pubkey -> secret
|
|
||||||
|
|
||||||
/secret_login/{uri_id} = {make_key_discreet_str(b64enc_s(sec_login))}
|
|
||||||
''')
|
|
||||||
|
|
||||||
# save qr too:
|
# save qr too:
|
||||||
uri_id = b64enc(pubkey_b)
|
uri_id = b64enc(pubkey_b)
|
||||||
|
Loading…
Reference in New Issue
Block a user