After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 639191 - nm-applet's openvpn key-selection file-dialog fails to display any files -- just blank
nm-applet's openvpn key-selection file-dialog fails to display any files -- j...
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: VPN: openvpn
0.8.x
Other Linux
: Normal major
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks:
 
 
Reported: 2011-01-11 03:09 UTC by _
Modified: 2011-01-11 18:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description _ 2011-01-11 03:09:13 UTC
i have NetworkManager-gnome (nm-applet) installed on openSUSE 11.3+KDE (kr45).

creating & using connections to Wired & Wireless work ok.

now, trying to set up an openvpn connection.

when i nav to the *.key-containing folder in the nm-applet openvpn
key-selection dialog, it simply is empty.  no files are displayed or
selectable. (screenshot -> http://bit.ly/hdhay9)

checking, the files *are* there,

~/Documents/security/openvpn  > ls -al
 total 32
 drwxr-xr-x 2 dev001 users 4096 2011-01-05 07:29 ./
 drwxr-xr-x 3 dev001 users 4096 2011-01-05 09:00 ../
 -rw-r--r-- 1 dev001 users 1923 2011-01-05 07:29 ca.crt
 -rw-r--r-- 1 dev001 users  424 2011-01-05 07:29 dh2048.pem
 -rw-r--r-- 1 dev001 users 5792 2011-01-05 07:29 dev001.client.openvpn.crt
 -rw------- 1 dev001 users 1704 2011-01-05 07:29 dev001.client.openvpn.key

i have been, so far, unable to figure out how to add the key @ the nm-applet to
create a connection.

fyi,

 lsb_release -a
  LSB Version:    n/a
  Distributor ID: SUSE LINUX
  Description:    openSUSE 11.3 (x86_64)
  Release:        11.3
  Codename:       n/a

 uname -a
  Linux dev001.desk 2.6.34.7-0.7-desktop #1 SMP PREEMPT 2010-12-13 11:13:53
+0100 x86_64 x86_64 x86_64 GNU/Linux

 rpm -qa | grep -i NetworkManager
	NetworkManager-openvpn-gnome-0.8-3.1.x86_64
	NetworkManager-devel-0.8-8.2.1.x86_64
	NetworkManager-pptp-0.8-3.1.x86_64
	NetworkManager-novellvpn-0.7.2.r1138-7.1.1.x86_64
	NetworkManager-glib-0.8-8.2.1.x86_64
	NetworkManager-gnome-0.8-5.1.x86_64
	NetworkManager-vpnc-0.8-3.1.x86_64
	NetworkManager-novellvpn-gnome-0.7.2.r1138-7.1.1.x86_64
	NetworkManager-doc-0.8-8.2.1.x86_64
	NetworkManager-vpnc-gnome-0.8-3.1.x86_64
	NetworkManager-openvpn-0.8-3.1.x86_64
	NetworkManager-0.8-8.2.1.x86_64
	NetworkManager-pptp-gnome-0.8-3.1.x86_64

and,

 rpm -qa | grep -i kdebase4-4
	kdebase4-4.5.5-1.1.x86_64

from kr45 (d.o.o/repositories/KDE:/Release:/45/openSUSE_11.3).


in an #irc chat, i was told by another user with,

  openSUSE Factory (11.4 RC)
  GNOME as DE
  NetworkManager-0.8.2-90.2.x86_64

-- created a Test.key and a Test.pem in ~
-- browsed with the (nm-applet openvpn) file dialog there

that, for him,

   "indeed: it shows only folders, no files ... it does see *.p12 files
though"

he also verified that the file-type selector in the dialog says:

     PEM or PKCS#12 (*.pem, *.crt, *.key, *.cer, *.p12)

and, again, "a .p12 is seen"

for me, however, on opensuse 11.3, in the openvpn static key dialog, the drop-down file type selector has _only_one_ option:  "OpenVPN Static Keys (*.key)"

so, even creating a .p12 doesn't help -- it's not viewable.

and ... updating to

 NetworkManager-0.8.2-90.2.x86_64

on 11.3, from,

 http://download.opensuse.org/repositories/GNOME:/Factory/openSUSE_11.3

doesn't improve/change the situation.  still no files seen, and only *.key
is available as a selector option.
Comment 1 Dan Williams 2011-01-11 18:30:01 UTC
most if it's already there with 0.8.1, but we also need this patch to show unencrypted keys in the file chooser:

46d13ca03e5d48eecc333a5c23fc16eddee70615 (master)
6dd966d8a2e97cf2314eb5cd052055526135024c (0.8.x)