Better HN
topnewbestaskshowjobs
Log inSign up

CiPHPerCoder

6,663 karma · joined Feb 25, 2016 (10y ago) · 1,775 submissions

My name is Scott. I do a lot of open source security research, and cryptography.

Previously AWS Cryptography (2019 - 2023).

Unless otherwise stated, my opinions are my own and do not reflect my employer.

https://scottarc.blog/about/

Submissions

comment 7y ago · link · parent

Blog post: https://paragonie.com/blog/2017/03/jwt-json-web-tokens-is-ba...

DEFCON CPV talk: https://paragonie.com/files/talks/NoWayJoseCPV2018.pdf + https://youtu.be/RijGNytjbOI

Alternative design that isn't radioactive: https://paseto.io

Apologies if this wasn't more readily available or commonly known. I'm worse at marketing than I am at engineering.

comment 7y ago · link · parent

Hi lvh,

Do you intend to complete this book at some indeterminate point in the future?

Is there anything that any of us can do to help make it happen?

comment 7y ago · link · parent

> I don't think there have been any new designs for a good while that didn't.

Every entry in CAESAR that I've studied is either based on a block cipher or a hash function. A lot of them use AES internally, but others (MORUS, NORX) used their own designs.

There are no RC4-esque stream ciphers being taken seriously these days, for good reason.

comment 7y ago · link · parent

> Man, that's nice you have written a book, now plant a tree, have a baby, and relax... take a constructive review on your work. Use it to improve that version.

Your feedback isn't really actionable. How is the author supposed to use anything about your feedback to "improve that version"?

comment 7y ago · link · parent

I thought the checklist was aiming to be comprehensive and that the omission of the audits was an oversight.

The one for bitwarden being, as you said, disquieting, makes its omission a little suspicious.

comment 7y ago · link · parent

I'm surprised there was no mention of recent security audits.

BitWarden just famously had one.

comment 7y ago · link · parent

Maybe they're measuring by weight instead of moles?

comment 7y ago · link · parent

That's email seems oddly targeted towards an insecurity that most trolls wouldn't bother poking at, and seems needlessly harsh to boot.

If this email is authentic, I suggest disregarding it. I know it's easier said than done, but, some people will never be happy. Invest your time and emotional bandwidth on causes that matter to you, or otherwise aren't lost.

comment 7y ago · link · parent

