Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

GPG-encrypted free-form file (though it's fairly structured), edited via vim and a well-known "auto-encrypt/decrypt GPG files" configuration: http://vim.wikia.com/wiki/Encryption

(Actually, from that page, vim now has built-in blowfish encryption, which I'll have to look at -- yet another argument in favor of sharing tips on the 'TarTubes: you may learn something even when you're sharing your own knowledge).



Erm: the blowfish encryption was in reference to the old '-x' vi encryption option (using a now pretty insecure Unix 'crypt' function).

A better "configure GPG edit mode" .vimrc is here: http://vim.wikia.com/wiki/Edit_gpg_encrypted_files

I believe that's based on the one first posted by Wouter Hanegraaff <wouter@blub.net>.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: