Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th June 2012, 05:40 PM
Hilbert Offline
Registered User
 
Join Date: Jul 2006
Posts: 48
linuxfirefox
Emacs not using cached passphrase for symmetric encryption in Fedora 17

Emacs in Fedora 17 has regressed, with a reappearance of this old bug
http://forums.fedoraforum.org/showthread.php?t=246102 in the handling of encrypyed files.

The problem is that emacs ignores the "cache passphrase" option
Code:
(setq epa-file-cache-passphrase-for-symmetric-encryption t)
in the .emacs setup file (see http://www.gnu.org/software/emacs/ma..._mono/epa.html). So when you save a symmetrically encrypted file, instead of using the cached passphrase, emacs throws up a dialog box asking you to type it in again (twice).

Last time this was caused by having gnupg2 installed without gnupg. It was solved by allowing gnupg to be installed along with gnupg2. But now I have both installed, and the bug has reappeared. Perhaps emacs is using gnupg2 "by mistake"? But I can't uninstall gnupg2 because too many things depend on it.
Reply With Quote
  #2  
Old 9th October 2012, 03:40 PM
Hilbert Offline
Registered User
 
Join Date: Jul 2006
Posts: 48
linuxfirefox
Re: Emacs not using cached passphrase for symmetric encryption in Fedora 17

According to http://www.emacswiki.org/emacs-en/EasyPG this problem can be fixed by telling emacs not to use gpg-agent to get the passphrase. Add this line to .emacs:

Code:
(setenv "GPG_AGENT_INFO" nil)
This worked for me.
Reply With Quote
Reply

Tags
cached, emacs, encryption, fedora, passphrase, symmetric

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
caching passphrase for symmetric encryption in Fedora 13 (emacs 23.1) Hilbert Using Fedora 1 22nd July 2010 05:13 AM
Problem with GPG encryption passphrase surdy Security and Privacy 0 31st March 2010 09:55 AM
Disk Encryption with Remote Passphrase bellsal Security and Privacy 4 3rd August 2009 09:58 PM
How To Remove Disk Encryption From a partition ( LUKS passphrase issue ) Tuxic Security and Privacy 3 9th November 2008 07:29 PM


Current GMT-time: 19:28 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat