任务单 #9937

epa-file auto-saves in plain text
开放日期: 2007-02-11 22:39 最后更新: 2007-04-06 17:07

报告人:
属主:
类型:
状态:
关闭
组件:
(无)
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
1

Details

It seems like a security risk that epa-file writes the
contents of epa-file buffers to the disk in plain text.

Perhaps epa-file should disable auto-save in its buffers?

任务单历史 (3/7 Histories)

2007-03-29 17:19 Updated by: ueno
  • Ticket Close date is changed to 2007-03-29 17:19
  • 处理结果 Update from to Fixed
  • 状态 Update from 开启 to 关闭
评论
Logged In: YES
user_id=230

Thanks for your suggestion. I fixed this in the version
0.0.11. released today.
2007-04-03 20:33 Updated by: dooglus
  • 状态 Update from 关闭 to 开启
评论
Logged In: YES
user_id=27068

This doesn't work for me, using the CVS trunk version of Emacs.

auto save is turned off here:

* auto-save-mode(0)
(if epa-file-inhibit-auto-save (auto-save-mode 0))
epa-file-insert-file-contents
epa-file-handler
insert-file-contents
find-file-noselect-1
find-file-noselect
find-file

and then turned on again straight away here:

* auto-save-mode(t)
after-find-file
find-file-noselect-1
find-file-noselect
find-file
2007-04-04 10:13 Updated by: ueno
  • 属主 Update from (无) to ueno
2007-04-04 17:39 Updated by: ueno
评论
Logged In: YES
user_id=230

Oops, sorry for lack of testing.
The attached patch will fix the problem.
2007-04-04 17:39 Updated by: ueno
  • File 1811: epa-file.el.diff is attached
2007-04-04 20:26 Updated by: dooglus
评论
Logged In: YES
user_id=27068

Yes, that works. Thanks.
2007-04-06 17:07 Updated by: ueno
  • Ticket Close date is changed to 2007-04-06 17:07
  • 状态 Update from 开启 to 关闭

Attachment File List

编辑

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登录名