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
Sort: Top
[–] RoundWheel 0 points 4 points 4 points (+4|-0) ago
The built in encryption for zip is not secure. Listen to @goship.
[–] yhsvghnrOruGnpverzN 1 point 0 points 1 point (+1|-1) ago (edited ago)
I know, AES-256 sucks, right?
[–] RoundWheel ago
Read what I said.
[–] 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.