[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there any way to append a EasyPG encrypted file?
From: |
Wei-Wei Guo |
Subject: |
Re: Is there any way to append a EasyPG encrypted file? |
Date: |
Thu, 01 Jul 2010 09:12:39 +0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 |
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