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

841.

The 2018 Guide to Building Secure PHP Software(paragonie.com ↗)

4 points · by CiPHPerCoder · 8y ago · discuss

842.

Assuring Ciphertext Integrity for Homomorphic Cryptosystems(paragonie.com ↗)

3 points · by CiPHPerCoder · 9y ago · discuss

comment 9y ago · link · parent

There's a lot that can go wrong, which is why writing testable code and then /actually/ testing it, matters so much.

comment 9y ago · link · parent

A graceful upgrade mechanism towards a new password hashing algorithm.

comment 9y ago · link · parent

> I'd much rather type "takeaway pizza chicago" than have google mind-read where I want the pizza delivered. Search is not always about looking up something already connected to you. It used to be about unfettered exploration.

And so would most HN readers. However, the rest of the world outside of the tech industry cares more about convenience and simplicity than exploration. Most people are willfully ignorant, driven from dawn to dusk by their own habits, rather than some intrinsic desire for self-actualization and the acquisition of knowledge.

Give them more convenience, even at the cost of flexibility, and non-technologists love it.

That doesn't make us better than them, or vice versa. We've chosen to be a little different is all.

846.

Securing the PHP Community with Hosted OSS Services(paragonie.com ↗)

7 points · by CiPHPerCoder · 9y ago · discuss

comment 9y ago · link · parent

Oh, I think you're thinking of homeopathic KDFs. Homeopathic encryption users just use the Crystalline cipher, because it helps center our chakras.

comment 9y ago · link · parent

Tor is emphatically not meant for piracy, especially BitTorrent.

comment 9y ago · link · parent

I meant colloquially. If you're not using your VPN 24/7, you have to trust both at different times.

You are of course correct. :)

comment 9y ago · link · parent

That's a shallow analysis.

The worst case scenario is not just that they're as bad as AT&T. The worst case scenario is that they're as bad as AT&T and still provide a false sense of security.

Even if you're diligent, other users with your (ISP, VPN) provider pairing might not be, and they could be harmed as a result.

The comments security nerds make here on HN aren't one-on-one individualized consulting (n.b. that's paid work in my field), they're general advice for the public to refer to.

comment 9y ago · link · parent

Obligatory: https://twitter.com/tqbf/status/700798735190601729

comment 9y ago · link · parent

Now you have to trust two ISPs: Yours and the VPN provider's.

comment 9y ago · link · parent

Every time this sort of question comes up, I reflexively link people to this page: https://gist.github.com/joepie91/5a9909939e6ce7d09e29

Most of the time what people think they need a VPN for, a VPN won't actually help them much. They have a narrow use-case in privacy contexts, in which case you're better off using Tor.

comment 9y ago · link · parent

> but why (2)?

Indeed! https://tonyarcieri.com/on-the-dangers-of-a-blockchain-monoc...

Not everything needs a blockchain. We already have Certificate Transparency, which is the closest to a blockchain-esque solution that adds value to the TLS/PKI infrastructure.

Adding non-repudiation to TLS just seems like a privacy foot-cannon. Using a "blockchain" to solve this just smells fishy.

comment 9y ago · link · parent

> what is the appropriate way to bring people on when you can’t pay them?

You don't.

Pay people for their work, or don't hire them. Anything else is at best ethically gray, but almost always bad.

comment 9y ago · link · parent

> If you're succeeding by telling everyone your service is secure and reliable, I default believe you, because courting customers who value security and reliability is a really bad strategy if your service is flakey and insecure.

I'd caution against this approach when it comes to security, unless your "default [belief]" is already tempered with "Hey [security-knowledgeable person I know], have you heard of [product] before?" and gauging their reaction from the sales copy.

If you're going to trust, make sure you also verify.

comment 9y ago · link · parent

https://github.com/paragonie/certainty/commit/005181f421ca8f... :)

comment 9y ago · link · parent

> Maybe it could check the signature everytime one downloads the bundle?

Yes, that's probably the direction we're going to go.

> So downstream developers+admins need to set pretty liberal file permissions? (Or perhaps dig-up a way to use an alternative data directory?) Might be useful for the docs mention this.

That's a good point. Another developer indicated they were writing a pull request to add composer post-install hooks, and I could easily add one that chmods this directory.

comment 9y ago · link · parent

I grew up in Lee County, FL, and currently live in Cape Coral while saving up to buy land and build my dream home elsewhere in the state.

The thing they don't tell you about Cape Coral is that Code Enforcement is the unofficial religion of the city. It's basically an oversized Home Owners' Association.

