News for hackers. Stuff that matters.

trishankkarthik

Re:PyPI now supports digital attestations on Thursday November 14, 2024 @10:24AM (#42137079)
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 :)

Re:RIP Flynn.io on Monday March 01, 2021 @12:16AM (#26299956)
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.
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.

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.
Re:A Better Crystal Ball? on Wednesday October 14, 2020 @07:18PM (#24782881)
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.
Re:A Better Crystal Ball? on Wednesday October 14, 2020 @07:32AM (#24775401)
Thanks, yes, I try to write in a way where even I don't fall asleep, unlike our "nirvana fallacy" friend below...
Re:A Better Crystal Ball? on Wednesday October 14, 2020 @12:09AM (#24773013)
Not a criticism if the worst you can say about someone is that he is "mean," not that he is wrong.
Re:A Better Crystal Ball? on Tuesday October 13, 2020 @06:57PM (#24771267)
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.
Re:A Better Crystal Ball? on Tuesday October 13, 2020 @06:48PM (#24771191)
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.

Re:A Better Crystal Ball? on Tuesday October 13, 2020 @06:42PM (#24771147)
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.

Re:Apprentice, Journeyman, and Master: The Medieval Guild (2018) on Tuesday September 15, 2020 @12:50AM (#24477977)
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.

Re:Learn Big-O and stop hacking your way through algorithms on Thursday August 20, 2020 @06:39PM (#24229848)
BS. Big-O is designed by academics for academics. This is not how you would teach high school students with an apprenticeship model.
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?
Re:Signing .jars is not worth the effort on Sunday July 26, 2020 @02:29PM (#23959059)
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/

If you guys can't even take a "bad" joke, gods help you all. Feel free to ban me.
dang, I was clearly joking...
YAML IS NOT AN EFFING PROGRAMMING LANGUAGE, EVEN IN 2020
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.

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...

Re:The new Microsoft Edge is out of preview on Wednesday January 15, 2020 @11:02PM (#22061582)
Last I checked, Chrome uses CUP, which is more like TLS than TUF
Hi Stan!
Re:Why no one is exponentially smarter than others on Sunday November 24, 2019 @04:02PM (#21623384)
1. ?? You do realize there are self-appointed geniuses who actually make this kind of arguments, right?

2. That snake-oil AI paper guy, right though he may be here, you know he's jealous of Bitcoin, right? Wrote a whole academic paper trying to justify how Bitcoin wouldn't exist w/o academia. If he was so smart, why didn't he write Bitcoin himself?

3. If this was so obvious and you're so smart, why didn't you write it yourself?

Re:Why no one is exponentially smarter than others on Sunday November 24, 2019 @03:41PM (#21623210)
If you're so smart, and this idea so obvious, why didn't you write about it?
Re:Why no one is exponentially smarter than others on Sunday November 24, 2019 @03:36PM (#21623178)
Define it rigorously. We have, in terms of the amount of computation in m time steps.
Re:Why no one is exponentially smarter than others on Sunday November 24, 2019 @03:34PM (#21623162)
You get it (I was a PhD, too)
Re:Why no one is exponentially smarter than others on Sunday November 24, 2019 @03:33PM (#21623158)
You tell me: why would it? And if it could, why can't we build similar machines?

Older »