LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-08-2017, 09:04 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post Skype and Unlock Login Keyring


Hello.
When I open Skype and wants to login, A message appeared and when I enter my Linux login or root password then the windows showed again.

How can I solve it?

Thank you.
Attached Thumbnails
Click image for larger version

Name:	Screenshot-Unlock Login Keyring.png
Views:	303
Size:	19.5 KB
ID:	26495  
 
Old 12-08-2017, 10:59 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Do you have auto-login enabled?
 
Old 12-08-2017, 03:53 PM   #3
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 629

Rep: Reputation: Disabled
Quote:
Originally Posted by hack3rcon View Post
Hello.
When I open Skype and wants to login, A message appeared and when I enter my Linux login or root password then the windows showed again.

How can I solve it?

Thank you.
If you go to ~/.local/share/keyrings (or your system's equivalent) and delete user.keystore then the next time you log in to skype you'll be asked to set a password (for skype). I believe you're only asked once per day or system session.
 
Old 12-09-2017, 04:01 AM   #4
aslamkhan
LQ Newbie
 
Registered: Dec 2017
Posts: 3

Rep: Reputation: 0
Informative post.
 
Old 12-12-2017, 08:54 AM   #5
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by Habitual View Post
Do you have auto-login enabled?
Linux auto-login or Skype? I never enabled.
 
Old 12-12-2017, 08:54 AM   #6
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by petelq View Post
If you go to ~/.local/share/keyrings (or your system's equivalent) and delete user.keystore then the next time you log in to skype you'll be asked to set a password (for skype). I believe you're only asked once per day or system session.
Per day???
 
Old 12-12-2017, 09:36 AM   #7
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 629

Rep: Reputation: Disabled
Quote:
Originally Posted by hack3rcon View Post
Per day???
I don't really know. I tend to backup and switch off at the end of the day. Every time I restart and open skype, the keyring asks for the password. If I quit skype and open later in the day, it doesn't ask.
 
Old 12-12-2017, 11:18 AM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,679
Blog Entries: 4

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
The root cause of this problem is exactly as the dialog-box says it is!

Skype, like many other computer applications (regardless of platform ...) uses some kind of a "secure keychain store" to hold confidential information securely. However, it now finds that it cannot unlock this keychain.

If you change your login password, you also need to change the cryptographic password of any keychains which expect the two to be the same.

(N.B.: The APIs in question do not require the application to actually know your login-password, but they will only be able to unlock the keychain when the crypto-password of that keychain is the same.)

Last edited by sundialsvcs; 12-12-2017 at 11:19 AM.
 
Old 12-13-2017, 07:27 AM   #9
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 629

Rep: Reputation: Disabled
Quote:
Originally Posted by sundialsvcs View Post
The root cause of this problem is exactly as the dialog-box says it is!

Skype, like many other computer applications (regardless of platform ...) uses some kind of a "secure keychain store" to hold confidential information securely. However, it now finds that it cannot unlock this keychain.

If you change your login password, you also need to change the cryptographic password of any keychains which expect the two to be the same.

(N.B.: The APIs in question do not require the application to actually know your login-password, but they will only be able to unlock the keychain when the crypto-password of that keychain is the same.)
I had a problem with skype some months ago. I cancelled the user.keystore file as I described above created a new password for skype only. It does not match any other password I have. Skype now works perfectly every time as long as I remember that one password.
 
Old 12-13-2017, 09:36 AM   #10
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,679
Blog Entries: 4

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
It is a good thing that Skype and other applications make use of "encrypted keychain" technologies, as is now very commonly seen across most operating-system platforms. (Linux, OS/X, Windows ...) Even if they store data in their own encrypted files, they will store an obfuscated master-key token in the keychain, this being a very secure and yet easily accessible place to put it.

I routinely set up more-than-one such keychain, including not only the "default" one that's unlocked by my login, but additional ones that are secured using a different password. Where possible, I then direct the applications to use that keyring, which I set to "re-lock" itself after a short interval.

For example, my web-browser never stores web-site passwords. I store this information in "secure notes" within an appropriate non-default keychain. The information is of course not terribly protected, but it is protected, and in a way that any software which managed to compromise the web-browser environment can't reach. I use fairly-nonsensical web passwords, relying upon this technique to let me remember them. I then put the keychain password on a sticky-note attached to the bottom of my keyboard.
 
1 members found this post helpful.
Old 12-19-2017, 10:15 AM   #11
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by sundialsvcs View Post
The root cause of this problem is exactly as the dialog-box says it is!

Skype, like many other computer applications (regardless of platform ...) uses some kind of a "secure keychain store" to hold confidential information securely. However, it now finds that it cannot unlock this keychain.

If you change your login password, you also need to change the cryptographic password of any keychains which expect the two to be the same.

(N.B.: The APIs in question do not require the application to actually know your login-password, but they will only be able to unlock the keychain when the crypto-password of that keychain is the same.)
For solve this problem I must change my login password?
 
Old 12-19-2017, 10:17 AM   #12
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by petelq View Post
I had a problem with skype some months ago. I cancelled the user.keystore file as I described above created a new password for skype only. It does not match any other password I have. Skype now works perfectly every time as long as I remember that one password.
Can you explain it?
 
Old 12-19-2017, 12:02 PM   #13
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 629

Rep: Reputation: Disabled
Quote:
Originally Posted by hack3rcon View Post
Can you explain it?
There's not much more to explain. Your original post, I assumed, was that the keyring was storing a password for skype that you weren't aware of. As far as I can tell there's no way to operate skype without a password so my explanation in my first response was how to re-set that password.
Maybe I misread your post.
 
Old 12-19-2017, 05:11 PM   #14
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
you set that with sudo when you first ran it. if you forgot your password.
do as per petelq said.
then marked solved
 
Old 03-17-2020, 08:54 PM   #15
ian3384
LQ Newbie
 
Registered: Mar 2020
Location: Gatineau, Province of Quebec
Distribution: LinuxMint 18.3
Posts: 8

Rep: Reputation: Disabled
Wonder what this Keychain stuff has to do with the problem

I had a bit of trouble with the same thing and got frustrated at Skype. But, But I fixed the stupid Keychain question by clicking CANCEL. Skype seems to be fine after that.
I've never heard of Keychain before but it sounds too deep for me to get involved with. Regards Ian.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xrdp, auto-login and keyring unlock tonj Linux - Software 1 04-20-2018 02:19 AM
Unlock Default Keyring on Login. LMDE using MATE NotAComputerGuy Linux - Newbie 1 08-11-2014 12:57 PM
[SOLVED] Installed SLiM - keyring doesn't unlock after login custangro Linux Mint 2 12-11-2011 08:34 PM
Enter password to unlock your login keyring TigerLinux Ubuntu 4 06-29-2011 12:45 PM
Unlock keyring at login for NetworkManager and wireless in KDE michael.guerrero Linux - Software 0 05-08-2009 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration