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

> If I could come up with something better, they would have done that.

Don't give up so easily! If you're going to make a stance borne out of principle, why not follow through to outperform the suboptimal solution that you dislike so much?

Innovate. Put some skin in the game. That's what I would do, anyway.

As it stands: If any of the folks involved in the trusted setup was honest, then it's secure. It takes a 100% corruption to make it insecure. I think that's acceptable until a better solution is proposed.

comment 10y ago · link · parent

What would you have done differently to solve the same problem they did?

comment 10y ago · link · parent

I like Zcash. I think it's a good solution to a problem that Bitcoin did not solve, and creates a cryptocurrency more in line with the vision spelled out in A Cyperpunk's Manifesto than the previous attempts.

(Yes, I've looked at the other attempts to build a private alternative to Bitcoin, including Monero: https://github.com/monero-project/monero/issues/1271)

comment 10y ago · link · parent

The related key attack is only really relevant if you're using the AES internals to construct, say, a hash function.

With random keys (generated via /dev/urandom), you don't need to worry about that.

comment 10y ago · link · parent

WARNING: Autoplay video.

Even if you open it in a new tab and are still viewing the current one (middle click on my computer).

comment 10y ago · link · parent

That's true. All relationships end with either death or a breakup, but just because it ended doesn't mean it wasn't good while it lasted.

Damn, human interaction is so nuanced. >:\

comment 10y ago · link · parent

https://www.mozilla.org/en-US/security/advisories/mfsa2016-8...

PSA: Please update immediately. One of these is critical.

comment 10y ago · link · parent

Additionally: More sexual partners can plainly be interpreted as either:

  - Polyamory
  - A long series of failed monogamous relationships
That's assuming age is constant.

1239.

Preventing SQL Injection in PHP Applications (2015)(paragonie.com ↗)

1 points · by CiPHPerCoder · 10y ago · discuss

comment 10y ago · link · parent

What exactly is "badly done" about their trusted setup?

1241.

“Responsible Disclosure” is Wrong(adamcaudill.com ↗)

1 points · by CiPHPerCoder · 10y ago · discuss

1242.

The Case for Automatic Updates(paragonie.com ↗)

1 points · by CiPHPerCoder · 10y ago · discuss

comment 10y ago · link · parent

> The move to established and known secure cryptographic protocols was therefore only a matter of time, since it represents a tangible increase in business value.

What does that have to do with Telegram?

https://news.ycombinator.com/item?id=10713064

comment 10y ago · link · parent

> So you admit that Signal is insecure by design.

No, I would not say it like that.

Security isn't TRUE/FALSE. Signal is more secure than other products like Telegram. There are a lot of things it could add to increase its security. But it's pretty damn good and that it doesn't do things that would make it better doesn't change the fact that it's damn good.

> All it seems like you're trying to do is distract from these glaring issues.

I take issue with listing "automatic software updates without user consent" as a list item in criticisms about Signal because "automatic software updates without user interaction" are a damn good idea for the threat models that take most computer crime into account. Even the paranoid (I don't use this term lightly) models can be mitigated by a well implemented secure update infrastructure.

What would you rather have?

  - Activists being pwned by 1day vulnerabilities
  - The patch being applied automatically as soon as it's available
This is a criticism of words you said, not some attempt to distract from "these glaring issues".

WordPress, which powers 26% of websites on the Internet, doesn't even cryptographically sign its updates. If you pwn their update server, you've got a backdoor into millions of websites. The Mirai botnet? Child's play in comparison.

That's a glaring issue.

> If OWS was legitimately interested in security and anonymity, they wouldn't be including proprietary components and shutting down other open source projects that take matters into their own hands.

So says your ideology.

If OWS wasn't legitimately interested in security and anonymity, why would they publish their protocols as open specifications that anyone can use to develop their own protocols and apps?

Go on, take their papers and build an app that doesn't do all the things you disagree with.

Fork their project (It's GPL; you can fork it!), remove all Signal trademarks and branding, and release your own GPL app that doesn't rely on proprietary components. Make your app/protocol federated. If you do these things, there's literally nothing OWS can do to "shut down" your project.

Don't bother worrying about integrating with Signal users or using Signal servers. Do a better job and convince people to use your fork instead.

What's stopping you?

comment 10y ago · link · parent

That sounds like a really good technical discussion to have with the OWS team.

https://github.com/WhisperSystems/Signal-Android/issues

comment 10y ago · link · parent

That was addressed by the third section, under "targeted attacks":

https://paragonie.com/blog/2016/10/guide-automatic-security-...

comment 10y ago · link · parent

Did you even read the article I linked?

comment 10y ago · link · parent

> automatic software updates without user consent

Do not include that in your list of complaints. That is a security feature, not a privacy deficit, but only if done right.

https://paragonie.com/blog/2016/10/guide-automatic-security-...

TL;DR you want automatic updates

comment 10y ago · link · parent

I'm filled with equal parts:

  - That will be *awesome*! Think of all the cool things
    we can do with this!
  - Oh no, we're going to be parsing video formats in
    JavaScript. :(
  - Hmm, I wonder if this will actually be better for
    security compared to a VLC browser plugin?
I guess we're not far from JavaScript: the one true language.

comment 10y ago · link · parent

> Not a "look at them using file extensions" rant which doesn't say anything about the quality of their software at all.

See https://news.ycombinator.com/item?id=12884523 for how the detail covered in the article could adversely affect the quality of their software and the security of their service.

I wish they had done more research in this realm, seems like they pressed "publish" far too early.

comment 10y ago · link · parent

You're fine, I just didn't understand your question on the first pass.

EDIT: https://github.com/paragonie/halite/compare/v3.1.1...3b95d85...

comment 10y ago · link · parent

> Just a heads up comments like these don't really say anything useful.

Thanks for looking through the code. I'll make the comments more meaningful on my next run through.

> Also what's happening here? This could do with a comment for more junior devs. It's impossible to Google "function with a colon on the end of it in php"

That's a PHP 7 feature called return type declarations. If it doesn't return an instance of HiddenString, PHP will throw a TypeError.

comment 10y ago · link · parent

Write it down, store half of it in a safe, the other half in a compartment in your purse/wallet (which you keep on your person).

comment 10y ago · link · parent

> 3) where there's legacy, there's most likely outdated practices like SQL queries from string concatenation or unescaped HTML output.

If you combine the article's findings with this observation, one could foresee sending a crafted /footer.php?args=SQL+Injection+goes+here type request that skips past where input is "sanitized" and results in code injection.

(Further details are NDA'd, but I've found similar issues before in production systems.)

comment 10y ago · link · parent

> But chances are this is not true (unless there is only one dev at lastpass which would also be admin of the webserver.

This is an unknown, and we can argue until we're both blue in the face about whether or not information about app A tells you information about app B, if produced by the same company, but you don't know if the same people within said company produced both apps.

But I say that point doesn't really matter: Their quality controls are either lopsided or inadequate. Neither is a good outcome for a security company.

comment 10y ago · link · parent

I don't disagree (although I prefer KeePassX), but let's be charitable:

  - What LastPass gets is ciphertext, not your unencrypted
    passwords. Important detail.
  - There are opportunities for LastPass to receive your
    master password (i.e. if you enter it on their website).
I haven't audited LastPass. After Tavis Ormandy looked at it earlier this year and published his findings, I wouldn't be surprised if the crypto was totally and hopelessly broken.

But to eschew the fact that their app does encrypt passwords before sending them to their servers isn't fair.

comment 10y ago · link · parent

The code quality of their website and the code quality of the application they sell might be two different things, but the overlap between both topics is "code quality", which is what I said.

comment 10y ago · link · parent

Modern PHP (which LastPass almost certainly isn't using or writing) isn't really worthy of disdain.

https://github.com/paragonie/halite/blob/master/src/Symmetri...

(Disclaimer: My project.)

comment 10y ago · link · parent

One one point: This is kind of meaningless and alarmist.

On the other: It says volumes about LastPass's code quality.

1260.

Automatic Security Updates for Developers(paragonie.com ↗)

8 points · by CiPHPerCoder · 10y ago · 2 comments

1
414243
60