2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-05 21:20:51 +00:00
This commit is contained in:
quadrismegistus 2020-09-13 12:36:03 +01:00
parent d4a9f3729e
commit ab13ccde47

View File

@ -148,22 +148,7 @@ class Komrade(Caller):
prefix='/secret_login/'
)
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))}
''')
self.log(f'''Now saving name and public key on local device:''')
# save qr too:
uri_id = b64enc(pubkey_b)