pin requests, check button, version

This commit is contained in:
Conor Patrick
2018-07-11 23:00:53 -04:00
parent eaa7e15499
commit 807dcc0422
5 changed files with 65 additions and 15 deletions

View File

@@ -87,7 +87,7 @@ class UDPBridge(BaseHTTPRequestHandler):
print(data)
msg = from_websafe(data)
msg = base64.b64decode(msg)
chal = b'A'*32
chal = b"\xf6\xa2\x3c\xa4\x0a\xf9\xda\xd4\x5f\xdc\xba\x7d\xc9\xde\xcb\xed\xb5\x84\x64\x3a\x4c\x9f\x44\xc2\x04\xb0\x17\xd7\xf4\x3e\xe0\x3f"
appid = b'A'*32
s = ctap.authenticate(chal,appid,msg,)
@@ -110,7 +110,7 @@ class UDPBridge(BaseHTTPRequestHandler):
self.end_headers()
#msg = {'data': read()}
msg = {'data': 'rest'}
msg = {'data': 'rest'};
self.wfile.write(json.dumps(msg).encode())