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

That was a significant component of my point.

comment 8y ago · link · parent

It's a leak because there wasn't an invoice attached to what would otherwise be business as usual: the data being obtained by sketchy third parties.

comment 8y ago · link · parent

Happy to help.

If anyone's going to DEFCON this year, I'll be hanging around the Crypto & Privacy Village a lot, so feel free to say hi.

comment 8y ago · link · parent

The most useful thing about Slack is you can press Shift+ESC (sometimes you have to press it twice) to mark all conversations as read.

Inbox zero with two keystrokes. Whoever implemented that, I'd like to buy a coffee someday.

(Also, I discovered this because I use Ctrl+Shift+ESC instead of Ctrl+Alt+Del to bring up the Windows Task Manager immediately without going through the intermediary screen that pops up, and one day, I missed Ctrl.)

comment 8y ago · link · parent

> I wonder whether some substantial portion of cryptoanarchism isn't really meant to be anarchism in the fullest sense, but more anarchism-but-only-within-a-particular-domain?

It varies from person to person. I happen to like the message in A Cipherpunk's Manifesto, but I also happen to dislike blockchain mania.

comment 8y ago · link · parent

> Yet, looking beyond the hype, it is hard to identify a specific economic problem which they currently solve.

People seem to forget that cryptocurrencies emerged from a culture of cryptoanarchy, not from economists or governments.

Anarchists generally don't want to help the government solve problems, they view the government as the very problem to solve. (I'm speaking very broadly here.)

comment 8y ago · link · parent

Okay, now I'm curious: Does the standard definition of SFW apply for PornHub?

comment 8y ago · link · parent

No it doesn't.

The argument isn't "block ' characters to stop SQL injection" it's "force the developer to use prepared statements and no dynamically constructed queries".

comment 8y ago · link · parent

Small up-front cost now versus having your lives threatened in the future.

comment 8y ago · link · parent

Hahaha, $552/year for car insurance in Florida?

The high cost of car insurance, coupled with the low wages in this state, are a significant factor that kept a lot of my peers in poverty well out of high school. The usual story goes like this:

  - Reliant on a hand-me-down car to get to work.
  - Work barely pays for rent, car insurance, gas, and food.
  - Car needs maintenance but no money for that.
The end result is predictable: A lot of Floridians work for just enough money to be able to get to work, and as soon as this equilibrium is shattered, our lives fall apart.

Charitably, I think the lowest I've seen anyone's insurance payment in this state is $89/month, because they were over the age of 25 and their car fit the requirements for lower insurance rates nicely. They still had a car payment ($400/mo. IIRC) though.

comment 8y ago · link · parent

I live in Florida. Paying less than $200/mo. for insurance before the age of 25 is almost unheard of.

comment 8y ago · link · parent

> The no-car-movement is great for cities and people with lots of patience.

I don't own car (nor have any intention of doing so) due to being too blind to drive safely, but not blind enough for any sort of government assistance.

(I'm not legally prevented from driving, I'm being considerate of the safety of others.)

comment 8y ago · link · parent

1. The two-word phrase sensible car was not defined by the comment I replied to; it was left up to interpretation.

2. Even if I take your assumption as the other poster's definition of sensible and remove any car payment, gas + insurance + maintenance yields a 6 year cost above $12k. My point stands.

comment 8y ago · link · parent

> If you bought a sensible car, your monthly costs could be much lower.

$12,041 over 6 years is $2006 per year, which is about $167 per month.

All of my friends pay about that much just for car insurance every month. Throw in a car payment ($200/mo. - $500/mo. depending on the terms of the lease), gas, and maintenance (regular oil changes, tire replacements, etc.) and you'll end up way north of $12,000 after 6 years.

comment 8y ago · link · parent

Devil's advocate: What's the harm in keeping your hands "clean"? The public zeitgeist can change, after all, and someday the public may care. Better be prepared for that, etc.

comment 8y ago · link · parent

> This opinion seems a bit overdone. OpenVPN is one of the simplest and robust VPN protocols to setup and manage in my experience.

I burnt 2 days earlier this month because `comp-lzo` is apparently distinct from `compress lz4` and fixing that required an OS upgrade (because it didn't exist before 2.4 and this VM isn't on the bleeding edge), which killed my VM's desktop environment, so I ended up needing to rebuild the entire environment. Even after that, the GNOME network manager doesn't respect the existence of this flag, so I have to work around the OS.

