The best way to encrypt a file and keep it convenient

I use dozens of different web services and I save the password file on a remote Linux machine. The file contains my usernames, passwords and answers to security questions.

This server is often offline, and I'm looking for a way to save a password file on my own computer or on a service like DropBox . Obviously, I want to keep the file encrypted, but convenient - I want to be able to print its contents with a single shell command (or cygwin), possibly using a passphrase.

Any good ideas how to do this?

+3
source share
3 answers

GPG .

gpg --symmetric filename

filename.gpg. STDOUT .gpg:

gpg --symmetric -o - filename

:

gpg --decrypt filename.gpg
+6

PasswordSafe . GUI Windows/Mac/Unix/Java. cliPSafe .

, , cliPSafe.

+2

, GPG . gpg , , , ( ) (, , ).

Vim has a very good plugin called gnupg for easy processing of encrypted files using GPG. Using this plugin, unencrypted data will never be written to disk, and you can simply treat it like any other file (except for the question about the phrase question).

+1
source

Source: https://habr.com/ru/post/1711825/


All Articles