4 ms·
The context for this is this Go project proposal: https://github.com/golang/go/issues/30141 https://github.com/golang/go/issues/30141 Filippo proposes to depr
by tptacek 8y ago
The context for this is this Go project proposal:
https://github.com/golang/go/issues/30141 https://github.com/golang/go/issues/30141
Filippo proposes to deprecate (but not remove) Blowfish, archaic curves, CAST, MD4, RIPEMD160, TEA, Twofish, XTS, and OpenPGP from the Golang x/ libraries (which are "officially supported" but not part of the standard library.
It's really heartening to see a project get serious about shedding legacy crypto.
- drenvuk 8y agoAll of you are using pgp wrong, emails are a crap way to use it. It's not your fault, it was meant to be used that way. There's a better way to use it though.
- tedunangst 8y agoYou're holding it wrong.
- drenvuk 8y agoIf holding the iphone 4 correctly could cure cancer then that metaphor would be correct. I'll take the current downvotes and back it up later when I release my project.
- michaelmrose 8y agoI want a peer to peer communication not beholden to a particular provider where I can optionally host myself where I can communicate to most people in the US. It would be optimal if I could communicate with people privately but being able to communicate with them at all is the primary point. What should I use instead of email.
- drenvuk 8y agoThere is literally no good answer on the market yet.
- deleted 8y ago[deleted]
- Quekid5 8y agoIs OpenPGP considered 'legacy'? If so, why? I was under the impression that it's mostly that it's really hart to reliably support e.g. calling 'gnupg' (cmdline), gpgme (library), etc.? ISTR there was a company that's re-implementing the OpenPGP standard from scratch in a library-oriented-fashion, but for the life of me I can't remember their name... I don't disagree with the 'drop legacy' stance, btw, I'm just interested in what exactly the issue is.
- tptacek 8y agoYes, as the article says, it's a 1990s-style ultra-configurable do-everything design which, in practice, almost always gets deployed in a lowest-common-denominator set of constructions that are themselves mired in 1990s crypto. No modern cryptographic engineer looking at any problem PGP solves would design a system that looked like PGP. PGP used to make some sense as a simple at-rest storage format, but in the era of Nacl and libsodium, even that use case is a poor fit.
- Quekid5 8y agoFair enough, I suppose. I'm not sure it's just me being behind the times, but it seems that quite a few of the ideas behind PGP (specifically: asymmetric encryption) aren't really being exploited seriously. Instead there's lots of halfhearted "oh, let's just encrypt thing X with a password stored in thing Y" where Y is presumably more 'secure'. This is a bit of a tangent, but I find it interesting and depressing that industry has learned very little, if anything.
- tptacek 8y agoThis article explicitly points out modern alternatives to PGP's clunky, 1990s implementation of asymmetric encryption. But, tangentially, it's a bad idea to use asymmetric encryption when you don't absolutely need it. Modern symmetric AEAD ciphers, which are implicated in pretty much all serious public-key designs anyways, are safer to use that asymmetric cryptography. Seeing a public key in a design that doesn't demand public keys is a cryptographic engineering code smell.
- heyjudy 8y agoShedding? Why? The point of supporting "legacy" crypto is batteries-included and for many instances where it's vital for backwards interoperability. Makes me glad I left Go because the populist noobs have definitely taken over and ruined it with their toxic, myopic, fashionablism ideas.
- shittyadmin 8y agoI'm not so sure this is a great idea, quite commonly when reverse engineering something I need a good reliable implementation of a dated cipher. MD4 is still used in NTLM, RIPEMD160 is still used in Bitcoin and other cryptocurrencies, etc. Systems exist outside of the Go ecosystem and not all systems are new. Compatibility is important. It's great to flag these as not recommend for new designs, but it's quite another to remove them entirely and prevent people from easily implementing compatible software. Seems more like something that should be in the documentation or spit a compiler warning if that isn't deemed loud enough. MD5 is similarly broken but I'm assuming they don't want to remove it because it's still quite popular in some use cases - what exactly is their standard for that popularity?
- tedunangst 8y agoHow is it possible for so many people to read the words "not remove" as "remove entirely"?
- MrStonedOne 8y agodeprecate is assumed to be followed by removal, doing one will lead to the other 99% of the time.
- tptacek 8y agoThey should remove these things, but they won't.
- deleted 8y ago[deleted]