A lot of retired folks come down here and, with nothing better to do with their golden years, decide to annoy their neighbors with petty complaints in an attempt to raise property values. Whether or not it's a good investment, mots of the people are chronically annoying to the point of toxicity.

comment 9y ago · link · parent

> I'm curious, is this apparent issue of outdated cert bundles also a problem outside of the PHP ecosystem?

Yes, that is a problem that would exist outside of the PHP ecosystem. We provided a solution for it in our tool because we strive to be forward-thinking.

I'm not aware of any systems being breached because of stale cacert.pem files and the employment of rogue CA certificates, but that's probably due to the rarity of attackers having access to a rogue/compromised CA, and that attackers that do are unlikely to get caught very easily.

It may turn out to be the case that this has never happened before and won't happen in the immediate future, but if a bunch of CAs suddenly get hacked and their private keys are leaked on Pastebin, then this would of course change rapidly.

For these scenarios, I can only prescribe something like Expect-CT to force attackers to leave evidence of their attack behind. https://scotthelme.co.uk/a-new-security-header-expect-ct/

861.

Certainty: Automated CACert.pem Management for PHP Software(paragonie.com ↗)

25 points · by CiPHPerCoder · 9y ago · 7 comments

862.

Certainty: Automated CACert.pem Management for PHP Software(paragonie.com ↗)

2 points · by CiPHPerCoder · 9y ago · discuss

863.

Show HN: Certainty – Automated cacert.pem management for PHP projects(github.com ↗)

1 points · by CiPHPerCoder · 9y ago · discuss

comment 9y ago · link · parent

You're forgetting something: They were hostile to me before I had a chance to contribute.

Here's where your logic falls apart: B.P1 is demonstrably false, in at least one occurrence. (i.e. Mine, where the hostility existed irrespective of my writing skills or the value of my potential contributions, or the lack thereof, because they were acting with zero information which shows their tendencies. If you've already established social capital, you're part of their in-group and therefore will not be attacked.)

But from the overall tone of the other comments here, and the sheer upvote/downvote ratio of my top-level comment, it's probably not a rare event.

I didn't think you overlooked this detail. I misinterpreted your statements as a personal attack based on the fact that I already explicitly made this clear and you appeared to have enough mastery of the English language to possess basic reading comprehension. But clearly I was wrong somewhere.

I apologize for giving you too much credit.

Hopefully spelling it out here, again, makes it clearer. If not, there's no point continuing this conversation because it's only going to get nasty.

comment 9y ago · link · parent

The way your post above was structured served to imply that I'm incapable of writing quality, researched articles on topics beyond those belonging to knowledge and pop culture, which was the component of your post above that I stated did not logically follow. My description of "illogical" was toward your back-handed remark.

I'll note that you did not attempt to deny, retract, amend, or correct this interpretation after being presented with it, which leaves me to believe that was your intent all along.

In which case: No, that's not acceptable. Personal attacks do not belong on HN, let alone baseless ones.

comment 9y ago · link · parent

> This drive-by criticism comes up every time Wikipedia is mentioned on HN. I've written a few articles on computer science topics and haven't been bothered at all by the roving gangs of bureaucrats. It's always a lovely experience.

That's all fine and well, but I literally only created an account and got attacked. I wasn't even given the opportunity to contribute yet.

Unless your intent was to imply that I'm unwilling or incapable of writing quality, researched articles on topics beyond those belonging to knowledge and pop culture, your comment does not logically follow from the stated problem.

comment 9y ago · link · parent

If you want Wikipedia to have more contributors, maybe the editors ought to stop being so caustic toward new members?

https://en.wikipedia.org/wiki/User_talk:CiPHPerCoder

Created an account, created a barebones skeleton user page just to make the red text link go away, immediately flagged for special deletion. Even when the person agreed with my point, their tone was mildly hostile and lectury.

(Epilogue: I ended up not really contributing much since then simply because of how I was greeted.)

Behavior like this drives new contributors away.

comment 9y ago · link · parent

If you've ever looked into a PHP project and seen these lines:

  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
...then you already know exactly what motivated this project to exist.

869.

Show HN: Certainty – Automated cacert.pem management for PHP projects(github.com ↗)

3 points · by CiPHPerCoder · 9y ago · 2 comments

comment 9y ago · link · parent

You might want to go see a doctor and get that checked out then.

Just because "most others use . or :" doesn't mean it's the only correct syntax in the realm of possibility.

1
282930
60