Bug#600481: vim removes contents of encrypted files without warning if gnupg key has expired

H. S. hs.samix at gmail.com
Sun Oct 17 14:25:18 UTC 2010

Package: vim
Version: 2:7.2.445+hg~cb94c42c0e1a-1
Severity: critical
Justification: causes serious data loss

Trying to open a gnupg encrypted text file in vim when the GnuPG key is expired results in
deletion of the contents of the file. Vim gives no warning that the contents will be lost, at
 least I did not see any. This happened repeatedly until I renewd my gnupg key.

After the key renewal, editing of gnupg encrypted text files worked properly as before.

Good thing I have backups of my important files, else the loss of contents would have been a 
serious problem.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vim depends on:
ii  libacl1      2.2.49-4                    Access control list shared library
ii  libc6        2.11.2-6                    Embedded GNU C Library: Shared lib
ii  libgpm2      1.20.4-3.3                  General Purpose Mouse - shared lib
ii  libncurses5  5.7+20100313-4              shared libraries for terminal hand
ii  libselinux1  2.0.96-1                    SELinux runtime shared libraries
ii  vim-common   2:7.2.445+hg~cb94c42c0e1a-1 Vi IMproved - Common files
ii  vim-runtime  2:7.2.445+hg~cb94c42c0e1a-1 Vi IMproved - Runtime files

vim recommends no packages.

Versions of packages vim suggests:
pn  ctags                         <none>     (no description available)
pn  vim-doc                       <none>     (no description available)
ii  vim-scripts                   20091011   plugins for vim, adding bells and 

-- no debconf information

More information about the pkg-vim-maintainers mailing list