[Bug 275608] Re: nm-openvpn swaps ca and cert in openvpn commandline

2008-09-30 Thread Thierry Carrez
OK I think I got it.

When using authentication type Password with Certificate (TLS), the
two labels CA certificate and User certificate are swapped. If you
click on the corresponding file selector, the file selector dialog
window name correctly shows Choose a Certificate Authority
certificate... and Choose your personal certificate It is just
the labels that are shown in the wrong order.

Reproduction:
Create a new VPN. Select authentication type Certificate (TLS). Select :
User Certificate: user.crt
CA Certificate: ca.crt
Private key: user.key
Switch to authentication type Password with certificate(TLS). You get:
User name: empty
CA Certificate: user.crt
User Certificate: ca.crt
Private Key: user.key
Clicking on user.crt to correctly shows the file selector dialog box with 
title Choose your personal certificate

Expected results:
When switching to authentication type Password with certificate(TLS). You 
should get:
User name: empty
User Certificate: user.crt
CA Certificate: ca.crt
Private Key: user.key

** Changed in: network-manager-openvpn (Ubuntu)
   Importance: Undecided = High
   Status: Incomplete = Confirmed

** Summary changed:

- nm-openvpn swaps ca and cert in openvpn commandline
+ nm-openvpn swaps ca-cert and user-cert labels when using Passwords with 
Certificate (TLS) mode

-- 
nm-openvpn swaps ca-cert and user-cert labels when using Passwords with 
Certificate (TLS) mode
https://bugs.launchpad.net/bugs/275608
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 275608] Re: nm-openvpn swaps ca and cert in openvpn commandline

2008-09-29 Thread Thierry Carrez
Can't reproduce with current intrepid (same version as you).

My VPN configuration dialog shows (top to bottom):
- User cert : selected client.crt
- CA cert : selected ca.crt
- User private key : selected client.key

Then the command line is :
/usr/sbin/openvpn --remote 192.168.122.41 --nobind --dev tun --proto udp --port 
1194 --syslog nm-openvpn --script-security 2 --up 
/usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper --up-restart 
--persist-key --persist-tun --management 127.0.0.1 1194 
--management-query-passwords --route-noexec --client --ca 
/home/koon/openvpn/ca.crt --cert /home/koon/openvpn/client.crt --key 
/home/koon/openvpn/client.key
...which is correct.

Could you please retry on a new configuration (not one imported from hardy ?)
It can also be a translation error where two labels might haven been swapped, 
so please confirm how the dialog box reads (top to bottom) and which 
language/locale you are using.

In all cases, that would be a network-manager-openvpn, bug and not an
openvpn bug.

** Changed in: openvpn (Ubuntu)
   Status: New = Invalid

** Also affects: network-manager-openvpn (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: network-manager-openvpn (Ubuntu)
   Status: New = Incomplete

-- 
nm-openvpn swaps ca and cert in openvpn commandline
https://bugs.launchpad.net/bugs/275608
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 275608] Re: nm-openvpn swaps ca and cert in openvpn commandline

2008-09-29 Thread Crispin Flowerday
I had to re-create the VPN from scratch - the config got lost over the
upgrade ...

I am en_GB locale, and I see (in the Authentication bit).

Type: Password with Certificate (TLS)
User name: myloginname
CA Certificate: crispin-00.crt
User Certificate: ca.crt
Private Key: crispin-00.key

The problems does seem to be between the UI and gconf as gconf shows the
correct information (in /system/networking/vpn_connections/VPN
name/vpn_data)

If I run LANG=C /usr/bin/nm-connection-editor I still get the items in
the UI in the same order.

-- 
nm-openvpn swaps ca and cert in openvpn commandline
https://bugs.launchpad.net/bugs/275608
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 275608] Re: nm-openvpn swaps ca and cert in openvpn commandline

2008-09-28 Thread DrFaNaTiC
** Changed in: openvpn (Ubuntu)
Sourcepackagename: None = openvpn

-- 
nm-openvpn swaps ca and cert in openvpn commandline
https://bugs.launchpad.net/bugs/275608
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs