Better HN
topnewbestaskshowjobs
Log inSign up

trishankkarthik

12 karma · joined Aug 10, 2016 (10y ago) · 46 submissions

https://karthik.trishank.com
Submissions

comment 2y ago · link · parent

Very cool, and congrats!

The corresponding ToB blog post says the following:

> Longer term, we can do even better: doing “one off” verifications means that the client has no recollection of which identities should be trusted for which distributions. To address this, installation tools need a notion of “trust on first use” for signing identities, meaning that subsequent installations can be halted and inspected by a user if the attesting identity changes (or the package becomes unattested between versions).

Agree: signing is only as good as verification. However, trust-on-first-use (TOFU) is not the most secure way to map packages to attestations because nothing stops attackers who have taken over PyPI from tampering with the _unsigned_ mapping of identities to attestations in package lockfiles for new clients (certainly in containerized environments where everything could look new), and even just new versions of packages.

Although [PEP 458](https://peps.python.org/pep-0458/) is about signing the Python package index, it sets the foundation for being able to securely map packages to signed in-toto _policies_, which would in turn securely map identities to attestations. I think it is worth noting how these different PEPs can work together :)

comment 5y ago · link · parent

Sorry to hear the bad news, John and Daniel. Thanks for all your great work, especially in promoting TUF. Hope you guys have found greener pastures now.

comment 5y ago · link · parent

I work in this area. This is not a supply chain attack. This is a typosquatting "attack" people keep rediscovering every year or two.

I know, because I wrote an as yet unpublished paper on safely pulling packages from private and public repos.

comment 5y ago · link · parent

This is NOT a supply chain attack. Solarwinds was a supply chain attack. This is a typosquatting demonstration that happens every one or two years.

comment 6y ago · link · parent

How was I "attacking" others, when they were allowed to put words in my mouth? Go ahead and ban me: @paulgraham and @sama were right about the intolerance of free speech in Silicon Valley.

comment 6y ago · link · parent

Thanks, yes, I try to write in a way where even I don't fall asleep, unlike our "nirvana fallacy" friend below...

comment 6y ago · link · parent

Not a criticism if the worst you can say about someone is that he is "mean," not that he is wrong.

comment 6y ago · link · parent

Show me the money: did they warn about COVID-19 way BEFORE it be came a problem, or did they not? If not, why should we take them seriously? It is easy to prognosticate AFTER the fact.

comment 6y ago · link · parent

You cannot fundamentally predict the future, fuhgedaboutit, partly for the same reasons we cannot use Turing machines to solve the halting problem for Turing machines.

What you can do, however, is control your exposure to outcomes of unpredictable events. You don't know when a pandemic will hit, but you know it is is matter of time, just like getting hacked. So prepare and design accordingly. Simple. No need for this superforecasting nonsense which doesn't even work.

comment 6y ago · link · parent

This is the most dangerously stupid thing I've ever heard. Tetlock is a known academic charlatan pushing his absolutely useless "superforecasting" nonsense which @nntaleb keeps debunking on Twitter. If Tetlock and friends are so good about forecasting the future, why didn't they predict and warn us about COVID-19 BEFORE @nntaleb and friends (including myself) did?

P.S. I have been downvoted for saying this.

comment 6y ago · link · parent

100%

Tech companies could hire and train students straight from high school instead of making them go through the academic priestly class, but nope, everyone wants expensive degrees and pay more for it.

comment 6y ago · link · parent

BS. Big-O is designed by academics for academics. This is not how you would teach high school students with an apprenticeship model.

comment 6y ago · link · parent

I was just thinking about this the other day: at the same time, they keep adding weird, inscrutable nonsense at the end of every Google Search URL, so what's the point of hiding the protocols and www and whatnot?

comment 6y ago · link · parent

This is why you should use a well-designed system such as The Update Framework (TUF) that aims to make security as usable as possible:

[1] https://www.python.org/dev/peps/pep-0458/ [2] https://theupdateframework.io/

comment 6y ago · link · parent

If you guys can't even take a "bad" joke, gods help you all. Feel free to ban me.

comment 6y ago · link · parent

dang, I was clearly joking...

comment 6y ago · link · parent

YAML IS NOT AN EFFING PROGRAMMING LANGUAGE, EVEN IN 2020

comment 6y ago · link · parent

That's a bit like saying: well, encrypting the iPhone isn't all that jazz, because all I have to do is hit the owner with a $5 wrench.

I mean, yes, but cryptography alone cannot solve that problem. TUF and in-toto provide cryptographic solutions to cryptographic problems, which is much more than anyone else is doing today.

comment 6y ago · link · parent

This is why we designed TUF and in-toto to detect MitM attacks anywhere in the software supply chain between developers and end-users themselves, and provide E2E compromise-resilience.

It's strange that the paper doesn't mention us considering that we have considerable expertise in this very area.

https://www.datadoghq.com/blog/engineering/secure-publicatio...

20.

Proving Darwin: A Review(medium.com ↗)

2 points · by trishankkarthik · 6y ago · discuss

21.

How to defend yourself against targeted attacks(medium.com ↗)

4 points · by trishankkarthik · 6y ago · discuss

comment 6y ago · link · parent

Last I checked, Chrome uses CUP, which is more like TLS than TUF

23.

Human Intelligence, Computation, and the Universal Machine(medium.com ↗)

2 points · by trishankkarthik · 6y ago · discuss

comment 6y ago · link · parent

Hi Stan!

comment 6y ago · link · parent

Hihi, me too: https://github.com/trishankkarthik/notebooks/blob/master/Eva...
12