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 8y ago · link · parent
No, it's an engineering argument that makes several testable claims about JWTs, sane session protocols, and how the two are mutually exclusive.
> JWTs are a standardized way to securely encode data into a self-contained token. Cookies are special headers added to HTTP requests to store state.
The difference is this:
- Sane sessions
- Random unique identifiers stored in a cookie
- Upon receiving the cookie, the web app looks in the
filesystem/database/etc. for the data associated with
that session
- Can be invalidated by deleting the server-side storage
- JWT-based sessions without server-side persistence
- All session state is encoded into the cookie
- All the trust is outsourced to the client to invalidate
sessions.
The other arguments follow from this difference.A strongly worded argument against a bad engineering argument is not FUD.
573.
Many CMS plugins are disabling TLS certificate validation and that's very bad(zdnet.com ↗)
2 points · by CiPHPerCoder · 8y ago · discuss
574.
Many CMS plugins are disabling TLS certificate validation(zdnet.com ↗)
1 points · by CiPHPerCoder · 8y ago · discuss
comment 8y ago · link · parent
I would argue that nothing in this sector is "production-ready".
For key exchange, SIKE looks promising (especially with the prospect of a non-interactive version).
For signatures, the SPHINCS variants are also promising. Gravity-SPHINCS is more intriguing to me than SPINCS+, but, they're both good forks of an already good design.
comment 8y ago · link · parent
I don't like where this is going.
> In stage 1, users will start getting into the quantum game, in which a sender creates quantum states, typically for photons.
Okay, it's going exactly where I thought I was going!
----
At the risk of falling victim to the Gell-Mann effect, I'm going to call bullshit on this article.
It's overwhelmingly likely that quantum cryptography will not be the next iteration of network security technology in the real world. Rather, the focus is on what's called post-quantum cryptography. Despite what you might think, these are not two points on a timeline.
Post-quantum cryptography refers to asymmetric cryptography features that are secure even in the presence of practical quantum computers. It's not a stage that exists after quantum cryptography. There's no "intermediate" stage in which we use quantum physics itself for encryption.
There will likely be a transition, wherein today's elliptic curve cryptosystems are used in addition to a post-quantum cryptosystem (e.g. ECDH + RLWE), until industry-wide confidence is gained in the security of the latter. I expect a lot of interesting attacks to be found in PQ algorithms during that time, and eventually we'll settle on constructions that are secure without pre-quantum cryptography.
Note: Symmetric cryptography is largely unaffected by quantum computers. You essentially halve the security levels (nitpick: which is an exponent, so you'll effectively be taking the square root of the possible values rather than just "halving it", which would just shave off one bit).
Quantum key distribution and other entangled photon madness? I doubt we'll see widespread deployment of this.
EDIT: I see this article isn't the author's first inaccurate foray into this topic. They might want to consult a cryptographer before publishing bunk science. https://www.scientificamerican.com/article/the-quantum-inter...
comment 8y ago · link · parent
When you throw that in the mix, you sacrifice either security or efficiency.
I'd rather have a centralized system (single writer) with decentralized mirrors (notaries) that exploit the fact that cryptoraphic ledgers are append-only and totally transparent to solve a lot of engineering problems than a slow, energy-sucking blockchain.
comment 8y ago · link · parent
Oh god, I can only imagine the horror of trying to use Bitcoin as a public notary service.
The whole point of an append-only data structure is that you can replicate it and if someone's node is being dishonest, they cannot do so silently.
You'd be better off with something like Trillian (and/or Certificate Transparency; see https://wiki.mozilla.org/Security/Binary_Transparency for more).
I wrote something in this vein called Chronicle: https://github.com/paragonie/chronicle
Main selling point? It's not a blockchain, but it solves a lot of the problems that cause people to point to blockchain solutions.
My goal with Chronicle is to ween the industry off of poorly thought-out blockchain projects by demonstrating that they don't need a blockchain after all.
comment 8y ago · link · parent
What is a fallacy? I asked a question.
Non-technical users will never modify their software. The act of doing so would recategorize them as "technical". I don't see any fallacy here?
The most likely interpretation of your comment is, you're assuming an argument that I am not making.
> Just because "typical user" won't care or won't be able to do something doesn't mean we shouldn't strive to build and popularize platforms that do right things.
That's a disagreement with an argument I did not make.
> Of course it also has to be good at what users actually do care for to have any chance of taking off, but that's not the point.
What is the point, even?
I just asked how something being "open source" (to borrow the scare quotes) is more desirable to users who do not read/write software code? What is their incentive supposed to be to prioritize open source over proprietary software?
That's not an argument. It's certainly not a fallacious one.
> Even though I'm not a "non-technical" user, I don't review crypto of my XMPP client.
Little bit of background: I'm the sort of person who would review the crypto of an XMPP client.
> And that's fine, I know a few people that did and I trust them enough. This way I don't have to trust an entity that may benefit from being able to access my messages.
Cool, let's ask an trustworthy expert then. I can think of no finer expert to chime in on this discussion than JP Aumasson, one of the co-authors of SipHash and BLAKE2, who wrote the book Serious Cryptography and conducted many cryptography audits in his career.
https://research.kudelskisecurity.com/2018/10/02/open-source...
Oh.
comment 8y ago · link · parent
comment 8y ago · link · parent
That is extremely unhelpful, Tech Crunch.
Let's take a look at what Isara is researching.
https://www.isara.com/research-publications/
https://www.isara.com/qc-mdpc-kem/
Okay, so the article is specifically talking about digital signatures, so they're almost certainly implementing qTESLA (or a Blackberry-specific variant thereof), which is a lattice-based signature algorithm.
https://qtesla.org/wp-content/uploads/2018/08/qTESLA_v2.2_08...
https://github.com/qtesla/qTesla
If this does turn out that they're implementing qTESLA (which is committed to the public domain), the headline "races ahead of security surve" will prove to be needlessly sensationalist.
591.
Widely-advertised VPN provider, NordVPN, deploys dubious cryptography(twitter.com ↗)
3 points · by CiPHPerCoder · 8y ago · 1 comment
comment 8y ago · link · parent
But I could also just dex2jar + JD-GUI the Android app and study the decompiled Java code to see what they're doing.
Edited to add: https://twitter.com/CiPHPerCoder/status/1042870740880637952
comment 8y ago · link · parent
(Server-side storage is a non-issue, due to the encryption protocols in use. It doesn't matter if you distrust Facebook, they aren't going to be able to read your messages. End of.)
comment 8y ago · link · parent
It not being open source is a political argument, not a technical one.
EDIT: I ended up doing just that. It took roughly 5 minutes (most of that was making sure I had my PATH for Java set up correctly on this machine) to get decompiled Java code ready to inspect.
comment 8y ago · link · parent
WhatsApp messages are encrypted end-to-end between each person using it. The whole point of end-to-end encryption is not having to trust the server-side storage.
Furthermore, WhatsApp uses the Signal Protocol-- the state-of-the-art for secure messaging protocols.
The worst that WhatsApp can see is "who's talking to who?"
Finally, the adoption of the Signal Protocol in WhatsApp came long after the Facebook acquisition.
So, no. It wasn't better off pre-fb.
comment 8y ago · link · parent
Or, rather, if the relationship ceased before violence entered the equation.
(In case anyone complains about pessimism, a friend of mine says often: "Relationships can only end in one of two ways: death or breakup." I'd rather think of it as a stoic position.)
comment 8y ago · link · parent
1. A lack of programming experience does not necessarily imply a life of struggle. Anecdote: Several of my friends work blue collar jobs (AC install/repair, but also an electrician), and avoid many of life's vices (alcohol, drugs, bad relationships with people with different personal values because they're easy to get into bed with, gambling, extreme religious devotion, the vindication of social media mob participation, etc.). I would call them successful despite not knowing the difference between a function and a method. (Successful enough, at least, to be homeowners in their young 20's despite growing up in poor families.)
2. Programming skill does not necessarily a life free of struggle. I know several homeless people with programming skills. Mental health (which is something our industry severely neglects!) brings its own struggles to the table.
3. Adults who take an interest in programming can gain sufficient aptitude to be valuable to organizations in a short time.
Forcing programming down a child's throat does them no favors.