Ticket #9937

epa-file auto-saves in plain text
Eröffnet am: 2007-02-11 22:39 Letztes Update: 2007-04-06 17:07

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
(Keine)
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
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?

Ticket-Verlauf (3/7 Historien)

2007-03-29 17:19 Aktualisiert von: ueno
  • Ticket Close date is changed to 2007-03-29 17:19
  • Lösung Update from Keine to Gefixt
  • Status Update from Offen to Geschlossen
Kommentar
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 Aktualisiert von: dooglus
  • Status Update from Geschlossen to Offen
Kommentar
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 Aktualisiert von: ueno
  • Verantwortlicher Update from (Keine) to ueno
2007-04-04 17:39 Aktualisiert von: ueno
Kommentar
Logged In: YES
user_id=230

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

Yes, that works. Thanks.
2007-04-06 17:07 Aktualisiert von: ueno
  • Ticket Close date is changed to 2007-04-06 17:07
  • Status Update from Offen to Geschlossen

Dateianhangliste

Bearbeiten

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