VPN passwords not saved

Bug #111507 reported by Erik
56
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
Low
Gangadhar
Nominated for Hardy by Mark Stosberg

Bug Description

Binary package hint: network-manager

Ubuntu 7.04 (PPC)
XFCE
vpnc

Network manager does not save the VPNC passwords properly (when the button is checked) so the passwords (user and group secret) must be re-entered every time network-manager decides to randomly terminate my wireless connection, which it does frequently.

Perhaps this is a problem of network-manager not talking to gnome-keyring properly, or XFCE being unable to access the keyring?

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

Hi, could you please test this in Gutsy (perhaps with a Live CD)? We'll only be able to address most network-manager bugs in the latest release. It would also be great if you could test it with the Ubuntu flavour so we can isolate whether it's related to XFCE.

Thanks!

Changed in network-manager:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Ken Velarde (kvelarde) wrote :

I can confirm this in Gutsy on x86. It was working before a previous update but I now have to re-enter my user and group password every time I connect using a VPNC entry. Not sure if this affects other VPN modes.

Revision history for this message
Johan Rönnblom (johan-ronnblom) wrote :

I have the same problem on Gutsy/x86 for wireless using WPA personal. In fact, it looks like 'something' is saved, because the password box contains 64 blobs when Network Settings are reopened. With 64 being a nice round number, I suspect it might actually save the wrong string, using a random pointer or somesuch.

Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Now that the final version of Gutsy Gibbon is available we were wondering if this issue still exists. Thanks in advance.

Revision history for this message
Ken Velarde (kvelarde) wrote :

I still have this problem on Gutsy with the latest updates as of today, 11/28/07. It seems my WEP keys are stored but the VPNC passwords are not. If I use the Applications -> Passwords and Encryption Keys utility, I see the correct passwords stored for my VPN connections. However, they are NOT loaded when I choose an existing connection.

I just created a new connection and it appears the group and user passwords are remembered at least for this session. When I can, I will shutdown the computer and see if the passwords are remembered. Will report back soon.

Revision history for this message
Ken Velarde (kvelarde) wrote :

I just restarted my computer after saving a new VPN connection and it properly remembered by user and group passwords. I believe this worked because I did NOT use the same connection name as a previous attempt. I have already tried removing an existing entry from both the VPN list and the list of passwords and encryption keys. If I use the same connection name, the Network Manager seems to "forget" the user and group passwords.

I think it is safe to say that new entries will work correctly but that there may be some problem with existing entries.

Revision history for this message
Fatal (fabian-barney) wrote :

I can confirm that the problem still exists.
Nevertheless storing passwords for VPNs in keyring it asks every time for passwords. Nevertheless checking session and/or permanent saving in the dialog. Nervertheless trying to reconnect during the same or a new session: It asks ALWAYS for both passwords when connecting to VPN.

No problems with other password savings in keyring (WEP etc.) - just VPN makes problems!

Revision history for this message
Haggai Eran (haggai-eran) wrote :

Hi,
I'm having this problem in the final version of Gutsy. The problem is shown with VPN connections with a Hebrew name, for which the password isn't saved and the program asks for the password again every time you connect. For VPN connections with an English name, the password does get saved.

Regards,
Haggai Eran

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 111507] Re: VPN passwords not saved

On Sun, Dec 30, 2007 at 09:45:14AM -0000, Haggai Eran wrote:
> Hi,
> I'm having this problem in the final version of Gutsy. The problem is shown with VPN connections with a Hebrew name, for which the password isn't saved and the program asks for the password again every time you connect. For VPN connections with an English name, the password does get saved.
>

can others confirm that its just non-ascii characters that cause this?

 - Alexander

Revision history for this message
Mackenzie Morgan (maco.m) wrote :

Nope. My VPN passwords are all ASCII, and I have to type them every time.
I don't think saying they're "not saved" is accurate though. When I look in
my keyring with Seahorse, they *are* saved, but the Network Manager VPN
thing completely ignores that fact and asks anyway.

On Jan 9, 2008 12:07 PM, Alexander Sack <email address hidden> wrote:

> On Sun, Dec 30, 2007 at 09:45:14AM -0000, Haggai Eran wrote:
> > Hi,
> > I'm having this problem in the final version of Gutsy. The problem is
> shown with VPN connections with a Hebrew name, for which the password isn't
> saved and the program asks for the password again every time you connect.
> For VPN connections with an English name, the password does get saved.
> >
>
> can others confirm that its just non-ascii characters that cause this?
>
> - Alexander
>
> --
> VPN passwords not saved
> https://bugs.launchpad.net/bugs/111507
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

--
Mackenzie Morgan
Linux User #432169
ACM Member #3445683
http://ubuntulinuxtipstricks.blogspot.com <-my blog of Ubuntu stuff
apt-get moo

Revision history for this message
Johan Rönnblom (johan-ronnblom) wrote :

Hi

