For example, a program for obtaining emails will save your logon password to the key ring and access the key ring to obtain the password next time. The passwords in the key ring are saved in plaintext, therefore, the system's default key ring is encrypted and the password is the logon password. In this way, if a program needs to access the key ring, a password must be provided to ensure security, however, it is too much trouble for a lazy person like us. There are two solutions: remove the default key ring password to open the application-attachment-password and encryption key (or enter seahor in the terminal)
For example, a program for obtaining emails will save your logon password to the key ring and access the key ring to obtain the password next time. The passwords in the key ring are saved in plaintext, therefore, the system's default key ring is encrypted and the password is the logon password. In this way, if a program needs to access the key ring, a password must be provided to ensure security, however, it is too much trouble for a lazy person like us.
There are two solutions:
1. Remove the password of the default key ring.
Open the application-attachment-password and encryption key (or enter seahorse in the terminal), switch to the password tab, and you will see a password key ring (my key ring is login ), right-click and change the password. Then, do not enter anything and submit it directly. In this way, the password of the default key ring is removed.
2. This method is displayed on the Internet. You do not need to delete the key ring password, but the key ring password should be saved in plain text. I have never tried it.
The procedure is as follows:
1. Open the terminal and enter sudo apt-get install libpam-keyring.
2. Create a new script with the following content:
#! /Bin/sh
Exec echo-n "MyKeyringPassword" |/usr/lib/libpam-keyring/pam-keyring-tool-u-s
Here, MyKeyringPassword is the password to be unlocked by your key ring.
3. Add the executable permission to the file.
4. In system-preferences-session, add the script to start automatically at startup.
However, this is not safe after all. You can only choose between convenience and security.