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 8y ago · link · parent

They were chosen at random from two distinct buckets:

  - Stuff that HN loves because it's new and exciting
  - Stuff that companies generally hire for
Don't read too much into it.

comment 8y ago · link · parent

While I don't dispute that this article lists good knowledge to have, I don't think it qualifies as useful career advice (which seems to be the intention).

Want to stand out in web development? Specialize in something useful that few other people are. The best way to do that is to learn some technology that all your peers hate.

"Pfft Java? Nobody uses Java anymore, you should learn Vue.js instead it's the new hotness" + "Companies are still hiring Java programmers" -> Learn Java, the herd is going away from it but the demand is still there.

comment 8y ago · link · parent

> The population imbalance in China/India is a separate issue.

The observable consequences of this imbalance offers insight into human nature. The article and comments in that thread delve far into them.

It's worth reading.

comment 8y ago · link · parent

> That's an interesting definition of "trying harder".

See also: https://news.ycombinator.com/item?id=16898821

> I think the person employing that strategy would quickly find that it doesn't work as well as some other ways of trying harder.

You'd think, but in practice, not always. Aren't humans amazing?

I think if we're being prescriptive, I think working towards a culture where all parties involved do both choosing and trying. Put forth the effort to get to know people, then choose who you want to be romantically/sexually involved with among the people for whom there is even a remote mutual desire.

comment 8y ago · link · parent

> The answer likely depends on whether you're a man or a woman. From the male's POV changing the game benefits us since there's less work to do. If you're a woman then it's the opposite and a net negative.

I don't have a horse in that race, but I do have an ethical concern.

If you tell men that they're supposed to try, then it's likely that a lack of success will be met with trying harder.

What does this result in, practically speaking? Being more forward? Being more touchy? Being more in their face putting in the effort?

a.k.a. creepy, stalkerish behavior and possibly an increase in the incidence of sexual assault and/or harassment.

That's the concern I have with the "should" position.

comment 8y ago · link · parent

> It's the man's job to try, and it's the woman's job to choose.

Is that a descriptive or prescriptive statement?

Or put another way: Are you observing and remarking on cultural norms, or stating "This is how things should be?"

I only ask because when someone says "It's X's job to [whatever]" the connotation is "X should [whatever]" but the context surrounding this made it ambiguous.

697.

Protecting RSA-Based Protocols Against Adaptive Chosen-Ciphertext Attacks(paragonie.com ↗)

3 points · by CiPHPerCoder · 8y ago · discuss

comment 8y ago · link · parent

I was noodling around with a basic protocol design the other day, and it turns out it already exists.

I'll definitely look into contributing to Patchwork / Scuttlebutt. It's a great idea.

comment 8y ago · link · parent

Adblocking is the first line of defense against malware and invasive online tracking.

(By adblocking I don't mean like AdBlock Plus I mean more like uBlock Origin.)

comment 8y ago · link · parent

Here's the kicker: We already have some serious problems as a society. They're just too nuanced and technical for most humans to care.

comment 8y ago · link · parent

> https://www.w3.org/TR/2018/CR-webauthn-20180320/#sctn-cose-a...

I'm not feeling great about these algorithm choices. Namely: RSA with PKCS1v1.5

See also: https://robotattack.org

EDIT: Also, elliptic curve digital signatures with a random nonce (here, "r") instead of deterministic nonces makes me feel itchy.

https://fidoalliance.org/specs/fido-uaf-v1.1-id-20170202/fid...

comment 8y ago · link · parent

The other day someone invested $50MM into a non-profit to further the development of Signal/WhatsApp, two phone apps that provide end-to-end encryption for billions of people around the world.

That's a crypto investment that has nothing to do with blockchainiacs.

comment 8y ago · link · parent

Can the title be updated to say 'cryptocurrency' rather than 'crypto'?

http://cryptoisnotcryptocurrency.com

comment 8y ago · link · parent

Found via Pocket. The original title was too long for HN. I hope this abbreviation is up to the community's standards.

705.

Lawyer bots could cost local governments real revenue(recode.net ↗)

3 points · by CiPHPerCoder · 8y ago · 1 comment

comment 8y ago · link · parent

I can't speak for the authors of the Latacora page but I generally find this unnecessary.

We had enough curve arguments on the CFRG leading up to RFC 7748/8032 that any additional curves for ECC gets filed under "needless bikeshedding".

Why not pick PinkBikeShed or FuchsiaBikeShed instead?

comment 8y ago · link · parent

To add to this comment: https://paragonie.com/blog/2016/08/crypto-misnomers-zero-kno...

comment 8y ago · link · parent

I've covered this before, targeting the PHP community, but most likely generally applicable: https://paragonie.com/blog/2016/12/everything-you-know-about...

The short of it is: If you're interoperating with anything in the real world, you're forced to use insecure modes. And even if you're not, the library you'll be working with probably has insecure defaults. Unless your job title rhymes with 'Cryptography Engineer', steer clear of it.

comment 8y ago · link · parent

> How bad is it really?

Really bad.

Invalid curve attacks will leak your secret key, which most old implementations (i.e. the ones likely to end up in your hardware) don't protect against.

If you reuse an ECDSA nonce, you will leak your secret key.

If you have even the smallest timing leak, guess what.

https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-7056

https://web-in-security.blogspot.com/2015/09/practical-inval...

comment 8y ago · link · parent

Here's an idea: Wrap securely encrypted data in FIPS certified encryption.

FIPS-140-2: "Use AES"

So: aes_cbc_encrypt(crypto_secretbox(message, nonce, k1), iv, k2)

comment 8y ago · link · parent

If you're stuck with FIPS 140-2, you should probably have someone on your payroll to answer your questions instead of an Internet document given to the broader audience of software developers.

comment 8y ago · link · parent

> No shit. Name any company that does.

Paragon Initiative Enterprises.

comment 8y ago · link · parent

The title is a retort to a statement they made about "we take data security very seriously" while lying about solving the problem.

714.

Panera Bread did nothing about its customer data vulnerability for eight months(medium.com ↗)

253 points · by CiPHPerCoder · 8y ago · 89 comments

comment 8y ago · link · parent

https://www.troyhunt.com/we-take-security-seriously-otherwis...

comment 8y ago · link · parent

You probably still could, if they ignored you then chances are they never fixed it.

comment 8y ago · link · parent

Although Weev is a terrible person in general, this is the best case to cite for precedent.

comment 8y ago · link · parent

Oh no no no no no please don't tell me that's true D:

comment 8y ago · link · parent

I anticipated this and made archived copies of the hyperlink referenced in the Pastebin entry in case they tried to pretend there was no leak.

https://www.webcitation.org/6yNwbyvu0

https://archive.fo/h9mjp

1
232425
60