Bitcoin Forum
June 17, 2024, 08:58:30 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: A way to force GPG to forget your password  (Read 99 times)
NotATether (OP)
Legendary
*
Offline Offline

Activity: 1638
Merit: 6898


bitcoincleanup.com / bitmixlist.org


View Profile WWW
February 07, 2020, 09:11:17 AM
 #1

I've been making GPG (v2.0.22) keys with gnome-keyring-daemon and the most frustrating thing I've had with it to date is that it remembers the password of keys you make. I didn't want it to remember passwords at all. Lazyweb said that killing gpg-agent accomplishes this but I do not think that killing the gpg-agent every time you want to do this leaves the system stable, what if you kill something else by mistake? I had success using this command to make GPG forget about any passwords you entered:

Code:
echo RELOADAGENT | gpg-connect-agent

This has to be done manually though. I have seen suggestions to add the following lines to ~/.gnupg/gpg-agent.conf to forget them automatically (after 1 second):

Quote
default-cache-ttl 1
max-cache-ttl 1

But those instructions were for GPG 2.1+ and I'm not sure if it works for older versions.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!