> Inevitably, the discussion will turn to programming languages. One might lament "I have to modify some Java code. I hate Java. (Oh, sorry, Kyle.)" (It probably doesn't help that we gave Kyle the nickname "Java-boy" over a decade ago.)

This circle of "friends" sounds like a toxic environment where apologies are empty and contempt runs rampant.

Are they truly sorry for what they said, or are they sorry they said it to Kyle's face?

comment 7y ago · link · parent

Beef Wellington is in the same class as calzones. Possibly as a cascade thereof.

comment 7y ago · link · parent

Cut revenue, blame expenses.

Eventually you end up with an anemic government that overspends on things that don't work and ignores all the social programs that the government put in place to prevent history from repeating.

comment 7y ago · link · parent

Ah, good to know!

I thought, from first glance, that the next news headline would be "Shadow Council Already Owns Your Secrets [And Your Souls]" if this trend continued.

comment 7y ago · link · parent

From the article:

> "This bill is far from perfect and there are likely to be significant outstanding issues, but this compromise will deliver security and enforcement agencies the powers they say they need over the Christmas period, and ensure adequate oversight and safeguards," shadow attorney-general Mark Dreyfus said on Tuesday.

... shadow attorney-general? That sounds rather ominous.

comment 7y ago · link · parent

Or they'll have the carriers in Australia push an OS update that specifically exfiltrates your Signal session keys to the government.

Then it won't matter what Signal does or doesn't do, they can still get what they want.

comment 7y ago · link · parent

> Account information (e.g. name, email address, encrypted password, data imported from linked networks when authorized by users)

Quora encrypted passwords instead of hashing them? FAIL.

comment 7y ago · link · parent

This is the most insightful response I've received this entire thread. Thanks for sharing.

I'm not sure how I feel about the idea that women are viewed as potential catastrophes. That's probably just where we're at with identity politics these days.

comment 7y ago · link · parent

CCAs have historically been useful for defeating the confidentiality guarantees of cryptography protocols. BB'98, Vaudenay '02, the iMessage attack, etc.

Selling "encryption, but not IND-CCA3" to a lot of (clueful, at least) companies is almost impossible.

If you read the linked article, it discusses a way to hack it in.

comment 8y ago · link · parent

Fully Homomorphic Encryption

comment 8y ago · link · parent

The news sensationalizes.

When I was arrested many years ago, the news spun it as though I had hacked into millions of computers and used them to DDoS the FBI, and then somehow use that to take over their computers.

In reality, I had found that they had an unsecured arbitrary file upload (i.e. had zero authorization guarding it) and told them about it on Twitter. Not the best move, but a far cry from what the media accused me of.

If you expect me to take the word of reporters above that of scientists, well, that ain't happening.

comment 8y ago · link · parent

Also, by itself, homomorphic encryption doesn't protect against chosen-ciphertext attacks, which makes it very unattractive for 99.9% of real world crypto use-cases.

https://tonyarcieri.com/all-the-crypto-code-youve-ever-writt...

In my experience, a lot of teams also reach for FHE to solve problems that are easily and securely solved without it (i.e. searchable encryption):

https://github.com/paragonie/ciphersweet

That being said, there is the 0.01% problem space where FHE makes perfect sense (mostly in the realm of encrypted databases and machine learning). For those systems, if the database can ever be considered adversarial (your threat model may rule this out, most applications' do not), a simple construction involving HMAC, a secure digital signature algorithm, and an append-only ledger can protect the application that reads from the database against chosen-ciphertext attacks.

https://paragonie.com/blog/2017/12/assuring-ciphertext-integ...

comment 8y ago · link · parent

If you have better, provide it. Otherwise, "the good" is "the best we have" and "the perfect" is "what we don't have".

comment 8y ago · link · parent

> Why do you presume that men must risk their jobs ? It sounds like some some macho-requirement.

One of the cornerstones of their entire industry accounting for the uncertainty of the future. They're already risking their jobs (and, indeed, their companies) every day.

Contrast that with a statistically insignificant number of false accusations.

If they are truly afraid of false accusations (like they say) rather than true accusations, then they haven't clearly done the math.

(If, on the other hand, they're afraid of true accusations, they should proactively cease to sexually harass women and maybe they'll have a less guilty conscience.)

I'm not imposing a macho-requirement on anyone, just asking that they exercise some sense of consistency here.

comment 8y ago · link · parent

> Is this really an offense worth ending someone's career over?

In isolation? No. It's a social faux pas that should be responded to with apology and remediation. Nobody is perfect, after all.

As one incident in an overall pattern of abuse stretching one's career? Different matter. If this pattern holds, the accused doesn't need to be propped up as a role model for science communication.

comment 8y ago · link · parent

> NDT thought he was being curious and pointing something out, the woman thought she was being sexually harassed.

If he did in fact physically touch her, then this isn't an ambiguous "he said/she said" problem, this is a violation of her personal boundaries.

comment 8y ago · link · parent

> A most prominent example are radical feminists like Dworkin who essentially say that all heterosexual intercourse is rape.

That's a stupid argument. Can we please not equivocate exceptionally dumb arguments with serious ones?

(Also, while we basically live in a post-satire society, I still like to call Poe's Law on exceptionally dumb arguments.)

comment 8y ago · link · parent

I'd use "better" math if it were available. Until then, I'm going to use the best tool for the job, even if it's "bad".

To that end, I refuse to make perfect the enemy of good.

comment 8y ago · link · parent

Drastically changing one's professional habits to cope with a rare risk is a poor use of one's time.

comment 8y ago · link · parent

> Tell that to Neil Degrass Tyson! Would you ever consider him an asshole? And yet, here he is getting lambasted for pointing out a tattoo on a woman's arm and telling people he doesn't do hugs.

I thought he was being accused of physically touching a clothed area of the woman's arm without being granted consent, not merely "pointing out". The words "pointing out" imply a gesture, which can be done at a distance, not unwelcome physical contact.

1
171819
60