all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* EMACS 23.1.1 and crypt++
@ 2009-09-23 12:29 Felix E. Klee
  2009-09-24  9:49 ` Tim X
  0 siblings, 1 reply; 4+ messages in thread
From: Felix E. Klee @ 2009-09-23 12:29 UTC (permalink / raw
  To: help-gnu-emacs

Yesterday, I upgraded to EMACS 23.1.1/WinXP, from some version of
EMACS 22. Unfortunately, now crypt++.el does not behave correctly
anymore:

When I open a file with extension ".gpg", as configured, it correctly
asks for a password and presents a buffer with the decrypted contents.
However, when I try to save the file, the it firsts asks whether it
should be stored encrypted, and then for the password. This behavior
is unwanted. I want crypt++.el to always save the file and encrypt it
with the password I specified earlier.

How do I get back the old behavior?

- Felix

PS: Yes, I already tried XEmacs' "crypt.el": same problem.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: EMACS 23.1.1 and crypt++
  2009-09-23 12:29 EMACS 23.1.1 and crypt++ Felix E. Klee
@ 2009-09-24  9:49 ` Tim X
  2009-09-24 10:44   ` Felix E. Klee
  0 siblings, 1 reply; 4+ messages in thread
From: Tim X @ 2009-09-24  9:49 UTC (permalink / raw
  To: help-gnu-emacs

"Felix E. Klee" <felix.klee@inka.de> writes:

> Yesterday, I upgraded to EMACS 23.1.1/WinXP, from some version of
> EMACS 22. Unfortunately, now crypt++.el does not behave correctly
> anymore:
>
> When I open a file with extension ".gpg", as configured, it correctly
> asks for a password and presents a buffer with the decrypted contents.
> However, when I try to save the file, the it firsts asks whether it
> should be stored encrypted, and then for the password. This behavior
> is unwanted. I want crypt++.el to always save the file and encrypt it
> with the password I specified earlier.
>
> How do I get back the old behavior?
>
> - Felix
>
> PS: Yes, I already tried XEmacs' "crypt.el": same problem.

Emacs 23 comes with built in support for file encryption through the
incorporation of easyPGP as part of standard emacs. 

At a guess, I would say that it is easyPGP that is doing the encryption
or possibly you are getting unwanted interaction between crypt++ and
easyPGP. 

My suggestion would be to remove crypt++, then see if you can configure
the built-in encryption/decryption support to show the behavior you
want. If that doesn't work, then maybe investigate how to disable the
built-in package and load crypt++. I'm not sure how actively crypt++ is
maintained while the built-in functionality is almost certainly going to
be, so it would make sense to migrate to that provided it will function
in a way that meets your needs and doesn't frustrate too much due to how
it is different. 

Tim

-- 
tcross (at) rapttech dot com dot au


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: EMACS 23.1.1 and crypt++
  2009-09-24  9:49 ` Tim X
@ 2009-09-24 10:44   ` Felix E. Klee
  2009-09-25 20:10     ` Ted Zlatanov
  0 siblings, 1 reply; 4+ messages in thread
From: Felix E. Klee @ 2009-09-24 10:44 UTC (permalink / raw
  To: help-gnu-emacs

On Sep 24, 11:49 am, Tim X <t...@nospam.dev.null> wrote:
> Emacs 23 comes with built in support for file encryption through the
> incorporation of easyPGP as part of standard emacs.

Thanks, Tim! With the following customization and crypt++.el/crypt.el
disabled, I have the old behavior back:

 '(epa-file-cache-passphrase-for-symmetric-encryption t)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: EMACS 23.1.1 and crypt++
  2009-09-24 10:44   ` Felix E. Klee
@ 2009-09-25 20:10     ` Ted Zlatanov
  0 siblings, 0 replies; 4+ messages in thread
From: Ted Zlatanov @ 2009-09-25 20:10 UTC (permalink / raw
  To: help-gnu-emacs

On Thu, 24 Sep 2009 03:44:19 -0700 (PDT) "Felix E. Klee" <felix.klee@inka.de> wrote: 

FEK> On Sep 24, 11:49 am, Tim X <t...@nospam.dev.null> wrote:
>> Emacs 23 comes with built in support for file encryption through the
>> incorporation of easyPGP as part of standard emacs.

FEK> Thanks, Tim! With the following customization and crypt++.el/crypt.el
FEK> disabled, I have the old behavior back:

FEK>  '(epa-file-cache-passphrase-for-symmetric-encryption t)

You should also consider:

1) auth-source.el can save the password so you never have to enter it,
even the first time.

2) setting up a private key for GPG may work best for you, since you can
then use it for other purposes and in other programs as well.

Ted


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-25 20:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-23 12:29 EMACS 23.1.1 and crypt++ Felix E. Klee
2009-09-24  9:49 ` Tim X
2009-09-24 10:44   ` Felix E. Klee
2009-09-25 20:10     ` Ted Zlatanov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.