From bfbe3f41c2e2260d17a1b4c675dc50ee19336191 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 29 Jul 2019 11:32:16 -0400 Subject: [PATCH] Hardcode SHA1 in BMC side for now BMC side should properly look at the Open RMCP request and do the appropriate thing. For compatibility, just run things exactly as they were for the moment. Change-Id: I2b6671e8672bc1f4e9521823db9122a93405863c --- pyghmi/ipmi/private/serversession.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyghmi/ipmi/private/serversession.py b/pyghmi/ipmi/private/serversession.py index 5cfaaaaa..67f59232 100644 --- a/pyghmi/ipmi/private/serversession.py +++ b/pyghmi/ipmi/private/serversession.py @@ -61,6 +61,8 @@ class ServerSession(ipmisession.Session): bmc): # begin conversation per RMCP+ open session request self.uuid = uuid + self.currhashlib = hashlib.sha1 + self.currhashlen = 12 self.rqaddr = constants.IPMI_BMC_ADDRESS self.authdata = authdata self.servermode = True