If you are vim user and also use gpg to encrypt stuff, you might appreciate that you can teach vim to transparently open gpg encrypted files with vim gnupg plugin. Just install vim-plugin-gnupg from Contrib repository:
# zypper install vim-plugin-gnupg
Also, you should add following two lines to your .bashrc to make the plugin work properly:
GPG_TTY=`tty`
export GPG_TTY
Then, if you tell vim to open gpg encrypted file, it will ask for passphrase, transparently decrypts it and after you make changes, it will encrypt the file again.
Both comments and pings are currently closed.
very nice one! Thanks!
Ah, nice feature!
I store all my passwords in single gpg encrypted files.
But what/where is the Contrib repository?
It’s not listed there:
http://en.opensuse.org/Additional_YaST_Package_Repositories
nor there:
http://download.opensuse.org/repositories/
Development version, built for Factory, but also 11.2 and 11.1 is here
http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/
Stable version for 11.2 is
http://download.opensuse.org/repositories/openSUSE:/11.2:/Contrib/
General info about Contrib repository:
http://en.opensuse.org/Contrib
HTH, Petr
Hmm, I do that since years with a couple of lines in .vimrc. Why is there a plugin needed?
For people who can’t/don’t want to implement it themseves? The plugin is nothing else than tested few lines of vimscript code after all.