Re: How to unlock keychain using pamusb
3 years later I have an answer for you
Of course, this depends on how security conscious you are, as it involves leaving the password for your keyring as plaintext in a script...
1. Get the python-gnomekeyring package
2. Edit the script below with the correct names and passwords for your keyring(s)
3. Save it in a logical place and chmod it to 700 (i.e. `chmod 700 <scriptname>`)
4. Add the script to your startup applications
gnomekeyring.unlock_sync('<keyring>','<password>') # Repeat for each keyring you need unlocked automatically
Shiny Lenovo B560, bought with 50% discount from the Linux Foundation, Ubuntu 11.04 Natty
If it can go wrong, it will... Multiple times.