You are viewing a single comment's thread.

view the rest of the comments →

0
4

[–] goship 0 points 4 points (+4|-0) ago 

Or just gpg -c the file

gpg -c foo.doc asks for passphrase, crates foo.doc.gpg foo.doc.gpg is encrypted now (symmetrical, e.g. AES or alike)

gpg foo.doc.gpg asks for passphrase if correct then creates back foo.doc

0
1

[–] Kleyno 0 points 1 point (+1|-0) ago 

@yhsvghnrOruGnpverzN has a point. You should force GPG to use AES-256 with --cipher-algo AES256, otherwise it will default to the weaker 128.

1
0

[–] yhsvghnrOruGnpverzN 1 point 0 points (+1|-1) ago 

AES-128 is the default symmetric algorithm for GnuPG 2.1.15 on Ubuntu 17.04.