Results 1 to 8 of 8

Thread: GPG always caches passphrase

  1. #1
    Join Date
    Jul 2006
    Beans
    Hidden!

    Question GPG always caches passphrase

    I am using 8.04.

    I have succesfully imported my GPG keys, but when I decrypy a file GPG always caches the passphrase even though I have st the preferences to "never remember passphrases".

    How can I prevent GPG from caching the passphrase?

  2. #2
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,726
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: GPG always caches passphrase

    Can you give more details on this and where you modified your preferences? I am unfamiliar with the option you are talking about.

  3. #3
    Join Date
    Jul 2006
    Beans
    Hidden!

    Re: GPG always caches passphrase

    Kevdog, thanks for the interest.

    I have always used Kgpg in another distro (mandriva) so when I came to Ubuntu I imported my public and private keys into Seahorse. This works fine and I can decrypt all the stuff I had previously encrypted in Mandriva and also encrypt and decrypt new stuff.

    However, when I decrypt something Seahorse caches my passphrase in memory and will subsequently decrypt anything without me entering the passphrase, I would prefer not to have my passphrase available like this as I see it as a security risk.

    Under Seahorse > Edit > Preferences > Passwords and Encryption keys there is an option - Never remember passphrase, I have this selected but it appearsc not to work. I would like to find a way to disable remembering passphrase.

  4. #4
    Join Date
    Feb 2006
    Beans
    457

    Re: GPG always caches passphrase

    System > Preferences > Encryption and Keyrings > PGP PassPhrase may be another way to achieve the result you are seeking.

  5. #5
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,726
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: GPG always caches passphrase

    That sounds like a option specific to seahorse. I don't use seahorse but rather gpg on command line or through the firegpg interface.

  6. #6
    Join Date
    Jul 2006
    Beans
    Hidden!

    Re: GPG always caches passphrase

    Tubbygweilo

    I'm afraid that didn't work either

    Kevdog

    Bavk to the command line as you suggested.


    Thanks to both of you

  7. #7
    Join Date
    Sep 2008
    Beans
    2

    Re: GPG always caches passphrase

    I'm using seahorse, and I've got the same problem. I've gone to the system > preferences > encryption and keyrings settings area. I have always used the "never remember passphrases option, but once I enter the passphrase, it is remembered for as long as I am booted up. I'm about to try the setting which says, "remember passphrases for [x] minutes" with x=1 minute. Hopefully that will at least limit the passphrase being cached. This is a real bug that needs a solution.

  8. #8
    Join Date
    Mar 2009
    Beans
    1

    Re: GPG always caches passphrase

    Go to System -> Preferences -> Encryption and Keyrings and check the option at the bottom that says "Show icon in status area . . .". That way when you enter the password an icon shows up that you can right-click and clear the cache with.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •