mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-05 21:20:51 +00:00
updates
This commit is contained in:
parent
70797e5b8c
commit
602e6e3ef2
@ -187,14 +187,16 @@ class TheOperator(Operator):
|
|||||||
secret_login=data.get('secret_login')
|
secret_login=data.get('secret_login')
|
||||||
|
|
||||||
name=name.encode() if type(name)==str else name
|
name=name.encode() if type(name)==str else name
|
||||||
pubkey=pubkey.encode() if type(pubkey)==str else pubkey
|
# pubkey=pubkey.encode() if type(pubkey)==str else pubkey
|
||||||
secret_login=secret_login.encode() if type(secret_login)==str else secret_login
|
# secret_login=secret_login.encode() if type(secret_login)==str else secret_login
|
||||||
# get my records
|
# get my records
|
||||||
uri = b64enc(pubkey)
|
# uri = b64enc(pubkey)
|
||||||
|
uri = pubkey
|
||||||
name_record = self.crypt_keys.get(
|
name_record = self.crypt_keys.get(
|
||||||
uri,
|
uri,
|
||||||
prefix='/name/'
|
prefix='/name/'
|
||||||
)
|
)
|
||||||
|
print(uri,name,name_record,'??')
|
||||||
pubkey_record = b64enc(self.crypt_keys.get(
|
pubkey_record = b64enc(self.crypt_keys.get(
|
||||||
name,
|
name,
|
||||||
prefix='/pubkey/'
|
prefix='/pubkey/'
|
||||||
|
Loading…
Reference in New Issue
Block a user