* ASCII encryption
@ 2012-04-15 15:08 Richard H Lee
2012-04-16 11:51 ` Bernardo
0 siblings, 1 reply; 7+ messages in thread
From: Richard H Lee @ 2012-04-15 15:08 UTC (permalink / raw
To: help-gnu-emacs
Hi,
I'm using the EasyPG encryption to encrypt some of my files.
It currently encrypts them in binary. Is there any way to encrypt them
using ascii (i think the option is armour with gpg)?
Richard
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ASCII encryption
2012-04-15 15:08 ASCII encryption Richard H Lee
@ 2012-04-16 11:51 ` Bernardo
2012-04-16 12:25 ` Richard H Lee
0 siblings, 1 reply; 7+ messages in thread
From: Bernardo @ 2012-04-16 11:51 UTC (permalink / raw
To: help-gnu-emacs
It was a dark and stormy night when Richard H Lee said (16/04/12 01:08):
> Hi,
>
> I'm using the EasyPG encryption to encrypt some of my files.
>
> It currently encrypts them in binary. Is there any way to encrypt them
> using ascii (i think the option is armour with gpg)?
>
>
> Richard
>
>
there's a related epa-armor variable; (haven't tried it myself)
,----
| epa-armor is a variable defined in `epa.el'.
| Its value is nil
|
| Documentation:
| *If non-nil, epa commands create ASCII armored output.
|
| You should bind this variable with `let', but do not set it globally.
`----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ASCII encryption
2012-04-16 11:51 ` Bernardo
@ 2012-04-16 12:25 ` Richard H Lee
2012-04-16 14:18 ` Jambunathan K
0 siblings, 1 reply; 7+ messages in thread
From: Richard H Lee @ 2012-04-16 12:25 UTC (permalink / raw
To: help-gnu-emacs
On 16/04/12 12:51, Bernardo wrote:
> there's a related epa-armor variable; (haven't tried it myself)
>
> ,----
> | epa-armor is a variable defined in `epa.el'.
> | Its value is nil
> |
> | Documentation:
> | *If non-nil, epa commands create ASCII armored output.
> |
> | You should bind this variable with `let', but do not set it globally.
> `----
Yes, thanks, I tried this out yesterday. It works.
However the EasyPG assistant integration with armor ascii files is not
as nice with gpg binary files.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ASCII encryption
2012-04-16 12:25 ` Richard H Lee
@ 2012-04-16 14:18 ` Jambunathan K
2012-04-16 16:31 ` Richard H Lee
0 siblings, 1 reply; 7+ messages in thread
From: Jambunathan K @ 2012-04-16 14:18 UTC (permalink / raw
To: Richard H Lee; +Cc: help-gnu-emacs, emacs-devel
Richard H Lee <ricardohenrylee@gmail.com> writes:
> On 16/04/12 12:51, Bernardo wrote:
>> there's a related epa-armor variable; (haven't tried it myself)
>>
>> ,----
>> | epa-armor is a variable defined in `epa.el'.
>> | Its value is nil
>> |
>> | Documentation:
>> | *If non-nil, epa commands create ASCII armored output.
>> |
>> | You should bind this variable with `let', but do not set it globally.
>> `----
>
> Yes, thanks, I tried this out yesterday. It works.
>
> However the EasyPG assistant integration with armor ascii files is not
> as nice with gpg binary files.
If `epa-armor' is not supported it should be removed or be made in to a
defconst. Or it could be crptically renamed so that people don't
discover it accidentally. The info manual can be augmented to mention
why the author thinks using it globally is not a good idea.
epa-armor is like the biblical forbidden fruit with hints of both
pleasure and pain. The ultimate end it achieves is to leave mere
mortals in a state of perpetual confusion on private matters.
--
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ASCII encryption
2012-04-16 14:18 ` Jambunathan K
@ 2012-04-16 16:31 ` Richard H Lee
2012-04-16 16:49 ` Jambunathan K
0 siblings, 1 reply; 7+ messages in thread
From: Richard H Lee @ 2012-04-16 16:31 UTC (permalink / raw
To: Jambunathan K; +Cc: emacs-devel
On 16/04/12 15:18, Jambunathan K wrote:
> If `epa-armor' is not supported it should be removed or be made in to a
> defconst. Or it could be crptically renamed so that people don't
> discover it accidentally. The info manual can be augmented to mention
> why the author thinks using it globally is not a good idea.
>
> epa-armor is like the biblical forbidden fruit with hints of both
> pleasure and pain. The ultimate end it achieves is to leave mere
> mortals in a state of perpetual confusion on private matters.
So I that (setq epa-armor t) in my emacs file is not a good idea?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ASCII encryption
2012-04-16 16:31 ` Richard H Lee
@ 2012-04-16 16:49 ` Jambunathan K
2012-04-17 1:17 ` Daiki Ueno
0 siblings, 1 reply; 7+ messages in thread
From: Jambunathan K @ 2012-04-16 16:49 UTC (permalink / raw
To: Richard H Lee; +Cc: emacs-devel
Richard H Lee <ricardohenrylee@gmail.com> writes:
> On 16/04/12 15:18, Jambunathan K wrote:
>> If `epa-armor' is not supported it should be removed or be made in to a
>> defconst. Or it could be crptically renamed so that people don't
>> discover it accidentally. The info manual can be augmented to mention
>> why the author thinks using it globally is not a good idea.
>>
>> epa-armor is like the biblical forbidden fruit with hints of both
>> pleasure and pain. The ultimate end it achieves is to leave mere
>> mortals in a state of perpetual confusion on private matters.
>
> So I that (setq epa-armor t) in my emacs file is not a good idea?
That's what the last line of the docstring says. It is confusing and
also scary.
,----[ C-h v epa-armor RET ]
| epa-armor is a variable defined in `epa.el'.
| Its value is nil
|
| Documentation:
| *If non-nil, epa commands create ASCII armored output.
|
| You should bind this variable with `let', but do not set it globally.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ASCII encryption
2012-04-16 16:49 ` Jambunathan K
@ 2012-04-17 1:17 ` Daiki Ueno
0 siblings, 0 replies; 7+ messages in thread
From: Daiki Ueno @ 2012-04-17 1:17 UTC (permalink / raw
To: Jambunathan K; +Cc: Richard H Lee, emacs-devel
Jambunathan K <kjambunathan@gmail.com> writes:
>>> epa-armor is like the biblical forbidden fruit with hints of both
>>> pleasure and pain. The ultimate end it achieves is to leave mere
>>> mortals in a state of perpetual confusion on private matters.
>>
>> So I that (setq epa-armor t) in my emacs file is not a good idea?
>
> That's what the last line of the docstring says. It is confusing and
> also scary.
> | You should bind this variable with `let', but do not set it globally.
I think it is normal as coding-system-for-write, etc. What's the problem?
epa-encrypt-file could surely be improved for ASCII armor though. One
idea is to query user with "Save File: " prompt and if the answer ends
with ".asc", encrypt in ASCII armor instead of binary.
Regards,
--
Daiki Ueno
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-04-17 1:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-15 15:08 ASCII encryption Richard H Lee
2012-04-16 11:51 ` Bernardo
2012-04-16 12:25 ` Richard H Lee
2012-04-16 14:18 ` Jambunathan K
2012-04-16 16:31 ` Richard H Lee
2012-04-16 16:49 ` Jambunathan K
2012-04-17 1:17 ` Daiki Ueno
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.