From: Ondrej Lichtner olichtne@redhat.com
This fixes a KeyError exception when using the pubkey authentication method.
The patch was provided by Jan Tluka.
Signed-off-by: Ondrej Lichtner olichtne@redhat.com --- lnst/Controller/CtlSecSocket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lnst/Controller/CtlSecSocket.py b/lnst/Controller/CtlSecSocket.py index 1f16055..34ffb5d 100644 --- a/lnst/Controller/CtlSecSocket.py +++ b/lnst/Controller/CtlSecSocket.py @@ -96,7 +96,7 @@ class CtlSecSocket(SecureSocket): except: ctl_key = None
- srv_key_path = sec_params["srv_pubkey_path"] + srv_key_path = sec_params["pubkey_path"] try: with open(srv_key_path, 'r') as f: srv_key = load_pem_public_key(f.read(), backend)