* Is there any way to append a EasyPG encrypted file?
@ 2010-06-28 15:23 Wei-Wei Guo
2010-06-30 16:29 ` Alex Bennee
0 siblings, 1 reply; 3+ messages in thread
From: Wei-Wei Guo @ 2010-06-28 15:23 UTC (permalink / raw)
To: Emacs
Dear all,
I use GnuPG key to encrypt my 'remember' file, but EasyPG does not support appending file.
Is there any way to append an encrypted file?
Best wishes,
Wei-Wei
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is there any way to append a EasyPG encrypted file?
2010-06-28 15:23 Is there any way to append a EasyPG encrypted file? Wei-Wei Guo
@ 2010-06-30 16:29 ` Alex Bennee
2010-07-01 1:12 ` Wei-Wei Guo
0 siblings, 1 reply; 3+ messages in thread
From: Alex Bennee @ 2010-06-30 16:29 UTC (permalink / raw)
To: Wei-Wei Guo; +Cc: Emacs
On 28 June 2010 16:23, Wei-Wei Guo <wwguocn@gmail.com> wrote:
> Dear all,
>
> I use GnuPG key to encrypt my 'remember' file, but EasyPG does not support
> appending file.
> Is there any way to append an encrypted file?
Not without decoding and re-encoding the file.
I suppose you could come up with some sort of scheme that would
result in a text file with a series of ASCII armored GPG blocks that can be
decoded and concatenated together when read.
>
>
> Best wishes,
> Wei-Wei
>
>
--
Alex, homepage: http://www.bennee.com/~alex/
http://www.half-llama.co.uk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is there any way to append a EasyPG encrypted file?
2010-06-30 16:29 ` Alex Bennee
@ 2010-07-01 1:12 ` Wei-Wei Guo
0 siblings, 0 replies; 3+ messages in thread
From: Wei-Wei Guo @ 2010-07-01 1:12 UTC (permalink / raw)
To: Alex Bennee; +Cc: Emacs
Hi Alex,
>>
>> I use GnuPG key to encrypt my 'remember' file, but EasyPG does not support
>> appending file.
>> Is there any way to append an encrypted file?
>
> Not without decoding and re-encoding the file.
>
I find the following lines in the epa-file.el:
(defun epa-file-write-region (start end file &optional append visit lockname
mustbenew)
(if append
(error "Can't append to the file"))
...
It seems easypg disable the ability intentionally. I don't know how to solve...
> I suppose you could come up with some sort of scheme that would
> result in a text file with a series of ASCII armored GPG blocks that can be
> decoded and concatenated together when read.
>
I don't understand what to do. Could you say something more?
Best wishes,
Wei-Wei
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-07-01 1:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-28 15:23 Is there any way to append a EasyPG encrypted file? Wei-Wei Guo
2010-06-30 16:29 ` Alex Bennee
2010-07-01 1:12 ` Wei-Wei Guo
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.