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

Static File Front-End?

comment 9y ago · link · parent

That's a great idea, but it's kind of wordy. Maybe something short and pithy like "Hacker News" would work?

comment 9y ago · link · parent

> So for now my approach is to sidestep the issue and refer to all trans people with "they".

I do the same, but also for cis people. It makes life simpler.

comment 9y ago · link · parent

It's both. Ever read 2600? Manning is a hot topic.

comment 9y ago · link · parent

Nobody here has argued anything about biological sex. We're talking about personal identity, which is psychological and cultural instead of microbiological.

comment 9y ago · link · parent

I'm not interesting in explaining myself to nationalists.

I will, however, say that 7 years of prison can be devastating for anyone but 35 years can totally ruin their life with virtually no chance of recovery. Most people have support systems, but will they still be intact after nearly half the average life span?

Regardless of your opinion of what Manning did, the fact that she is no longer in prison means that at least one more person has a chance at life. Isn't that worth celebrating?

comment 9y ago · link · parent

It wasn't a contradiction. I said "we" in my question.

comment 9y ago · link · parent

I'm hoping she takes some time (at least a few months) to visit friends and family and unwind from her time in prison before the media ensnares her, even a little.

comment 9y ago · link · parent

> Some people care because gender identity is eroding sex based protections.

What do your greater political fears have to do with treating others with respect?

> I should think women care a lot that men are now allowed in their spaces based on an internal sense of "gender".

Are you talking about that bathroom debacle? I've got a simple solution: http://scott.arciszewski.me/blog/2017/03/trans-bathroom-righ...

comment 9y ago · link · parent

That's actually a fact.

Gender is defined as: the state of being male or female (typically used with reference to social and cultural differences rather than biological ones).

For most people, your gender and your sex are congruent. For others, it isn't.

Even if you don't agree: Why do you care?

comment 9y ago · link · parent

So is antisocial personality disorder.

comment 9y ago · link · parent

Simple: A person's gender is a part of their personal identity. Chelsea Manning says that their gender is female, even if their biological sex is male.

As a consequence of respect for their personal identity as a member of society (and NOT fixating on their sex organs, which is frankly creepy), most people will refer to a trans* person as the gender they identify as, not the sex they were born with.

Or, if uncertain (because of genderfluidity and new pronouns like Xe/Xir/whatever), just using "singular they" and moving on with your life.

It's a polite society thing.

comment 9y ago · link · parent

In a word: No.

comment 9y ago · link · parent

> Extremely rare and almost exclusive leftists killing people on the right.

Interesting claim. I'm not sure many people on the left killed doctors for performing abortions, for example. That was mostly "pro life" conservatives, from what I recall.

Why are we even talking about this? Partisan politics isn't relevant.

Chelsea Manning is free. This is cause for celebration.

comment 9y ago · link · parent

> ALL data? How are you supposed to query against it then?

This is actually possible, it's just very easy to make over-complicated: https://paragonie.com/white-paper/2015-secure-php-data-encry...

I wouldn't recommend encrypting all data. I also wouldn't recommend using unauthenticated encryption, which the article doesn't address.

comment 9y ago · link · parent

> Say I publish an awesome and useful library but suck at UI stuff, the person that comes along and incorporates my library in a slick front end would probably get the donations.

