Bug 292477 - Plasma Network Manager should save PIN for SIM cards in kwallet
Summary: Plasma Network Manager should save PIN for SIM cards in kwallet
Status: RESOLVED FIXED
Alias: None
Product: Network Management
Classification: Miscellaneous
Component: Mobile Broadband (show other bugs)
Version: 0.9
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Lamarque V. Souza
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-26 15:47 UTC by Robby Engelmann
Modified: 2015-03-15 12:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.9.0.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robby Engelmann 2012-01-26 15:47:32 UTC
Version:           0.9 (using KDE 4.7.4) 
OS:                Linux

I am using a mobile broadband connection via a built-in modem in my notebook. Each time I start the system the PIN must be entered. I would like to see the PIN saved in Kwallet.


Reproducible: Always

Steps to Reproduce:
put a SIM card into slot of an integrated UMTS modem

Actual Results:  
on each system start the PIN must be entered

Expected Results:  
PIN should be saved in kwallet.
Comment 1 Lamarque V. Souza 2012-01-26 20:17:29 UTC
I am reluctant in implementing such a thing because ModemManager cannot identify sim cards, which means that if you swap the sim card Plasma NM will still send the PIN for the old sim card and eventually lock it. You will be required to use the PUK to unlock the sim card.

When ModemManager correctly implements sim card identification I can consider implementing this. Until there I am not going to do it.
Comment 2 Lamarque V. Souza 2012-02-02 12:47:35 UTC
Actually I was looking at Plasma NM source code and it indeed stores the PIN when using NetworkManager 0.9. That is not the default configuration though, you must change that in the mobile broadband connection dialog. Important: if you change that configuration it will be your responsability if your sim card is locked by accident.

Anyway, that does not solve your problem because ModemManager signals that it requires the PIN when Plasma NM starts. Well, you can change your connection to a system connection, then NetworkManager will store the PIN. System connection does not mean it will be available to anyone, you can select each users are allowed to use it (the user who created the connection is always allowed to use it).
Comment 3 Lamarque V. Souza 2012-03-04 18:03:21 UTC
Git commit d93d65eed8345c242304e96e94f7b6fa153089ee by Lamarque V. Souza.
Committed on 04/03/2012 at 18:34.
Pushed by lvsouza into branch 'master'.

Add to kcm module, in "Other" tab, option to select if Plasma NM should
ask for GSM Pin on modem detection or when activating a gsm connection.
The last one is what most users want but some modems do not work with
this mode.
FIXED-IN: 0.9.0.1

M  +6    -0    libs/internals/knmserviceprefs.kcfg
M  +6    -0    libs/service/networkinterfacemonitor.cpp
M  +1    -1    plasma_nm_version.h
M  +50   -26   settings/config/othersettings.ui

http://commits.kde.org/networkmanagement/d93d65eed8345c242304e96e94f7b6fa153089ee
Comment 4 Lamarque V. Souza 2012-03-04 18:03:21 UTC
Git commit 39959b1169dd24e03e928e6eaed12291f181a7fe by Lamarque V. Souza.
Committed on 04/03/2012 at 18:34.
Pushed by lvsouza into branch 'nm09'.

Add to kcm module, in "Other" tab, option to select if Plasma NM should
ask for GSM Pin on modem detection or when activating a gsm connection.
The last one is what most users want but some modems do not work with
this mode.
FIXED-IN: 0.9.0.1

M  +6    -0    libs/internals/knmserviceprefs.kcfg
M  +7    -1    libs/service/networkinterfacemonitor.cpp
M  +1    -1    plasma_nm_version.h
M  +51   -27   settings/config/othersettings.ui

http://commits.kde.org/networkmanagement/39959b1169dd24e03e928e6eaed12291f181a7fe
Comment 5 Uwe Dippel 2015-03-15 12:59:23 UTC
I am on nm 0.9.8.8 and it doesn't work. It behaves like what it was when this RFE was posted.
Whenever I boot / log in, it pops up asking for the PIN2. It never stores it. Not even with a system (all users) setting.