[ILUG] Hard Disk Protection in Live CD Boot Ups
Kerry Linux Support
support at kerry-linux.ie
Thu Jan 15 18:30:09 GMT 2009
GPG and similar encryption software can be integrated into vim very
easily. You can simply sign a text in the vim editor by hitting
<CRTL>G and after giving your passphrase, the signed text is in
the editor. Voila.
For this magic to work one has to prepare a file ".exrc" with the
following line:
map :,$! /bin/sh -c "/usr/bin/expand \| sed 's/ *$//g' \| gpg --clearsign -u \"Kerry Linux Support\"" 2> /dev/tty
Replace the Key Id by your name, please.
The tricky part is to enter ^G as one character into this file, you have
to enter ^v first and then ^G (still pressing <crtl>). For all who
struggle with this part I have included this line as an attachment.
Have fun, and use gpg.
RON
_______________________________________________________
KERRY LINUX Linux Solutions for Professionals
Valentia Island email: support at kerry-linux.ie
Co. Kerry web: https://kerry-linux.ie
Ireland phone: +353 87 6182121
_______________________________________________________
>> As a matter of interest, what do you recommend for encryption?
>
> GPG:
>
> http://gnupg.org/gph/en/manual.html
>
> Can it be integrated into vi/vim reasonably easily?
> It would be rather tedious to unencrypt, edit and encrypt again.
>
> --
> Timothy Murphy
> e-mail: gayleard /at/ eircom.net
> tel: +353-86-2336090, +353-1-2842366
> s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
>
> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug
> Who we are : http://www.linux.ie/
> Where we are : http://www.linux.ie/map/
>
>
More information about the ILUG
mailing list