Commit df572d31 authored by Brandon Smith's avatar Brandon Smith

Remove some hacky crap

parent eae6c040
......@@ -48,9 +48,8 @@ while True:
pin = ""
ssh.sendline(pin.strip())
elif index == 1:
p = subprocess.Popen(["/usr/local/bin/u2f-host", "-aauthenticate",
p = subprocess.Popen(["u2f-host", "-aauthenticate",
"-o", ssh.match.group(1)],
env={"LD_LIBRARY_PATH": "/usr/local/lib"},
stdin=subprocess.PIPE, stdout=subprocess.PIPE)
out, err = p.communicate(ssh.match.group(2))
p.wait()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment