4 ms·
Yup, I got called a jackass (sic) when I was asking why the most commonly recommended Rust crypto library doesn't support some of the older decryption algorithm
by izacus 6y ago
Yup, I got called a jackass (sic) when I was asking why the most commonly recommended Rust crypto library doesn't support some of the older decryption algorithms which I needed to process some encrypted files.
I got so many smug "you don't know what you're doing, it's insecure!" answers from people who clearly had no basic understand how security works.
And I only asked for help, I didn't demand or try to accuse anyone of anything. And that's not the only case where Rust community was just permeated with certain arrogance which I've never really felt in any career as C++/Python/Java developer.
- UK-Al05 6y agoI think I remember this. The problem was you we're insisting to add in an insecure encryption algorithm into the crypto library. They didn't want to because they didn't want to add an insecure algorithm to the library to encourage its use. The best bet is to use another library whose goals are different. This was explained a few times. Tbh I'm on the side of the library developers here. If you want to be the official encryption library, you probably want to avoid broken encryption algorithms. Leave the backwords compability encryption to other libaries, designed for the task.
- izacus 6y agoI'm not sure how you could remember this since I wasn't insisting on anything like that and I wasn't even opening a ticket on any official bug tracker - I think you mistook me for someone else. I took extra care not to demand anything and the conversation was mostly on IRC and some specialized subreddits. Also not being able to decrypt data older than a few years with safe Rust libraries is a bit of a strange way to do security - if anything, Rust is perfect for parsing files in secure manner. My concrete use case was processing PDFs which tend to be signed with older certificate algorithms and the idea that being able to verify signatures on those files encourages insecurity is just strange. The only solution offered was to use OpenSSL via C bindings which (besides not compiling at all on Windows) is a security nightmare. In any case, I accept that library (and core language) developers can decide that Rust won't be a language that's usable for verifying and processing data formats that are older than couple of years. What I find it harder to accept is being personally insulted for having a use case that doesn't fit into community's perfect world. That didn't happen in any other communities in my career.
- mD5pPxMcS6fVWKE 6y agoCoulnd't all sides be satisfied if only signature verification code was added, but not signing?
- kbenson 6y ago> Also not being able to decrypt data older than a few years with safe Rust libraries is a bit of a strange way to do security Are you saying there's no Rust libraries/modules that can decrypt these formats, no pure rust libraries/modules without unsafe, or no support in core? If I'm not mistaken, core is no protection from usage either, core makes use of unsafe in ways they deem safe but unable to be ensured by the language.
- skohan 6y agoI think it's an unfortunate side effect of Rust's reputation for being difficult to understand: this creates an appeal for a certain erudite elitist fandom. The same type of attitude was quite prevalent among fans of RX programming in the mobile space a few years ago and led to fantastical claims that it was going to usher in a new era of programming. But it's just one unfortunate facet of the Rust community which can also be extremely positive and helpful, especially for beginners.
- ghostwriter 6y agoThis is fun to observe sometimes, especially because Rust is not that difficult when compared to other research languages that move PL design forward. Truly, arrogance in a community is a good indicator of a completed research making its way into broad masses, who want to feel good by achieving something, while not being aware that the mount they are climbing up has already become a tourist attraction and what is left of a challenge is to follow the guidelines.
- pjmlp 6y agoYou see that when some mention something that was already safe while using Ada.