[Openvas-commits] r5709 - in trunk/openvas-manager: . src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Sat Oct 24 22:40:40 CEST 2009
Author: mattm
Date: 2009-10-24 22:40:39 +0200 (Sat, 24 Oct 2009)
New Revision: 5709
Modified:
trunk/openvas-manager/ChangeLog
trunk/openvas-manager/src/lsc_user.c
Log:
* src/lsc_user.c (ssh_privkey_create): Quote passwords for openssl.
Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog 2009-10-24 19:48:29 UTC (rev 5708)
+++ trunk/openvas-manager/ChangeLog 2009-10-24 20:40:39 UTC (rev 5709)
@@ -1,5 +1,9 @@
2009-10-24 Matthew Mundell <matthew.mundell at intevation.de>
+ * src/lsc_user.c (ssh_privkey_create): Quote passwords for openssl.
+
+2009-10-24 Matthew Mundell <matthew.mundell at intevation.de>
+
* src/tasks_sql.h (create_lsc_credential): Check that name is all
alphanumeric.
Modified: trunk/openvas-manager/src/lsc_user.c
===================================================================
--- trunk/openvas-manager/src/lsc_user.c 2009-10-24 19:48:29 UTC (rev 5708)
+++ trunk/openvas-manager/src/lsc_user.c 2009-10-24 20:40:39 UTC (rev 5709)
@@ -326,9 +326,9 @@
const gchar *command =
g_strconcat ("openssl pkcs8 -topk8 -v2 des3"
" -in ", pubkey_stripped,
- " -passin pass:", passphrase_pub,
+ " -passin pass:\"", passphrase_pub, "\"",
" -out ", privkey_file,
- " -passout pass:", passphrase_priv,
+ " -passout pass:\"", passphrase_priv, "\"",
NULL);
g_free (pubkey_stripped);
More information about the Openvas-commits
mailing list