News for hackers. Stuff that matters.
Re:Before you Dual Boot – MS, OEMs and Linux by userbinator on Sunday March 16, 2014 @10:58AM (#7409613)
I'm now happier than ever that I bought one of the last pure-BIOS motherboards of the i7 era, and a laptop (Thinkpad X60) that can run completely free software (https://www.fsf.org/resources/hw/endorsement/gluglug , although I didn't know that when I bought it several years ago ), and I plan on holding on to these machines and making the most of them for as long as I can, because the future of the PC is looking more and more closed with each new change.

It was only a few decades ago when IBM released the PC AT, complete with a full set of documentation, even the full source code of the BIOS. Now you're lucky if you can even get a datasheet for the SuperI/O chip or processor VRM controller. I've observed this decrease in openness through the years, but it's only most recently (post-Nehalem?) I've noticed this happening at an accelerated pace.

Throughout this time, all the changes that have been made for "security" appear to me as more and more like attempts to secure systems against their users, taking control away from them and forcing them to trust some authority instead. Code signing, secure boot, TPM, patch protection, etc. It is becoming more difficult to stay in control of the hardware you bought.

It is true that several years ago, it was probably much easier to infect systems with malware, but at the same time, the users had more freedom; including the freedom to explore, use, and modify the OSes of their choosing. Is this freedom something we should really be sacrificing? The well-known quote comes to mind: "Those who give up freedom for security deserve neither."

