NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Encrypting textfiles from shell



On Thu, Dec 15, 2011 at 08:29:58PM +0100, herbert langhans wrote:     
> Hi List,
> actually a simple task - I would like to pass a textfile (with a
> password as option) through some unix-binary just to save it
> encrypted
> on the harddisk. Its intended for a password-list what I carry
> around on
> my laptop.                                                                    
>                                                      
>                                                                               
>                                                      
> Is there any simple tool to recommend? Should be no GUI like
> tkpasman.
> Thanks
> herb langhans                                                                 
>                                                      
The obvious solution is to use gpg in symmetric mode.  For textfiles I
use Vim though, you can save them encrypted with :X, and Vim will ask
you the password whenever you open it.  If you use persistent history,
it gets encrypted too.

-- 
______________________________________________
|                   |                        |
| Fernando Jiménez  | PGP keyID: 0xC27895AD  |
| Software Engineer | fjim at 0x00c0ffee.org |
| Hardcore Geek     | fjim at sdf-eu.org     |
| UNIX enthusiast   | http://0x00c0ffee.org  |
|                   |                        |
----------------------------------------------


Home | Main Index | Thread Index | Old Index