Yep. One of my OSS projects has been installed 27 million times to date (and that metric doesn't track WordPress, which uses it), but it's unlikely to yield any sort of support contracts or revenue.

https://packagist.org/packages/paragonie/random_compat

I do get contacted to resolve support issues, but it's almost always solved by "Contact your host and tell them to make the following configuration change, because nothing I can devise will be secure without those changes".

comment 9y ago · link · parent

The term "responsible disclosure" is actually a bad term to use, even if you support it: https://adamcaudill.com/2015/11/19/responsible-disclosure-is...

TL;DR "coordinated disclosure" is preferred.

1038.

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

1 points · by CiPHPerCoder · 9y ago · discuss

comment 9y ago · link · parent

A lot of people in IT (a surprisingly high portion of programmers, even) don't understand the value of full disclosure in security research. For some reason, they decided to export their usual arguments to decry Tavis's tweet:

https://twitter.com/taviso/status/860679110728622080

The responses to his tweet calling him irresponsible are consistent with the tone of this remark. "This can help the bad guys". Nevermind the fact that there's no details in the tweet relating to the actual vulnerability or exploit.

To be clear: I don't know what relationship (if any) Graham Cluley has to the people being jerks to Tavis, and it's possible that this quote was taken out of context. However, given the backlash Tavis's tweet summoned from some Twitter users with inflexible opinions about disclosure ethics, and this alien remark in the article, I'd hedge on the two being related.

comment 9y ago · link · parent

From https://news.ycombinator.com/item?id=14292223

> * Flaws in crypto protocols aren't exclusive to, but tend to occur mostly in, the joinery of the protocol. So crypto protocol designers are moving away from algorithm and "cipher suite" negotiation towards other mechanisms. Trevor Perrin's Noise framework is a great example: rather than negotiating, it defines a family of protocols and applications can adopt one or the other without committing themselves to supporting different ones dynamically. Not only does JWT do a form of negotiation, but it actually allows implementations to negotiate NO cryptography. That's a disqualifying own-goal.

My proposal replaces the joinery with "select a version". You don't get to mix-and-match primitives. You won't fall into the trap of Reasoning By Lego.

> Centralizing implementations of cryptographic code into a few, well-vetted implementations is better than just throwing our hands up and telling the community to fend for themselves.

I'm not throwing my hands up and saying "fend for yourselves". I've outlined what needs to be changed to make it secure, and said I'll write a formal spec when I have the time, as keeping a roof over my family's head takes precedence over doing a lot of thankless unpaid work.

comment 9y ago · link · parent

Yes it is. Most of the problems people point to with JWT exist in JWS or JWE.

comment 9y ago · link · parent

JWT uses JWS, JWE, or both. Any criticism that targets JWE and JWS is necessarily relevant to JWT.

The problems with JWT being addressed are in the domain of cryptography designs, so it's natural to criticize the cryptography components.

The other problem with JWT is how people use it: http://cryto.net/~joepie91/blog/2016/06/13/stop-using-jwt-fo...

comment 9y ago · link · parent

I've previously made my proposal to the JOSE IETF mailing list. The participants just held their nose up to it.

https://www.ietf.org/mail-archive/web/jose/current/msg05621....

https://gist.github.com/paragonie-scott/c88290347c2589b0cd38...

When I'm not dealing with client work, I'll write a replacement for JOSE that has the properties I outlined above. Until I find the free time for this, things that increase my income take precedence.

comment 9y ago · link · parent

> Only if you completely bungle the implementation on the server-side.

I call this "blaming the user for the designer's error-prone cryptographic designs".

The problem with JOSE (the superset of specifications that includes JWT) isn't libraries written by careless developers, the problem with JOSE is the standard itself.

https://paragonie.com/blog/2017/03/jwt-json-web-tokens-is-ba...

If in doubt, ask a cryptographer.

The problems, for people who don't want to read articles from comment links, are:

  - JSON Web Signing
    - alg headers
    - "This Header Parameter MUST be present and MUST be understood and processed by implementations."
  - JSON Web Encryption
    - RSA with PKCS1v1.5 padding (power word: Bleichenbacher 1998)
    - ECDH over NIST curves (and, in practice, invalid-curve attacks)
    - AES-GCM included in a list of asymmetric algorithm choices, for added confusion
    - AES-GCM for shared-key encryption, without guidance over nonces or key rotation
A better solution from JOSE would only give developers two options:

  - Version (v1, v2, v3, etc. which hard-coded the algorithm choices)
  - Operation
    - enc -> crypto_secretbox()
    - auth -> crypto_auth()
    - pub-enc -> crypto_box_seal()
    - pub-sign -> crypto_sign_detached()

comment 9y ago · link · parent

I don't doubt that HTTPS fingerprinting can be useful, but you can see the contents of their communications with HTTP. That seems much more useful for getting intelligence about Tor users.

comment 9y ago · link · parent

> In my experience, HTTPS makes you more distinct and trackable than plain HTTP.

You lost me here.

https://www.wired.com/2017/01/half-web-now-encrypted-makes-e...

comment 9y ago · link · parent

...but is it remote? I would turn down a $500,000 a year job if it were onsite-only.

comment 9y ago · link · parent

> How?

Preventing someone from entering the industry fails the person.

> Doesn't this just imply that there is enough supply for those companies that want to pay a lower wage?

If you ignore the human aspects entirely, sure.

There's no telling what heights he could climb to if given the chance, but nobody wants to do that.

They want years of professional experience before they hire someone. But they only want to pay entry level wages. This creates a catch-22:

If you have the professional experience required, you can find a better paying job elsewhere.

If you have no professional experience, you can't get an entry-level position.

comment 9y ago · link · parent

An enormous problem is this:

"We want someone with years of experience, but we want to only pay an entry-level wage." - If most companies were honest

A friend of mine is still struggling with this. Nobody wants to hire him, because he doesn't have years of professional experience and didn't have access to a good four-year college where he lives (Nowhere Wisconsin), and there are medical complications preventing him from moving away.

I personally taught him a great deal about programming and security. He's studied computers and networks for years before we met. He's talented, coachable, and willing to learn more.

The market fails people like him.

1
343536
60