Archived How To Use ZIP & 7zip To Encrypt/Decrypt and Password Protect Files/Folders in Linux (2daygeek.com)
submitted ago by fluxusp
Posted by: fluxusp
Posting time: 3.3 years ago on
Last edit time: never edited.
Archived on: 11/20/2017 10:00:00 AM
Views: 296
SCP: 14
14 upvotes, 0 downvotes (100% upvoted it)
Archived How To Use ZIP & 7zip To Encrypt/Decrypt and Password Protect Files/Folders in Linux (2daygeek.com)
submitted ago by fluxusp
view the rest of the comments →
[–] goship 0 points 4 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
[–] Kleyno 0 points 1 point 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.
[–] yhsvghnrOruGnpverzN 1 point 0 points 1 point (+1|-1) ago
AES-128 is the default symmetric algorithm for GnuPG 2.1.15 on Ubuntu 17.04.