5 ms·
I did mention "openssl enc" as well. Is there some other common bundled utility I missed? Or it's not useful to compare what's at hand? Not sure I'm getting
by tyingq 8y ago
I did mention "openssl enc" as well. Is there some other common bundled utility I missed?
Or it's not useful to compare what's at hand?
Not sure I'm getting the message behind the jab.
- tptacek 8y ago"openssl enc" requires you to select from over 105 different cipher constructions, virtually all of which are terribly insecure.
- deleted 8y ago[deleted]
- tyingq 8y agoOkay, so "gpg -c" is better than other commonly installed command line tools for encrypting a file with password?
- tptacek 8y agoPGP, which is something you have to explicitly install, is a badly flawed way to encrypt files; it has a poor password KDF and you should look at how it authenticates data. Install something better.
- bmn__ 8y agoWell, what is better? You're the expert, why aren't you telling us outright?
- deleted 8y ago[deleted]
- xorcist 8y agoNo, it's not "badly flawed". Your files won't be compromised. GnuPG could do with better defaults, but that is true for every system good enough to have aged. A more modern KDF would also be welcome but it won't impact end user security. Just to put things in perspective.
- DanBC 8y ago> Your files won't be compromised. ...if you use it correctly. It appears that many people can't do this.
- xorcist 8y agoNo, that's the point. For long term encrypted storage, GnuPG is one of few options and perfectly good best practice. Telling users that it's broken without pointing to a clear alternative is counter productive as they are likely to end up much worse. A more modern KDF would be welcome, but it is also important to communicate the benefit to an end user: You get comparable security with a shorter password. There are other things to consider when choosing an encrypted file format.
- tyingq 8y agoInteresting that the comment above is off-and-on turning grey. It's pragmatic, informative, and highlights that bashing gpg for this specific use case, without naming something better...is arguably worse than saying nothing. Why downvote it instead of just naming a better choice? What's the big secret?
- tptacek 8y agoI downvoted it for making the unhinged argument that a poor KDF is a feature because it encourages users to select better passwords. I downvote lots of things. On Hacker News, we're explicitly encouraged to downvote disagreement, especially when verbalizing that disagreement will just clutter up the thread. Everyone gets downvoted. I've been downvoted all over this thread. You were just downvoted a minute ago. The one thing we're not supposed to do is complain about downvoting. That's in the guidelines for the site.
- tyingq 8y ago"PGP, which is something you have to explicitly install" Gnupg is a default package for Ubuntu[1], so not always. "Install something better" That's a bit mysterious. Various Google searches don't suggest anything obvious. [1] See http://releases.ubuntu.com/bionic/ubuntu-18.04.2-live-server-amd64.manifest http://releases.ubuntu.com/bionic/ubuntu-18.04.2-live-server... ctrl-f, search for gnupg
- e12e 8y ago... And the secure constructs like aes gcm/aex are unavailable on the command line - only usable as library functions.