6,663 karma · joined Feb 25, 2016 (10y ago) · 1,775 submissions
Previously AWS Cryptography (2019 - 2023).
Unless otherwise stated, my opinions are my own and do not reflect my employer.
https://scottarc.blog/about/
comment 6y ago · link · parent
What work do shareholders actually do within the confines of the company?
If you gave a poor unemployed person the investment capital that shareholders have, then from the company's perspective, how do you distinguish them from other shareholders?
That was the parent poster's point.
> Tech treats its workers better than practically any other industry, and there's never been an industry with fewer barriers to industry.
Instead of economic or physical barriers, we have hordes toxic personalities that try to gatekeep people. It's not all sunshine and roses.
comment 6y ago · link · parent
Especially random_compat (145 million installs) and sodium_compat (6.5 million installs + WordPress 5.2).
My revenue for all of this OSS work was precisely $0.00.
When was the last time any of us looked something up in Encyclopedia Brittanica instead of Wikipedia?
The carrot-and-stick incentive model doesn't work for fully self-actualized adults.
I posit that it only works when you use an oversimplified model of human behavior, rather than the messy truth that is humanity.
comment 6y ago · link · parent
comment 6y ago · link · parent
The rest of it appears to consist of "areas that theoretical cryptographers are refining in preparation for real world use". This is the stuff that will be deployed in the real world come 2030.
So, to answer your question: More than half of it is actually used today, and at least 80% of it will be used soon. If you're going to take a course in this, it's better to be ahead of the curve than behind it. (Otherwise, we'll all be suffering through textbook RSA ad nauseum.)
comment 6y ago · link · parent
https://courses.csail.mit.edu/6.857/2018/project/He-Xu-Xu-Wi...
https://www.wireguard.com/papers/wireguard-formal-verificati...
https://www.wireguard.com/papers/dowling-paterson-computatio...
https://www.wireguard.com/papers/lipp-computational-2018.pdf
https://www.wireguard.com/papers/kobeissi-bhargavan-noise-ex...
Additionally: https://lists.zx2c4.com/pipermail/wireguard/2019-December/00...
If you use Linux 5.6 when it comes out, you have WireGuard available.
The code that's still under "heavy" development? Mostly the clients for other platforms (i.e. Windows).
comment 6y ago · link · parent
There are a lot of standards organizations all over the world with various recommendations. https://www.keylength.com collates quite a few of them. Pick the one most closely relevant for your jurisdiction.
Most of them recommend 2048-bit RSA as their minimum for asymmetric security, and AES-128 / SHA-256 as their minimum for symmetric security. This is a [112, 128]-bit security lower bound.
Truncating a hash to 160 bits yields 80-bit security, which is insufficient. 128 bits (64-bit security) is out of the question.
comment 6y ago · link · parent
Length-extension attacks are relevant when you design a MAC by passing a secret and then a message to a hash function, where only the message is known.
Truncating the hash (which is what SHA-512/256 and SHA-384 do to SHA-512) removes the ability to grab an existing hash H(k || m) (where k is unknown and m might be known) and append junk because a truncated hash does not contain sufficient information to recover the full state of the hash function in order to append new blocks.
comment 6y ago · link · parent
> Neat attack. TL;DR: A "non-exportable" finite field Diffie-Hellman private key can be extracted because the key object isn't bound to specific group parameters. XSS the site, do some operations with deliberately weak group parameters, solve for key.
comment 6y ago · link · parent
Latacora says to use SHA-2. If you can get away with it, SHA-512/256 instead of SHA-256. But they're all SHA-2 family hash functions.
https://latacora.micro.blog/2018/04/03/cryptographic-right-a...
No need to bikeshed this. But if you must: SHA-512/256 > SHA-384 > SHA-512 = SHA-256
If you're wondering, "Why is SHA-384 better than SHA-512 and SHA-256?" the answer is the same reason why SHA-512/256 is the most preferred option: https://blog.skullsecurity.org/2012/everything-you-need-to-k...
Additionally, the Intel SHA extensions target SHA1 and SHA-256 (but not SHA-512), which makes SHA-256 faster than SHA-512 on newer processors.
Isn't crypto fun?
316.
The Curious Case of WebCrypto Diffie-Hellman on Firefox(blog.intothesymmetry.com ↗)
81 points · by CiPHPerCoder · 6y ago · 5 comments
comment 6y ago · link · parent
If communities die when bookstores die, sure, you can blame that on what killed the bookstore. But regardless of blame, whose responsibility is it to ensure communities continue? (This isn't the same thing as blame.)
My point isn't "bookstores are the wrong answer". My point is "bookstores aren't the only correct answer". Diversify.
comment 6y ago · link · parent
Can you really blame Amazon for destroying community centers because they put bookstores out of business?
Bookstores aren't the only viable community center, after all. Most cities and counties have a public library that's supposed to exist for the community's benefit. Additionally, in rural parts of the US, the only real community center you used to find was a church, not a library or a bookstore.
Personally speaking, my community centers exist on Signal, WhatsApp, IRC, Mastodon, Slack, Twitter, Telegram, and Facebook. (And I neglect half of those entirely.) I don't see any need to have a physical watering hole.
comment 6y ago · link · parent
Hundreds of thousands of people*
https://www.fastcompany.com/90444590/5-signs-your-new-years-...
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
You don't start at zero. You start at one (yourself).
If you're trying to start at zero, that means you yourself don't believe in your own community, and you're doomed to fail.
You also need at least one other person who shares your values and/or interests. A "true fan", so to speak. https://www.ted.com/talks/derek_sivers_how_to_start_a_moveme...