aboutsummaryrefslogtreecommitdiff
path: root/syshead.h
diff options
context:
space:
mode:
authorJames Yonan <james@openvpn.net>2010-12-09 11:21:04 +0000
committerJames Yonan <james@openvpn.net>2010-12-09 11:21:04 +0000
commit2a3d17ed182608cf60d731a237f9f926c28db522 (patch)
tree6ffd2d41156ecafe4715447b4b4c006112d6f514 /syshead.h
parentFixes to prevent compile breakage when --disable-crypto is used. (diff)
downloadopenvpn-2a3d17ed182608cf60d731a237f9f926c28db522.tar.xz
Added "management-external-key" option. This option can be used
instead of "key" in client mode, and allows the client to run without the need to load the actual private key. When the SSL protocol needs to perform an RSA sign operation, the data to be signed will be sent to the management interface via a notification as follows: >RSA_SIGN:[BASE64_DATA] The management interface client should then sign BASE64_DATA using the private key and return the signature as follows: rsa-sig [BASE64_SIG_LINE] . . . END This capability is intended to allow the use of arbitrary cryptographic service providers with OpenVPN via the management interface. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@6708 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r--syshead.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/syshead.h b/syshead.h
index bad5ce0..3b835f7 100644
--- a/syshead.h
+++ b/syshead.h
@@ -509,6 +509,21 @@ socket_defined (const socket_descriptor_t sd)
#endif
/*
+ * Enable external private key
+ */
+#if defined(ENABLE_MANAGEMENT) && defined(USE_SSL)
+#define MANAGMENT_EXTERNAL_KEY
+#endif
+
+/*
+ * MANAGEMENT_IN_EXTRA allows the management interface to
+ * read multi-line inputs from clients.
+ */
+#if defined(MANAGEMENT_DEF_AUTH) || defined(MANAGMENT_EXTERNAL_KEY)
+#define MANAGEMENT_IN_EXTRA
+#endif
+
+/*
* Enable packet filter?
*/
#if defined(CONFIGURE_PF) && P2MP_SERVER && defined(ENABLE_PLUGIN) && defined(HAVE_STAT)