I have a remaining issue which seems similar but may in fact be something
completely different. Usually, I'm automatically connected on startup. But
seemingly at random, I'm prompted about the password again. However, when I
enter it, I'm still denied access. The only remedy I've found is to boot
the machine into Windows (it's a dual boot machine). Then, when I reboot
into Ubuntu, I'm connected to the network again. Just turning the machine
off does not cure the problem, for example. I don't actually have to
connect to the network in Windows, it's enough that I boot it and then
reboot even before loggin into Windows (possibly Windows still connects
somehow even though it indicates that it's not connected.. or maybe it just
initialises something).

So I guess this may in fact be some sort of driver issue, and unrelated to
the password saving issue. But what do I know.

--
  /Johan Rönnblom

Revision history for this message
Stephen Gornick (sgornick) wrote :

Jonathon,

I had a similar experience, and I ended up resolving it by getting a newer router. See the last few comments in Bug #155945 for details. I thought i was having intermittent problems but the "discarding duplicate" messages in the syslog roughly correlated to when I was having trouble authenticating.

Revision history for this message
Martin Emrich (emme) wrote :

Hi!

Since ca. 1 month, this bug is back for me (using hardy). Is there another workaround instead of wiping the whole gnome-keyring?

Ciao

Martin

Revision history for this message
Martin Emrich (emme) wrote :

I just saw this several times in my .xsession-errors file:

** (nm-vpnc-auth-dialog:11771): WARNING **: Couldn't store password in keyring, code 1

Revision history for this message
Mackenzie Morgan (maco.m) wrote :

I haven't tested it in a week, but for me on Hardy the password is saved and
it authenticates, but then nothing is forwarded through the VPN tunnel. I
still get the page that says I need to connect to the VPN to access the
internet. Then it's back to "sudo vpnc"

On Tue, Mar 4, 2008 at 5:10 AM, Martin Emrich <email address hidden> wrote:

> Hi!
>
> Since ca. 1 month, this bug is back for me (using hardy). Is there
> another workaround instead of wiping the whole gnome-keyring?
>
> Ciao
>
> Martin
>
> --
> VPN passwords not saved
> https://bugs.launchpad.net/bugs/111507
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

--
Mackenzie Morgan
Linux User #432169
ACM Member #3445683
http://ubuntulinuxtipstricks.blogspot.com <-my blog of Ubuntu stuff
apt-get moo

Revision history for this message
Mark Stosberg (markstos) wrote :

This bug still persists in Hardy.

I found a solution was to go to System: Administration: Keyring Manager and delete a key which looked related. After that I wasn't prompted for the password anymore.

I still consider the bug present because the UI still lies-- it claims to save the password but appears not to.

Revision history for this message
Mackenzie Morgan (maco.m) wrote :
  • unnamed Edit (189 bytes, application/pgp-signature; name=signature.asc)

On Sun, 2008-04-27 at 13:34 +0000, Mark Stosberg wrote:
> This bug still persists in Hardy.

Upgrade or fresh install? I didn't have this bug in a fresh install,
though I did keep my dot-files and keyring from Gutsy.

--
Mackenzie Morgan
http://ubuntulinuxtipstricks.blogspot.com
apt-get moo

Revision history for this message
Mark Stosberg (markstos) wrote :

Upgrade. It didn't happen at first with a fresh install originally, either. I don't know what the trigger is that introduces the issue, or if it even a possible condition to trigger if a fresh install of Hardy is used.

   Mark

Revision history for this message
Johan Rönnblom (johan-ronnblom) wrote :

Hi

I have an upgraded system, and I checked my keyring manager and it appears
to have saved some old passwords for the same wireless network that I'm
sometimes prompted for password for (and when that happens, I lose
connection until rebooted in Windows and then rebooted into Ubuntu again).
I deleted my old keys now, I'll report back in a few days to see if this
solved my problems.

--
Johan Rönnblom

Revision history for this message
Alexander Sack (asac) wrote :

should work now in 8.10. there is one open issue about the lack of ability to save only group secret, but thats dealt with in NM 0.7.1 most likely.

Changed in network-manager:
status: Incomplete → Fix Released
Revision history for this message
Giovanni Masucci (gio-grifis) wrote :

I'm on jaunty right now, and I'm unable to save both user and vpn password with network-manager

Revision history for this message
Steve Thomas (steve-thomas-internode) wrote :

This bug seems to have come back with Lucid Lynx. Despite asking for password saves, it prompts every time for user and group passwords.

NM 0.8 / Ububtu 10, Dell XPS 1330.

Revision history for this message
Matthew Gregg (mcg) wrote :

Just hit a similar bug in Quantal. I am being prompted for my VPN group password despite having set and saved it in the VPN configuration in NetworkManager

Revision history for this message
Adrian Wilkins (adrian-wilkins) wrote :

I'm also seeing this ; the saved secrets are visible in the keyring manager as

  VPN IPSec secret secret for *****/org.freedesktop.NetworkManager.vpnc/vpn

It worked the first time it was configured, but not after.

Entering the group password manually succeeds.

I can't save both passwords because one is an RSA ID.

Gangadhar (gangadhar)
Changed in network-manager (Ubuntu):
assignee: nobody → Gangadhar (gangadhar)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.