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

1291.

Guide to Automatic Security Updates for PHP Developers(paragonie.com ↗)

2 points · by CiPHPerCoder · 10y ago · discuss

1292.

Guide to Automatic Security Updates (For PHP Developers)(paragonie.com ↗)

2 points · by CiPHPerCoder · 10y ago · discuss

comment 10y ago · link · parent

GPG is great for offline signatures, which in addition to HTTPS is a great way to assure that the software you obtain is legitimate.

That isn't to say that it isn't the product of a targeted trojan signed with a stolen GPG key.

comment 10y ago · link · parent

The headline is what I take issue with. Calling it hacker-proof just because it's formally verified is wrong.

comment 10y ago · link · parent

See: https://github.com/w3c/svgwg/issues/266

comment 10y ago · link · parent

Formal verification doesn't mean your design can't be flawed in other ways that your theorem prover can't identify.

See also: Software AES with cache-timing information leaks.

comment 10y ago · link · parent

OK, that makes a lot more sense now. The confusion was on my end.

comment 10y ago · link · parent

Russia and the US are going to bicker over who gets this person, as the article makes clear and you've alluded to. This is just one of many conflicts between both nations that could have far-reaching political consequences.

I'm not sure what's more difficult to follow here? I'm not predicting a specific outcome (or worse, detailing some conspiracy theory); I'm just stating that there's a significant potential for bad things to follow this news and expressing my dislike for the general theme of it all.

comment 10y ago · link · parent

OK, and that is exactly the point at which it becomes an international politics issue.

comment 10y ago · link · parent

To all countries involved in this hypothetical scenario (or others like it), I have the following to say: Sod off and fight your own battles.

comment 10y ago · link · parent

> I'm still not clear on where you think this is going.

Further political strife and possibly even all-out war, especially if warmer heads get elected.

> He was arrested by the FBI, not rendered by the CIA. He's being charged with a crime. It's a crime that both the Czech Republic and the US have recognized as a crime for a long time.

Is he going to be prosecuted in the Czech Republic and (if the prosecution is successful) sentenced to a prison term in the Czech Republic, guaranteed, without any possibility of extradition to US or Russia?

comment 10y ago · link · parent

All I'm saying is I don't like where this is going, and I think it's eerily similar to a path both countries have traveled before.

If history must repeat, I'd rather not have the world's hackers get dragged into the struggle. I hate politics in my technology, dammit.

comment 10y ago · link · parent

All of the above, really. I meant act in a literary sense, not as in "one specified unit of verb".

comment 10y ago · link · parent

> I am not clear on the basis of Russia's expectation that they're going to get their hacker back soon.

That expectation probably has nothing to do with the law or legal means.

comment 10y ago · link · parent

No word on who was arrested or who their victims were.

All we have to confirm the story is political posturing from two global superpowers over an arrest in a third country. This sounds like the opening act of a cold war era political struggle. War by proxy, etc.

Can we please not repeat that chapter in history?

Or, if we're going to do so, at least not use hackers as the pawns in this sick game? I'd appreciate at least that much.

comment 10y ago · link · parent

But don't use 3DES, since the DES block size is 64 bits and you get collisions (e.g. in CBC mode) after 2^32 blocks.

comment 10y ago · link · parent

I was talking about the people discussed in the article itself, not fellow users. But it's a moot point now.

comment 10y ago · link · parent

You're using AES-256-CBC without authenticating the ciphertext. Your threat model might preclude chosen-ciphertext attacks, but every crypto code auditor will flag that as suspicious (if not an outright vulnerability).

Read these two links:

https://paragonie.com/blog/2015/05/using-encryption-and-auth...

https://gist.github.com/atoponce/07d8d4c833873be2f68c34f9afc...

You want AES-GCM or AES-CBC + HMAC-SHA2 (Encrypt then MAC).

comment 10y ago · link · parent

I thought it was an amusing parallel to the title.

comment 10y ago · link · parent

You counted 3 twice...

comment 10y ago · link · parent

Warning: Autoplay video.

comment 10y ago · link · parent

> Javascript is a weird and wondeful language that lets us write some crazy code

Wondeful! A typo six words in.

comment 10y ago · link · parent

Is this something OWS could be subpoena'd for? Or something that the government would just subpoena Google for?

(I mean, given a phone number, can't you identify someone's Google Play account anyway? That sounds more useful.)

comment 10y ago · link · parent

Are you familiar with the Aqua project? I haven't seen it discussed much among privacy researchers, but it's certainly interesting.

https://aqua.mpi-sws.org

comment 10y ago · link · parent

I'm not too surprised to see an attempted overreach by federal investigators. Too bad there's no measure of meaningful accountability here.

Outside the usual "let's ask for more than we're legally entitled" shtick, there's nothing particularly alarming about this subpoena; it was narrowly focused on two phone numbers, for which only one was a Signal user.

It's good on OWS to fight so hard for transparency.

comment 10y ago · link · parent

CMS Airship (https://github.com/paragonie/airship)

CMS Airship is a secure-by-default content management system, blog engine, and application development framework written in PHP 7. We want to move the overton window of PHP applications towards being secure out-of-the-box.

Despite our focus on security, there are a lot of ways to contribute even if you're not a security expert: https://cspr.ng/blog/2016/09/contribute-airship-non-expert-s...

> What do you hope to build this month?

This is what I'll be doing this month:

  - Facilitate data import from WordPress, etc.
  - Create a workflow for deleting user accounts.
  - Make the extension development tools easier to use.
In the slightly-longer term, I'm building an extension that adds e-commerce capabilities, in case anyone wants to migrate from WooCommerce, Magento, or OpenCart.

> What kind of skills do you need?

I'm pretty terrible at UI/design work. If anyone has front-end chops, I'd greatly appreciate any actionable feedback you can offer.

The documentation (https://github.com/paragonie/airship-docs) isn't complete, and I need to find time to work on that. If anyone can, please help here.

> Links

  IRC: #airship on irc.freenode.net
  Reddit: /r/cmsAirship
  Github:
  - https://github.com/paragonie/airship
  - https://github.com/paragonie/airship-docs
Example website: https://cspr.ng

License: GPL 3

comment 10y ago · link · parent

Yeah, aside from: Developers in that part of the world often work for less than the federal minimum wage of the United States and you'd want to exploit them for profit.

comment 10y ago · link · parent

> The very foundational paper for zero knowledge did not have much to do with attacks. Similarly for many many subsequent works.

Dave designs a ZKP protocol for a specific application.

Jane finds a side-channel in the protocol that leaks some data about the secret being verified and publishes it.

Is it still a zero knowledge proof?

> Similarly for MPC. Most work in MPC is about improving efficiency or proving security against stronger classes of adversaries; it is not in finding breaks of these protocols.

How do you prove security against stronger classes of adversaries without finding breaks in existing protocols, or at least trying to do so?

comment 10y ago · link · parent

> I don't feel like that's the case for a huge portion of theoretical-ish crypto.

You could always verify this feeling:

https://eprint.iacr.org/eprint-bin/search.pl?last=365&title=...

1
434445
60