Re:Before you Dual Boot – MS, OEMs and Linux by derefr on Sunday March 16, 2014 @05:02PM (#7411266)
I think it all comes down to the death of what was, in the 90s, called the "power user."

There have always been two kinds of computer users: Administrators--those who can be trusted to administer their own systems; and Users--those who cannot, who need someone else to Administer their system for them.

The Power User emerged as a gross hybrid because of the limitations of Personal Computer OSes. In Windows 98, for example, everyone was implicitly considered an Administrator, even if they had no idea how to Administer anything. (They were Users with the full Power of an Administrator.)

What would frequently happen is that one person in an extended family would have such knowledge as to be capable of actually Administering computers, and would frequently have to drop in to perform Administrative maintenance for relatives, who had no idea they had to do such things themselves. Nobody would be looking out for the computer in the interstice.

This era is thankfully over. What do we have now? No greater number of people capable of Administering their own computers, certainly.

Instead, what happens now is that the hardware manufacturer provides hooks (the Secure Boot certificate store et al.) such that the computer's Owner can delegate Administrative power to the OS distributor (Microsoft, Apple, Canonical, etc.), leaving the Owner as a plain User. "That guy in the family who knows computers" no longer has to be involved--effectively, the OS distributor is "that guy."

This is only really a problem for people who want to Administer their own computers (though in any form-factor where you can buy a motherboard separately, all these protections can be disabled.)

Frankly, though, I see less and less of a need for people to Administer personal computers. PCs (I'm including both desktops and mobiles in this set), these days, are basically the equivalent of VT-100 terminals: fancy screens you buy, take out of the box, and plug directly into the internet.

This is what I would call the "modern tinkerer mindset":

• "Real Software" runs on Impersonal Computers: servers, either racked in your office, or existing nebulously in "the cloud." When you are developing this software, you keep a VM that simulates such an Impersonal Computer running on your Personal Computer, and interact with it as if it were a network resource.

• Development of new Operating Systems occurs using a hardware emulator (really a more precise VM), like qemu. It then moves to ordinary VM software. Everyone else who tries your hobbyist OS will only want to run it in a VM themselves. Getting it running on Real Hardware is a 1.0 feature.

• If you want to fiddle with hardware yourself, you get a Raspberry Pi, or any of innumerable other devices aimed squarely at tinkerers. You could develop an OS using these, too, although it's a much greater hassle than just using emulation software. These devices are open in ways Personal Computers never were, having everything from schematics to JTAG pins available.

Given that mindset, what do you gain by having Administration rights to your new-age VT-100 Personal Computer?

You might answer "the surety that Microsoft/Apple/etc. will never ban VM software from its platform", but no OS distributor would dream of doing this: after all, how, then, would its first- and third-party developers do their jobs? They rely on VM software just like the rest of us.

Re:Before you Dual Boot – MS, OEMs and Linux by userbinator on Sunday March 16, 2014 @07:50PM (#7411982)
> Given that mindset, what do you gain by having Administration rights to your new-age VT-100 Personal Computer?

The freedom and power to control what's yours. A chance to explore, to learn more about the system you're using and possibly adapt it to fit your needs. IMHO giving users that chance is very important: how many experienced developers started out as power users - who also were originally only users? By taking away these chances, keeping regular users relatively oblivious, fewer of them will want to go through the increasing hassle of "becoming a developer"; it becomes an abrupt decision instead of the continuum of knowledge it once was. This divide between "users" and "developers/administrators" only makes it harder for users to cross that gap, and takes control away from them.

> If you want to fiddle with hardware yourself, you get a Raspberry Pi [...] These devices are open in ways Personal Computers never were, having everything from schematics to JTAG pins available.

Funny you mention the RPi, as it's nowhere close to being as open as the PC/AT was.

Re:Before you Dual Boot – MS, OEMs and Linux by derefr on Sunday March 16, 2014 @08:24PM (#7412115)
You seem to be conflating "developer" with "administrator", which I just don't understand.

Want to be a developer? Download https://love2d.org/, open Notepad and write some Lua, save it in the same directory and run the executable. Or write some text that starts "<script>", save it as HTML, and double-click it. Or download Racket and follow the tutorials. Or, if you really insist on writing low-level code, download {Visual Studio Express, XCode Command Line Tools, Debian build-essential} and open up a shell. Learning to program has only gotten easier and easier over the decades.

But wanting to be an Administrator? What for?

Do you want to Administer your DVD player? It's an appliance. It plays DVDs. It works well because it only plays DVDs.

PCs are appliances. They run, in sandboxed environments, "application software", which are binary packages code-signed-by-proxy by the OS developer. They work well because they only do this. And within the framework of these restrictions, you can still program new software, or an entirely new OS. These are tasks this appliance lets you perform.

You can build your own computer. It won't be an appliance. You can also build your own DVD player. It won't be an appliance either. Is it so bad, then, that DVD players exist for playing DVDs? Is it so bad, then, that PCs exist for running sandboxed code-signed applications?

Re:Before you Dual Boot – MS, OEMs and Linux by diydsp on Sunday March 16, 2014 @09:54PM (#7412433)
<sarcasm> What do you have a kitchen for? You can microwave TV dinners all you want. If you want to make your own recipe, say because you want to be healthy, or don't like the flavor of TV dinners, you can just make a simulated Real Recipe out of pieces of TV dinners. It's almost as good.

Just let someone else more qualified than you, or well maybe not more qualified, but more in charge than you, decide what you should eat. Selecting a restaurant or frozen dinner has only gotten easier and easier over the decades. But wanting to be a cook? What for?

And why do you need a camera? People should be able to sell you pictures of whatever you want a picture of. There should be enough pictures of everyone on Facebook already. Or, if you really insist on having a picture of something or someone that a Big Corporation doesn't have, just get out some crayons and sketch them. Buying crayons and coloring books has only gotten easier and easier over the decades. But why take your own pictures, what for?

And what do you need musical instruments for? Want to be a musician? Just download some songs that have already been written and play them in a different order on your DRM-closed player. Or, if you really insist on having your own choice in music, just call a radio station and request something. Calling and requesting songs has only gotten easier and easier over the decades. But wanting to make your own music or start your own band? What for?

And that address bar on your web browser? Just go to yahoo.com, and click all the links there. They already know what's good for you. If you really insist on having your own, post to a social network. Starting a web page on Facebook/google has only gotten easier and easier over the decades.

But wanting to go to whatever websites you want - or make your own websites? What for? </sarcasm>

Re:Before you Dual Boot – MS, OEMs and Linux by derefr on Sunday March 16, 2014 @10:19PM (#7412510)
Er, did you miss the part where I said "You can build your own computer. It won't be an appliance"?

Most kitchens have microwaves in them. Sometimes a microwave is the best tool for a job. (For defrosting red meat, for example.) But chefs don't insist on forcing their microwave to somehow do all their kitchen-related tasks; they use other tools, each with its own affordances, each with a best-suited task, together, to get done what they want done.

Likewise, a home-entertainment system usually has a DVD player in it. You don't try to use your DVD player as a PVR, or a video-game machine. You use separate devices for each of those tasks.

A capital-c-Computer is an amazing machine that can do many things equally well--it's sort of like an undifferentiated stem-cell. I completely understand wanting to use a capital-c-Computer, just for the sheer neatness-factor of it.

But a PC? The modern PC isn't a capital-c-Computer. The modern PC is a microwave, a DVD player. Like the microwave, like the DVD player, you likely have one in your toolkit--in fact, you likely use it for a lot of things. But it'd be silly to expect it to do everything.

You can have your capital-C-Computer and a PC too. Neither of them is going anywhere.

Re:Before you Dual Boot – MS, OEMs and Linux by null_ptr on Sunday March 16, 2014 @07:29PM (#7411905)
My new-age VT-100 PC is still a general purpose computer, and if I want to use it as such I should be able to. I see the advantage of shipping it as a VT-100, but I don't see any advantage in blocking power users from unlocking its full potential.

Nobody wants to work on hobby projects that have no chance of ever running on real hardware. What's the point then? Even if you'll never get to run your hobby OS on real hardware, that possibility still serves to motivate the developer. Nobody likes to work on things they know beforehand nobody will ever use for anything.

As an example, coding a toy shell in JavaScript that runs in a web browser and prints some text to a canvas is not the same as coding a toy shell that can touch the actual file system and be used for real work.

Life is too short to write toy software for emulators, I want to write software that people use and get something out of. I'm an engineer, if I buy a computer it's because I want to make cool things with it and for it, not because I want a dumb terminal to connect to some rented server.

Re:Before you Dual Boot – MS, OEMs and Linux by derefr on Sunday March 16, 2014 @07:45PM (#7411961)
> Nobody wants to work on hobby projects that have no chance of ever running on real hardware.

I never said hobbyist OS projects won't run on real hardware; I said running on real hardware is a "1.0 feature." Which is to say, around the 0.9, you start taking some real test machines, disabling their boot protections, and putting your OS on them. You get it polished.

And then, only after that, you go and apply for a boot-signing certificate from the hardware makers. Which, because you now have a real, polished OS instead of a hobbyist project, they will give you. It's sensible enough: if they gave a cert to every hobbyist developer, one of them might just be a virus-writer; but there are only so many groups who actually end up with real, working, polished Operating Systems that Users will want to run. And it's easy enough to tell when a group has made one of those, and to sign their bootloader.

This is, if you'll note, pretty much the same logic behind the iOS development workflow. First, you deploy to test devices that are specifically configured with an "I am an Administrator, obey me" flag. Then, once you've proven out your software on those devices, you get it signed with a "this is allowed to run on regular User PCs" cert.

---

Also: if a "toy shell in Javascript" can both connect to the network, and use the browser's Javascript data-storage APIs to store data, then what makes it incapable of getting Real Work done? It's basically a (really slow) VM.

Re:Before you Dual Boot – MS, OEMs and Linux by null_ptr on Sunday March 16, 2014 @08:01PM (#7412029)
So what happens if the people in charge of giving certificates, approving marketplace apps, etc. decide they don't like me and give me the boot even if my product is perfectly fine? They're human, and humans screw each other for petty reasons and out of self interest all the time.

If someone buys a computer, why do there have to be barriers from getting and using software directly from the developer? This has everything to do with milking money from developers and making users' alternative choices as difficult and unpractical as possible. It's discouraging choice and diversity.

--

> Also: if a "toy shell in Javascript" can both connect to the network, and use the browser's Javascript data-storage APIs to store data, then what makes it incapable of getting Real Work done? It's basically a (really slow) VM.

So who wants to play with "basically a (really slow) VM"? Why should hobbyist developers be content with only having access to second rate capabilities? No thank you.

Re:Before you Dual Boot – MS, OEMs and Linux by derefr on Sunday March 16, 2014 @08:50PM (#7412205)
> So what happens if the people in charge of giving certificates ... decide they don't like me

Then the developers get angry and throw out the people in charge. Imagine, for example, what would happen if IANA arbitrarily stopped just a few people from getting domain names. We'd get a new IANA. (We can't do this with the "apps marketplace" vendors, though, and that is a problem. It's probably something that should be solved with an anti-trust suit or two.)

> If someone buys a computer, why do there have to be barriers from getting and using software directly from the developer?

Because--and this is the whole point of the Users/Administrators distinction--Users don't know enough about computers to distrust malicious software.

We put barriers between people and phishing sites, so they can't be tricked into giving their money away. We put barriers between children and in-app purchases, because they don't understand the consequences.

This is the same idea. Most people would go through whatever series of scary dialog boxes it took to run "cat_videos.exe". If you, an Administrator, were standing right there beside them, you'd grab the mouse from their hand and stop them, for their own good. We can't be there all the time. We want the OS to grab the mouse from their hand for their own good.

Re:Before you Dual Boot – MS, OEMs and Linux by userbinator on Monday March 17, 2014 @02:14AM (#7413435)
> Users don't know enough about computers to distrust malicious software.

Then the solution is to educate them, not mollycoddle them and keep them locked up. But knowledge is power, and educated users are difficult to control and deceive, so the "developers", the ones who want to remain in control, don't want that happening.

> We put barriers between people and phishing sites, so they can't be tricked into giving their money away.

The same people who would then fall for a different scam, before even more barriers are erected, and would think "security software X doesn't think this is a phishing site, so it must be safe."

> We put barriers between children and in-app purchases, because they don't understand the consequences.

A "think of the children" argument? I agree a lot of young ones haven't developed to that point yet, but if you make it so they never experience any bad consequences, they'll never learn from them too.

> If you, an Administrator, were standing right there beside them, you'd grab the mouse from their hand and stop them, for their own good.

No, I'd just tell them "you're very likely not going to like the outcome, but the ultimate choice is yours."

"We do not truly have freedom if we do not have the freedom to make the wrong choices."

Re:Before you Dual Boot – MS, OEMs and Linux by null_ptr on Sunday March 16, 2014 @11:44PM (#7412879)
> Then the developers get angry and throw out the people in charge.

I'm talking about small everyday people, not rich Silicon Valley rock stars bitching to their Twitter followers to trigger a social wave of justice.

> Users don't know enough about computers to distrust malicious software.

I'm not arguing against secure defaults, I'm arguing against removing the option for power users to use their computing devices as they see fit.

Re:Before you Dual Boot – MS, OEMs and Linux by bulatb on Monday March 17, 2014 @09:47AM (#7414938)
> We want the OS to grab the mouse from their hand for their own good.

Solutions which protect the user from cat_videos.exe can also "protect" them from subversive_essay.pdf (or competitor.com). It's maybe not that practical a vector, at least where there's democracy and competition, but still something to consider.

Re:Before you Dual Boot – MS, OEMs and Linux by vertex-four on Monday March 17, 2014 @06:52AM (#7414267)
> Then the developers get angry and throw out the people in charge.

The developers aren't the ones giving these companies money. The users are. The developers aren't their customers. The users are. The developers have little power to "throw out the people in charge" as long as the users keep giving the companies money.

Re:Before you Dual Boot – MS, OEMs and Linux by pwg on Sunday March 16, 2014 @12:09PM (#7409935)
> Throughout this time, all the changes that have been made for "security" appear to me as more and more like attempts to secure systems against their users,

"The right to Read": http://www.gnu.org/philosophy/right-to-read.html RMS was right all along.

"The Coming War on General Purpose Computing" http://boingboing.net/2012/01/10/lockdown.html, Cory Doctorow, 17 years from now most will realize that Cory was also just as right as RMS was 17 years ago.

Re:Before you Dual Boot – MS, OEMs and Linux by comex on Sunday March 16, 2014 @06:55PM (#7411765)
I don't think it's fair to group measures that have a valid security justification along with those that do not. Code signing, secure boot (including TPM when used as a part of that), and patch protection do, and can be disabled. Linux distros really should probably have more rigorous protections along those lines, but manage to avoid it because nobody targets Linux (not because it's that much more secure); Chrome OS has them anyway, despite almost everything being open source, including Chromebook bootloaders, and I like that fact.

Meanwhile, proprietary software and closed hardware specifications have nothing to do with security and should be criticized more harshly.

Re:Before you Dual Boot – MS, OEMs and Linux by mindslight on Sunday March 16, 2014 @07:52PM (#7411990)
The idea of secure boot could theoretically be a no-tradeoff security positive, but the implementation would be quite different from what it is currently. For starters, any non-user-hostile solution is going to have something like a usb device header on the motherboard as the highest-privileged interface to the system (with something like mandatory time delays to prevent against evil maid attacks). But to large manufacturers run by business people, the attraction to a hardcoded manufacturer-administered signing certificate for the trust root (which obviously erodes the owner's control) is just too strong for us to see a proper implementation any time soon.
Re:Before you Dual Boot – MS, OEMs and Linux by comex on Monday March 17, 2014 @01:05AM (#7413178)
You realize that with UEFI (ed: on x86... yes, Windows RT devices are different), you can either disable Secure Boot or (at least on some systems) replace the root key with your own, without any hardware modification?

On Chromebooks, which I'm a bit more familiar, you cannot, and disabling verification involves a 30 second delay on boot with beep, to prevent against evil maid attacks. However, apparently it's not too hard [1] to flash the ROM on some devices if you can open the thing.

[1] http://krblogs.com/post/63809988096/bootloader-unlock-on-sam...

Re:Before you Dual Boot – MS, OEMs and Linux by yuhong on Sunday March 16, 2014 @09:09PM (#7412285)
I once proposed handing the keys to an independent standard body, particularly after FSF complained about the process.
Re:Before you Dual Boot – MS, OEMs and Linux by mindslight on Sunday March 16, 2014 @09:38PM (#7412380)
But why forge a centralized ring of power in the first place? Even completely above-reproach independent bodies can still be co-opted by subpoenas and the like. And the mere existence of that possibility for control is blood in the water for governments.
Re:Before you Dual Boot – MS, OEMs and Linux by null_ptr on Sunday March 16, 2014 @07:12PM (#7411844)
Gluglug is cool but is not a solution for the future - there's only so many working X60's they can salvage. I think the sustainable way is to embrace Linux-friendly companies that cater to general computing.

When my Sandy Bridge laptop dies, I will buy my next computer from System76 who sell Ubuntu laptops. My next laptop may not even be an Intel laptop - I don't need x86, when most programs I use are open source and can be compiled to run natively on anything. I hope we will have a healthy number of Linux ARM laptops to choose from in the near future.

Re:Before you Dual Boot – MS, OEMs and Linux by dublinben on Sunday March 16, 2014 @09:38PM (#7412378)
You might not care about free software, but all System76 laptops use proprietary firmware for their Intel wireless cards. The laptops from ThinkPenguin do not.

If you're going to support "Linux-friendly" computing, you should also support free software. If not, you might as well just get a Dell XPS Developer Edition or Asus Zenbook and slap Ubuntu on it.