2 ms·
Worse yet, the OS is compromised. This is why I hand roll all my encryption libraries. /s
by smokeyj 11y ago
Worse yet, the OS is compromised. This is why I hand roll all my encryption libraries. /s
- cyphar 11y agoRiiiight. Because cryptography is identical to an 12-line string padding function.
- fastball 11y agoI think that was smokeyj's point... the left-pad module is not going to have a "backdoor". nv-vn was creating a bit of a straw man, as no example or particular scenario in this article involved crypto.
- cyphar 11y agoNo, I disagree with smokeyj drawing a false parallel to encryption to try to justify why you should use an external dependency for 12 lines of code -- because "you should never roll your own crypto" is not applicable here.
- smokeyj 11y agoI just used crypto as a random example. I could have said "this is why I write my own input sanitation library" or "HTTP" library. My point is OSS is a collaborative effort by often times anonymous contributors. Therefore there will always be a risk of bugs or back doors - regardless of the distribution mechanism. In my opinion any criticism against micro packages is equally valid against large packages. There's no guarantee that a pull request would receive any more scrutiny than a external dependency. I mean look at heart bleed. Surely this doesn't mean that OSS is broken, but rather stricter security protocols should be in place. My 2 cents.