close Warning: Can't synchronize with repository "(default)" (/usr/svn/silverfile does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 9 and Version 10 of administration/system-admin


Ignore:
Timestamp:
Oct 7, 2009, 9:26:40 PM (13 years ago)
Author:
hank
Comment:

gpg for vim how-to

Legend:

Unmodified
Added
Removed
Modified
  • administration/system-admin

    v9 v10  
    1717This generates, '''id_dsa''' and '''id_dsa.pub'''. 
    1818Client(id_dsa) ---ssh--> Host(id_dsa.pub in .ssh/authorized_keys)
     19
     20== Using GPG ==
     21We are using symmetric gpg which just requires the use of a
     22passphrase to encrypt/decrypt files.
     23
     24To initially create the gpg file the command is:
     25{{{
     26gpg -c decryptedfile
     27}}}
     28
     29To render decrypted file to STDOUT (note the additional dash):
     30{{{
     31gpg -o - file.gpg
     32}}}
     33
     34'''Using Vim to edit files in place'''
     35[/browser/trunk/third-party/vim_gnu_plugin/gnupg.vim View plugin]
     36Note- This vim script is edited slightly to make symmetric encryption
     37the default.  This is done by setting g:GPGPreferSymmetric='''1'''
     38in the script.
    1939
    2040=== Disk Usage Tools ===