aboutsummaryrefslogtreecommitdiff
path: root/libhal.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-01-05 23:43:22 -0500
committerRob Austein <sra@hactrn.net>2017-01-05 23:43:22 -0500
commit3c20fd189648b8182edbafed572898d1af744aa6 (patch)
treedb6d82e0472554e5d36546ae85fa35f469b7e17a /libhal.py
parent17366b5296920cd37f716426fd7c653063dd5d78 (diff)
Whack multiplexer to handle console too.
Renamed multiplexer to cryptech_muxd, since it now handles both RPC and CTY. Added new program cryptech_console to act as client for CTY multiplexer. Might want to add console logging capability eventually, not today. Probably want to incorporate UART probing (what cryptech_probe does now) eventually, also not today.
Diffstat (limited to 'libhal.py')
-rw-r--r--libhal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhal.py b/libhal.py
index 1e4ff02..e899d7b 100644
--- a/libhal.py
+++ b/libhal.py
@@ -407,7 +407,7 @@ class HSM(object):
if status != 0:
raise HALError.table[status]()
- def __init__(self, sockname = os.getenv("CRYPTECH_RPC_CLIENT_SOCKET_NAME", "/tmp/.cryptech_rpcmuxd")):
+ def __init__(self, sockname = os.getenv("CRYPTECH_RPC_CLIENT_SOCKET_NAME", "/tmp/.cryptech_muxd.rpc")):
self.socket = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
self.socket.connect(sockname)
self.sockfile = self.socket.makefile("rb")