21,281 karma · joined Nov 23, 2012 (14y ago) · 6,748 submissions
blog: https://rtpg.co
email: raphael at above domain
comment 8y ago · link · parent
I get that the victim process' branch prediction can be messed with. But if my victim process is:
password = "password"
secret = "magic BTC wallet secret key"
while True:
password_attempt = input()
if constant_time_compare(password, password_attempt):
print(secret)
And my input is something like: result = ""
while sys.stdin.peek() not in ['\n', EOF]:
result += sys.stdin.get()
Then at no point is the victim program really exposing any pointer logic, so not even the victim process will be accessing the `secret` during execution, let alone the hostile process.The examples given all include arrays provided by the hostile program, and some indexing into the arrays. I definitely see this being an issue in syscalls, but if that's the scope of this, I wouldn't call Spectre a "hardware bug" any more than other timing attacks would be hardware bugs.
comment 8y ago · link · parent
But we are the ones who decide whether paying the countryside person less is "fair". The moral weight of our actions are mostly independent of what a free market gives.
The market is a tool, not the objective.
comment 8y ago · link · parent
We're all talking about how Spectre is this magic "get access to any memory from any process". But it looks to me like it's a new class of attack, that still requires specific entry points for the software you're trying to attack.
I'd like to be proven wrong on this, but it _feels_ like this is more of a software thing like other timing bugs. In theory you can write software that isn't vulnerable
EDIT: my reading of the "JS Spectre implementation" is "JIT code runs in the process of the browser + you can write JS code to read the process's own memory". I can imagine messiness with extensions (1Password in particular).
comment 8y ago · link · parent
The first section states that even with the branch prediction you still need to be in the same memory context to be able to read other process's memory through this. But eBPF lets you run JIT'd code in the kernel context.
I guess this JITing is also the issue with the web browsers, where you end up getting access to the entire browser process memory.
But ultimately the dangerous code is still code that got a "privilege upgrade"? the packet filter code for eBPF, and the JIT'd JS in the browser exploit?
So if our software _never_ brought user's code into the kernel space, then we would be a bit safer here? For example if eBPF worked in... kernel space, but a different kernel space from the main stuff? And Site Isolation in Chrome?
comment 8y ago · link · parent
Continuous deployment is a good example where this doesn't hold. You roll out things more quickly... and you experience less issues!
When issues happen, the cause is easier to isolate. After all, you only had one day's worth of changes (and not one year's worth). The previous state is more knowable. Testing is more concentrated.
Apple's new OS releases are the opposite of this. They release 30 different major changes at once, they all collide, and we end up just assuming that .0 releases will be broken.
In an alternate universe, Apple just releases updates to parts of software when it's ready. They don't pin Safari to the OS (because there's not much of a technical reason to). They could pinpoint _when_ "Month 13" started showing up everywhere beyond "when everyone downloaded that 7 gig update".
It takes some effort and tooling, but if you're expecting to make changes, a lot of times making the changes piecemeal will mean that post-release stability will increase in many cases.
comment 8y ago · link · parent
It sounds like these people should be fast tracked for citizenship, given that they would be filling a gap in the country's skillsets.
If we invite them to move to the country, it seems fair to not kick them out for no good reason.
comment 8y ago · link · parent
That would help fix sooo many of the objections to this program. But perhaps most importantly it would mean people on this visa would not be indentured servants , with the possibility of visa revocation hanging over them.
comment 8y ago · link · parent
The one thing I didn't see in the paper is how you can make sure that other users have logs of your account. Bitcoin gives transaction fees as a way to pay for your stuff to be in the data, but how would I make sure mine is tracked?
comment 8y ago · link · parent
We tax transactions, not specific euros. Income tax when an employer pays their employee. Inheritance tax once the money goes from the deceased to the heirs.
These are separate things! And no different than, say, VAT on that iPhone. Sure it's between family members , but in the vast majority of cases all parties are independent adults.
The land you inherit is not "justly yours". It was the previous owner's thing. You are getting it but it is not your divine right, except that you won the birth lottery by being born into this family.
Of course a lot of families also have smaller domains, and it makes since to have some lower limit... But let's not forget people affected by inheritance tax are overwhelmingly very rich. Most of the population ends up with nothing.
comment 8y ago · link · parent
We all should be making sure we're hearing stuff properly. I don't think many of these things are _really_ about misunderstanding, but it has happened.
Inversely, just because the speaker says "I meant X, but I didn't mean for it to offend" doesn't completely absolve the person. The words have meanings, and if you want to share you ideas, it's important to do it properly (just like you should know how to drive before going out there with your car).
comment 8y ago · link · parent
I feel like this is a bit of a passive way of saying this.
If someone says something, _they said it_. It evaporates their reputation because _they did something_.
And when saying things, it's to communicate the idea to others. I don't really think that speech exists in a vacuum. If you know saying something to somebody could offend them, you're kinda signing up to the criticism.
It feels like a lot of the essay is trying to say "we should listen to other people with controversial opinions." We were doing this in another domain for a while, with sexism.
A lot of us have just nodded and grimaced when our coworkers would make "those comments". When we'd see the berating of female colleagues. Even the words already had such an obvious effect.
I'm not saying "ban bad speech", but I do think as society we should be reinforcing the fact that words _are_ important, especially in this political climate. And that people are responsible for what they say. And... you can always apologize and change! And the world will be better for it.
comment 8y ago · link · parent
I read that as "we wouldn't vote for Trump, but did anyways because of how progressives see us". Maybe I misread this.
comment 8y ago · link · parent
It's downvoted for the same reason puff pieces on some random startup are. It's basically advertising.
(I do not know whether this site in particular actually is a propaganda outfit, but that's how the logic goes if it were)
comment 8y ago · link · parent
Dropbox develops its software in the US, markets from the US, does basically everything in the US. Yet for some reason service payments goes to Dropbox Ireland.
It's not representative of reality, and neither is Apple profits not going back to the US headquarters. The work was done in the US, the profit is going to be handed back to the shareholders. The R&D is in the US. The only thing Apple Japan (for example) is doing is reselling Apple US stuff. There's no real reason for the local subsidiary to book the entire profit.
There's a reason people find this problematic. It's because it's a tax game not representative of what's happening in the real world.
comment 8y ago · link · parent
- if 1 BTC were $100 trillion, then it's clearly passed the fundamentals of "being a unit of exchange between commercial entities", since it would be way more than what any form of exchange would ever require.
The truth behind the pedantic answer:
- if it's a store of value, then the "fundamental" value is the amount of fiat that's gone into the system so far. If all the exchanges have roughly $100 in USD deposits, the base value of their bitcoin deposits will be at least $100, roughly.
- If it's as a means of transactions, then the fundamentals are linked to how much transaction volume is going on. For example the flow of USD into BTC and vice-versa. BTC <-> BTC exchanges in that universe probably help to define things as well, as it would be used as an alternative to USD.
The dollars don't come from nowhere, so there's at least some base numbers you can think about. Thinking of it as "USD going into the ecosystem" and "USD going out" is a good proxy for now I think. Obviously very fluid, though.
comment 8y ago · link · parent
I do think it's important to say that this isn't a sure-fire deal. We had stuff like NaCl (native code in the browser) that basically died off, and other options as well.
Inversely, SPDY is not what the standard is, and Google instead pulled stuff it learned into HTTP/2. This seems like a positive aspect to me.
It's important to be wary of things that Google won't bring up, but overall I feel like we're getting a lot of benefit from having an implementer "beta test" stuff in this way.
comment 8y ago · link · parent
For example, you have jQuery, which will expose you to DOM interactions, callback-style programming and even promises.