Module: check_mk
Branch: master
Commit: 267d5ee465c7fd2638c58cf3c75645e353b9a84f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=267d5ee465c7fd…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Oct 28 09:20:53 2016 +0200
Fixed issue in recent commit
---
web/htdocs/valuespec.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/web/htdocs/valuespec.py b/web/htdocs/valuespec.py
index a4e5630..afda586 100644
--- a/web/htdocs/valuespec.py
+++ b/web/htdocs/valuespec.py
@@ -4140,6 +4140,7 @@ class SSHKeyPair(ValueSpec):
def _generate_ssh_key(cls, varprefix):
key = RSA.generate(4096)
private_key = key.exportKey('PEM')
+ pubkey = key.publickey()
public_key = pubkey.exportKey('OpenSSH')
return (private_key, public_key)