This forum has been archived. All content is frozen. Please use KDE Discuss instead.

I need to save the private password GPG in kmail

Tags: None
(comma "," separated)
mestrano
Registered Member
Posts
1
Karma
0
Hello

i am from Venezuela

I have a client email KMAIL, it is work correctly but, i always ask the private password when send or recive email, it need save this password, i am using GPG,
the kmail version is 1.13.6.

Image
User avatar
google01103
Manager
Posts
6668
Karma
25
moved to Kontact & Pim


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS
Have you enabled kwallet in systemsettings?

EDIT: Oops, gpg, 'cos Einar is right - see below :<


Debian testing
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
The GPG password is not asked by KMail, but by gpg itself, through the "pinentry" program. It is not stored anywhere, as far as I remember. What you could do is to adjust gpg-agent to have a longer period for caching.

Edit (or create) the file ~/.gnupg/gpg-agent.conf, and add

Code: Select all
default-cache-ttl 86400
max-cache-ttl 86400


This will cache the password for 24 hours. Please bear in mind, however, that this has security implications (anyone accessing your computer will be able to sign mails as you for 24 hours).


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar