core/ui: add '--keysize' option to handle non-default key sizes (bgo #706775)
authorJiří Klimeš <jklimes@redhat.com>
Mon, 9 Sep 2013 11:20:29 +0000 (13:20 +0200)
committerJiří Klimeš <jklimes@redhat.com>
Mon, 9 Sep 2013 12:26:09 +0000 (14:26 +0200)
commit3d10af0947ed6eb02d9812b120a33508d68c7b86
tree7187f944a208ed4390800ee83558bd632fdb3233
parent31b4175713b9e0257cabf905bac0b08308443ef4
core/ui: add '--keysize' option to handle non-default key sizes (bgo #706775)

If openvpn server is configured with a non-default key size, clients have to use
the same size too. We add an option to use custom key size in GUI and handle that
in the service and properties code including import/export too.
However, note that using key sizes different from cipher-specific defaults is
not recommended. List available ciphers and default key sizes by
'openvpn --show-ciphers'.

man openvpn: search --keysize

https://bugzilla.gnome.org/show_bug.cgi?id=706775
properties/auth-helpers.c
properties/import-export.c
properties/nm-openvpn-dialog.ui
properties/tests/conf/Makefile.am
properties/tests/conf/keysize.ovpn [new file with mode: 0644]
properties/tests/test-import-export.c
src/nm-openvpn-service.c
src/nm-openvpn-service.h