Changing the VPN server's configuration to disable compression wasn't an option either. (Compression oracles are bad, m'kay?)

If they were using WireGuard, this problem wouldn't have existed in the first place. Maybe compare/contrast them for yourself? You may find WireGuard even easier to get running.

I for one welcome our modern crypto overlords.

comment 8y ago · link · parent

I think lvh's comment here is more appropriate for mature sysadmins who actually use key auth: https://news.ycombinator.com/item?id=17091990

comment 8y ago · link · parent

Aside from stuff like CVE-2016-0777, some people do password auth SSH over the public Internet, which isn't great.

(See also: People migrating from FTP to SFTP and haven't heard the good word of rsync with key auth.)

comment 8y ago · link · parent

It's not "death to SSH", it's "death to SSH over public Internet".

Instead, what you'll want to be doing is SSH over WireGuard.

comment 8y ago · link · parent

And I'm arguing that the average newcomer (if we need a specific definition of average, how about chosen at random among low-income American sixth graders far removed from big cities like San Fransisco or New York?) would have an easier time understanding Python to the level of being capable of basic file/network I/O than they would with Haskell, because Python will be more immediately familiar to them because they don't need to even know what a thrice-damned monad is.

comment 8y ago · link · parent

Every language has its faults.

Even a "perfect" language is faulty if the barriers between its current state and mass adoption are insurmountable.

Completely reform education in this country to make purer languages like Haskell more palatable for younger generations than, say, PHP, and I'll totally be wrong in 50 or so years.

comment 8y ago · link · parent

> I can teach someone how to write buggy, unmaintainable code that seems to work but actually doesn't in Python and JavaScript. So? :)

Yes, because that property is totally absent from Haskell.

https://github.com/RNCryptor/rncryptor-hs/issues/2#issuecomm...

Oops. Surely the JS and Python implementations are just as bad?

https://github.com/RNCryptor/RNCryptor-python/blob/649ca23a5...

https://github.com/RNCryptor/rncryptor-js/blob/08250e00a1140...

(END SARCASM)

My point here is that, while working with a "great" and/or "better-designed" programming language can be beneficial, it's the ecosystem that really counts.

comment 8y ago · link · parent

> That's a fallacy. Just because something is harder to operate doesn't mean it can't be better.

Where did I say it "can't" be better?

comment 8y ago · link · parent

> Programming languages are not intuitive. They are a learned skill.

I can teach someone Python or JavaScript in a few weeks, at a casual pace, where they can accept input from STDIN or a file, do some calculations, and produce output to STDOUT or another file.

Haskell? I'd need a dedicated fucking thesaurus on-hand for them to grok the paradigm, and it would take a few months before they could achieve the same result.

I have another point here:

If the only languages that are considered great are the ones that make people feel smarter than everyone else for being able to understand, we don't need great languages.

Most of us need easy, practical languages that help us solve problems and don't get in our way. (Most of achieving this property comes down to ecosystem rather than language design.)

comment 8y ago · link · parent

The one thing that makes Haskell not great is that its understanding is not widely intuitive.

People with mathy backgrounds that don't blink at the phrase "lambda calculus" won't consider this, but a lot of people struggle with math.

If you can't put it in the hands of a 6th grader (in the public school system with no special tutoring) and have a reasonable chance of it being understood (n.b. I self-taught myself early JavaScript when I was in the 5th grade, and picked up PHP the following year), it won't ever be "great".

comment 8y ago · link · parent

They shouldn't, but at the same time, these non-American companies should at least be honest about why they're rejecting the NSA's thoughts/designs rather than hype up some vapid fear of a backdoor.

Slap NSA's hand for being abusive to the privacy of everyone, including their own citizens? We need more of that.

comment 8y ago · link · parent

> If I have your key, I can send you an encrypted GPG message, without you needing to know who am, or for any kind of message from you back to me. HMACs require a shared secret.

No, they don't. I described a naive RSA+AES hybrid cryptosystem here that includes HMAC authentication without a pre-shared key: https://paragonie.com/blog/2018/04/protecting-rsa-based-prot...

comment 8y ago · link · parent

I've seen this scenario unfold before:

  1. User provides username/password.
  2. An exception occurs somewhere.
  3. The stack trace from the exception is logged.
  4. The stack trace includes the credentials.
  5. The exception ends up in a ticketing system (Trac, JIRA, etc.)
  6. Nobody notices for years.

comment 8y ago · link · parent

If you have time, learn the new hotness while you're employed for Boring Legacy Languages/Frameworks.

comment 8y ago · link · parent

> - have some backbone eg, if your manager is wrong, tell them (in private!) but accept if they don’t agree, they have the final word.

Having some backbone and some tact is a good thing, but never showing backbone outside of "(in private!)" isn't always the right answer either.

I think it's better to learn to read the room and know when it is or isn't appropriate to raise your objections in a somewhat public manner.

Defaulting to privately when in doubt is a good strategy, but sometimes you have to call a spade a spade or the whole company suffers for it.

1
222324
60