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
I'll second this. Async/await support in PHP is at best an ugly hack.
I don't know if we'll ever get first-class async/await support since there is no event loop in the PHP runtime, and because of how PHP works (build and teardown on each HTTP request).
> And for me, it might be the biggest problem it has right now, which seriously hurts in some applications.
What problem are you trying to solve where a lack of async/await would help?
comment 6y ago · link · parent
Sometimes companies enshrine this ignorance as official policy, and their knowledge of PHP security is as shallow as "php.ini hardening".
When anyone encounters such ignorance, point them here: https://paragonie.com/blog/2017/12/2018-guide-building-secur...
Or for more general code quality complaints: https://phptherightway.com
I'm looking forward to PHP 8, and beyond. Mentalities that were only relevant in PHP 5.1 (or earlier) are outmoded and should be laid to rest.
comment 6y ago · link · parent
PHP has a package manager IF you want to use the vast offering of open source PHP libraries and frameworks.
https://getcomposer.org/download
To use it, create a composer.json and run:
php composer.phar install
On my systems, I like to alias it so that I just have to type: composer install
Alternatively, if you use a Jetbrains IDE (i.e. PHPStorm), you can usually install dependencies with one click.> And to be fair, as a naive non-PHP user, I have 0 clue how you would go about setting up long running scripts that don't necessarily correlate to a web request.
php /path/to/script.php
It can run as long as you'd like.
If you want to do it on demand (i.e. writing a webserver in PHP), that's difficult. But generally: Why would you want to do that? It becomes an X-Y Problem.
comment 6y ago · link · parent
1. This isn't news about Apple's encryption, it's just that the status quo is here to stay. Your Apple device is as secure/private as it has been, and will probably not get any better. It's disappointing, but not really much of a revelation to anyone who's been paying attention since 2012 (or earlier).
2. The way the headline is phrased vindicates an orthogonal personal decision I made to not purchase hardware or software from Apple.
Given your most recent comment, at some point, you must have assumed a lot of things that a) aren't true and b) I never stated or implied.
comment 6y ago · link · parent
And for that, you can also get a stock Android phone like 80% of the world and still not be an Apple consumer. :)
comment 6y ago · link · parent
Why do I have to use a phone in its place? Apple products aren't a basic human necessity. I like to think I can just use a phone for the sake of wanting a phone, not to replace the void that not being an Apple consumer leaves in my soul, or something.
What exactly do you mean by "basic aspects of modern life"?
I have a desktop PC, a laptop, a work laptop, a LineageOS (Android-based) phone, and a VR headset for gaming. Anything I want out of modern tech, I either already have or doesn't exist yet.
comment 6y ago · link · parent
That's a very judgmental way to ask that question if you're trying to not be judging.
My phone hardware would fall under the Android classification, but I run LineageOS.
I wish I had more options, but we're stuck in a hellish duopoly for the time being.
comment 6y ago · link · parent
https://blog.cryptographyengineering.com/2012/04/05/icloud-w...
The fact that they started working on the problem then abandoned it after the FBI complained is disappointing, especially to Apple consumers. But all it means is the status quo marches on.
Headlines like this vindicate my decision to never purchase an Apple product.
comment 6y ago · link · parent
The idea is that each router would get a certificate signed with a distinct subdomain unique to that router. So you still can't impersonate other devices. It wouldn't be a generic domain or wildcard certificate.
The remote signer would furthermore suspend suspicious connections (i.e. from multiple public IP addresses).
comment 6y ago · link · parent
Please stop using that phrase. "Responsible disclosure". It's wrong and harmful, and the person who coined it agrees with me: https://adamcaudill.com/2015/11/19/responsible-disclosure-is...
You want "coordinated disclosure" instead.
Netgear doesn't do coordinated disclosure. They do non-disclosure. In the absence of a coordinated effort, full disclosure is the responsible thing to do.
comment 6y ago · link · parent
https://www.cloudflare.com/ssl/keyless-ssl
The fallback would have to be self-signed TLS with random keys for initial local router configuration, which is hopefully done over an Ethernet connection rather than WiFi.
You don't need a secure enclave or HSM to solve this problem. It just requires caring about security and provisioning enough time to engineer and test the obvious solution. From what I can tell, that doesn't line up with Netgear's MO.
comment 6y ago · link · parent
https://chromium-review.googlesource.com/c/chromium/src/+/19...
comment 6y ago · link · parent
Set your notBefore to a date earlier than 2018-05-01 and you're golden.
comment 6y ago · link · parent
To explain: I said it doesn't work with people who are X. Then I posited that it only works in condition Y. Y covers all cases, including non-X, and therefore answers your question (with respect to what I'd posit).
If your mental model of humanity is deeply flawed, you expect carrot-and-stick motivations to work. It doesn't matter if they're self-actualized.
If anyone is still confused, this might be worth a read: https://www.amazon.com/Drive-Surprising-Truth-About-Motivate...
comment 6y ago · link · parent
A lot of "nerds" have personal insecurities and downtime. The potent mix of the two leads to more gatekeeping behavior than is necessary.
It's for this reason that many people (especially women, PoC, etc.) will be hostilely quizzed when they express an interest in something nerdy. It's not overt racism/sexism, so much as a "oh no, if they share my interests, I'm less special" sort of reaction.
Unfortunately, nerdiness doesn't strongly correlate with emotional maturity.
But things don't have to be this way. We all have the choice of what kind of person we want to be. Some people just choose very poorly-- short-sighted selfishness that hurts them long-term and everyone else at all times.
There are a lot of "nerdy" individuals who choose better. I'm happy to know of at least 100 in my industry.