Decentraleyes: An additional defense against large companies analyzing you

I recently found out about the Decentraleyes add-on for Firefox. To understand why Decentraleyes is a good idea and why it can help you protect your privacy, here’s what’s been happening so far:

  1. Web developers all over the world have started using the same libraries of Free Software code to solve the same common problems. This is good.
  2. Web developers thought it would be a good idea to host this code on CDNs (distributed content delivery networks). This makes pages load faster and takes the (financial) burden of hosting them off the web developers. This is also good.
  3. Large companies like Google, Microsoft and Facebook – who make money by analyzing and recording your behavior in order to sell private details about you to other companies – have started offering such library hosting for free. This is bad.

Because every time you visit a website that refers to such a hosted library, and that’s hundreds of thousands or millions of websites, you give away your intentions to the company hosting the library. You tell Google where you’ve been on the Internet, and by pinging them every time you open any number of websites, they can track where you’re going, whether you’re using your phone, your tablet or your computer, when your preferred time for web surfing is, etc.

There is a reason these companies offer this hosting for “free”. It’s because you are the product, this data about you is aggregated and resold to advertisers. What’s worse, those companies can at any time introduce malicious code into your browser by changing the libraries they offer. Your browser will not be able to tell whether it is running a manipulated version of the code.

Because we won’t be able to convince web developers to do the right thing and either create a non-profit organization to securely host all these libraries or host the libraries on the websites themselves, you can only take matters into your own hands. Decentraleyes does this for you, by downloading all those libraries to your own computer and rerouting any request that would ordinarily go to a shared library server to your computer instead. It takes no configuration, you just need to install the Firefox add-on and that’s it.

This alone won’t be enough to win back your privacy, but it’s one building block. A free bonus is that pages that would normally use a CDN now load faster if you have this extension.

Ebook market still broken

In the last 8 years or so, I’ve regularly looked at the ebook market to figure out if they’ve fixed it yet. In 2015 I can say: no, they haven’t. But there is a new star on the horizon, at least.

Let’s start with a harmless example: Out of the five sci-fi ebooks that Kobo recommends for 2014, they refuse to sell you three. They claim that the books are not available in your country, Switzerland in my case. However, if you check out the competition, you notice that even newcomers to the ebook market like Thalia/Orell Füssli have the ebooks. What’s even worse, Amazon will not hestitate to sell all those five books to you for Kindle.

So here we have Kobo, a company that claims to make premium ebook readers and offer one of the largest ebook collections in the world, unable to fulfill something that both their biggest competitor and complete newbies at this game can do. This shouldn’t be that way — if one company can offer an ebook in one territory, all the others should be able to do that, too.

On the DRM front, things are still broken as well. By far most ebooks are sold with DRM. Fortunately, some countries allow you to remove that DRM from your books, and I can only thank Apprentice Alf again for all his effort in making DRM cracking tools easy to use.

The broken state of the market means that:

  1. Amazon remains the supreme ironfisted ruler of all that is ebooks. Nothing can  compete with them right now. They appear to be able to even get around publishers’ territorial disputes, and their prices and selection are still better than the competition’s. At the same time, they cheat a dozen countries by not paying their taxes and they treat their employees like cattle, but that’s another story.
  2. You can achieve a similar selection to Amazon’s if you’re prepared to hunt through two dozen independent ebook stores for the title you want, and pay a little more for it. It will probably come as an Adobe DRM-encrypted ePUB file. Prepare to crack the DRM. If you’re in a country that doesn’t allow that, you’re fucked.
  3. Publishers and book stores still haven’t managed to find a strategy to kill Amazon, but there is movement on the front. The Deutsche Telekom and a series of German and Italian book store chains are trying with their Tolino alliance, and Tolino has everything it needs to turn into some real competition. The Tolino Cloud that syncs books you uploaded yourself plus books you bought from any Tolino alliance member to all your Tolino devices could be a killer feature.

I don’t know what could be the best interim solution until the market is fixed. Probably buying a Tolino Vision 2 and hunting for books all over, then cracking them and shoving them into your Tolino Cloud Reader so they get synced. You can even buy books from Amazon, crack them and convert them to ePUB using Calibre.

To help your hunting, here are some of my current favorite ebook stores, some even without DRM:

Maybe that helps! See you in two years for an update on the situation.

A secure, free alternative to WhatsApp that is fully under your control

Update: Nowadays, better look into a Matrix homeserver.

With Facebook’s acquisition of WhatsApp, many people are turning to alternatives such as Threema or MyEnigma. But these alternatives, while offering better security than WhatsApp, are still based on proprietary technology and controlled by a single company. Also, they have somve privacy issues:

  • Threema requires that you have the Google apps installed on your Android phone. This is nonsense, since you can buy the .apk file directly from Threema, but cannot use it unless you have the Google apps, and in that case you could have bought it through Google Play as well.
  • Threema uses Google Cloud Messaging for notifications. That means Google still knows about your chat activity.
  • Threema and myEngima are both closed source, so you cannot be sure what they actually do. You also cannot get them through F-Droid or other app stores that carry Free Software.
  • myEngima seems to not be available through any other means than through Google Play. Update: This is wrong, myEngima customer support gave me a direct URL to the .apk file. I just don’t know if they use Google Cloud Messaging, they didn’t respond to that.

If you want to avoid these problems, you can, thanks to Free Software. You can offer your friends and family your own solution for chatting, and as a free bonus, this stuff comes with full desktop support, not just mobile. So you can transparently chat with your friends either from a mobile device, your tablet, your laptop or your desktop, and you have the full source code of all the components involved.

Did I mention it’s encrypted end to end and very simple to use? No? It’s that, too.

All you need to do is:

  1. Set up your own XMPP server. I can recommend Prosody. It’s very easy to set up and has Debian packages available.
  2. Make your friends install ChatSecure. On Android, this is also available from F-Droid. Inside Apple’s golden cage, it’s only available from Apple’s store I guess. It might be on Cydia, but I don’t know of a way to check.
  3. Create accounts for your friends on your XMPP server. Enable the ‘muc’ module if you want to allow group chat via conferences.
  4. Make everybody connect. As an extra bonus, make everybody exchange fingerprints so you can have secure end-to-end messaging.

You might want to consider restricting connections to SSL-only so all possible channels are encrypted.

If you don’t have hardware you control yourself, Prosody is very resource-friendly and runs fine even on very small virtual servers you can rent somewhere. There are services like gandi.net that are reasonably protective of your privacy.

Let me know how this works out for you.

Swiss churches pay for pro-church-tax campaign using church tax

In Switzerland, any registered company is forced by the government to pay a percentage of its income as church tax. This feels like something out of the middle ages, and so political parties in several cantons are now launching an initiative to remove this tax, turning religion more into something private instead of something state-sponsored.

The funny thing is: Those who oppose forced church taxes for companies have an advertisement budget of CHF 15’000 that they had to cram together from donations. The Christian churches, on the other hand, paid their counter-advertisements using CHF 110’000 gained from, you guessed it, church tax. So companies are paying the advertisement fees to support something that they want to get rid of. Perverse!

We’re not talking about peanuts here: in the Canton of Zürich alone, the church receives CHF 100 million per year from company taxes.

Add to this that only churches of the Christian faiths receive any of our tax money, and then only if they are of the two branches that the state recognizes (catholicism and protestantism). This despite 4.3% of Swiss people being of Muslim faith and Hinduism and Buddhism combined reach over 1%. Those other religions, they don’t count, it’s probably only terrorists and hippies that subscribe to them, eh?

(Note: The Canton of Zürich also recognizes two organizations of the Jewish faith that make up 0.3% of the population. But no one at all recognizes the Muslim one with 4.3%.)

It’s no wonder Switzerland scored quite badly (for a seemingly modern western-european state) on the IHEU Freedom of Thought Report. Religion: you so crazy.

Source: 20 Minuten, Freidenker-Vereinigung.

The first week with a Jolla phone and Sailfish OS

I’ve had my Jolla phone for a little over a week now and I’ve completely switched off my Android phone. Time to see how well things are going!

Some native applications I had to grab from alternative sources:

I had to install both on the terminal using rpm: devel-su rpm -i package.rpm. You can execute this either on the built-in terminal application or by SSHing into your phone. The SSH server is built right into Sailfish, by the way, all you need to do to get it is to enable developer mode in phone settings. It even helpfully tells you its own IP.

For some things, no native Sailfish applications exist and so I had to take the second-best option, running Android apps. These were:

  • aCal, a CalDAV-compatible calendar client. Jolla’s own calendar does not have CalDAV support yet.
  • K-9 Mail, a very good email client for Android. Jolla’s own client had many issues, especially problems sending SMTP messages and sorting things into IMAP folders. K-9 is a time-tested alternative.
  • Mozilla Firefox for Android. The built-in browser for Jolla is okay, but things like double-tap to zoom and reflowing of text don’t work well yet. Text would often run off the edge of the page, and because I read a lot of text-heavy pages, that won’t do.
  • TTRSS Reader, a reader application for Tiny Tiny RSS, my web-based RSS feed reader. A port of a native Harmattan app to replace this is planned, and I’m bribing the author with beer.

All the Android applications I use are Free Software and can be obtained through F-Droid, an app store for Free Software on Android. F-Droid works very well on Sailfish OS. It actually updates and downloads faster than on my old Samsung Galaxy.

I mentioned a terminal earlier: FingerTerm, which comes packaged with Sailfish as terminal emulator, is excellent. I’d say it’s better than ConnectBot as it crams a full keyboard with arrow and meta keys into only the lower half of the screen. FingerTerm also appears to be a Harmattan port, and another very good one.

What’s still missing for me

Apart from the things mentioned above, I miss offline navigation and a good ebook reader. I don’t really read ebooks, but sometimes it’s nice to have a copy of the paperback I’m reading on some portable device in case I unexpectedly have to wait for something and don’t have my book with me.

To fill that gap, I’m sure FBReader could be ported. There is actually a Meego port for Harmattan, but it’s beta and from 2011. For offline navigation, I would like to see something that uses OpenStreetMaps data. On Android I was using OsmAnd for that. On Sailfish I haven’t installed any maps system yet — I will probably use the one from Jolla for now, even though that’s online-only.

Conclusion after one week

Am I happy with my new phone? Yes, very! The software side mentioned above isn’t everything: I get around 3 – 4 days of standby time from one charge. The screen is just the right size for me to get everywhere with just one thumb, and the Sailfish UI helps with that. Some of the gestures take a little getting used to, but all in all the learning curve isn’t bad. The thing is fast despite having a “slow” 1.4 GHz processor. I guess it’s the native apps that make all the difference.

I wouldn’t recommend the phone for non-nerds at this time, but as a geek thing, it rocks. The developer community is slowly getting up to speed with the new Sailfish stuff as well, so give them half a year to fill some gaps. It also made me consider picking up C++ again. After all, if you can program for Sailfish, you have C++ and Qt knowledge, something that might land you a few jobs not just in the mobile industry.

I’m also waiting to see what can be accomplished with The Other Half, the removable back cover of the phone that could potentially give it endless expansion possibilities (hardware keyboard, proper digital camera module, barcode scanner…). No other phone has this, and people have already made all sorts of hardware hacks for it.

Finally, I really want a Finnish phone to succeed. I had a decade-long love affair with Nokia phones, and every time I bought a non-Nokia phone it ended up being a disappointment. Of course this was in the era of black and white LCD screens and antennas poking out of the phone case. But those Finns did so many things better than the competition. I hope some of them now work at Jolla and that they’ll bring us the same level of polish.

The Jolla phone is already selling better than the iPhone 5C and 5S in Finland. The future seems bright!

The slow and painful act of ungoogling yourself, part 7: Deleting your account

So you’ve found replacements for all the things you used to get from Google, and you’re ready to delete your account. Nice! Good job. I just did the same thing yesterday:

delete_google_account

Make sure to tick every single box, otherwise they won’t let you go. Also, be sure to download any YouTube clips you may have uploaded. I had a YouTube clip with over half a million views and 3000 thumbs up, so that hurt a little bit. But it’s all good, I will be hosting that clip here in the future.

So, did you click that delete button? If you did, welcome to a tiny bit more freedom. If you didn’t: What’s keeping you with Google? I’d like to know. Feel free to comment.

The slow and painful act of ungoogling yourself, part 6: Browsers and syncing

There is something that is so basic and common to using the Internet that I perhaps overlooked it in my earlier articles: the web browser.

Google Chrome has been gaining market share at an alarming rate over the last few years. Whatever Google’s marketing is doing, it’s working, as even people who don’t know how to install a program have installed Google Chrome and are using it as their default browser. Yes, this is anecdotal evidence, but I know several people who aren’t really good around technology, who were using Internet Explorer before (!) and are now Chrome users. With no help from anyone.

Chrome is pretty fast, that’s true, but you can easily replace it with another very fast and extensible browser: Mozilla Firefox. The Mozilla Foundation especially likes to make a point of how Mozilla’s products put you, the user, in the center of everything they do, and how they value your privacy. So far, this has been true and this can’t be said about Google.

This privacy- and user-friendliness goes so far that they encrypt the things you sync to them. And if you don’t trust that, you can run your own sync server, it’s explained in great detail here:

http://docs.services.mozilla.com/howtos/run-sync.html

With the whole source code to the sync server and the server machine itself under your control, any privacy issues you might have are created by you, not by Mozilla. The sync server runs perfectly behind mod_wsgi on Apache, but for people who don’t know what mod_wsgi is (or Apache, for that matter), this is impossible to set up.

If you are one of those people, maybe you have a nerd friend whose server you trust, who you could poke to set up a Mozilla Sync server for you to sync to?

I’m still running into a few configuration issues with the server and while the docs are quite okay, I think that Mozilla Firefox itself might be to blame in this case as it doesn’t seem to be able to register new users on my sync server. But other than that, it’s nice to take your synced data into your own hands.

Update: The issue was just that I was running the sync server via WSGI behind Apache, and changing the setting to allow new user registrations didn’t get through to the already spawned WSGI applications. If you run into this issue, just reload or restart Apache, it’ll magically work after that 🙂

 

The slow and painful act of ungoogling yourself, part 5: Translation, dictionaries and online video

After all my other posts and about a year of activity on the subject of ungoogling yourself, I have come to the point where I only depend on Google for two things:

  1. YouTube videos. Funny cat videos. Zefrank. Video game reviews and such.
  2. Translations, especially of phrases and sentences.

The former hole can’t really be plugged. For video game reviews and other fun clips, I’ve subscribed to The Escapist‘s publisher thingy. That way I get HTML5 video instead of Flash video, and they give me a higher quality as well. Eurogamer and Gamespot also have some video reviews. I only miss having the community reviews you find on YouTube.

Outside of the video game area, I try to find stuff on Vimeo, and quite often I’m successful there. Vimeo is also a European company, which makes me twice as happy when I use them. And they seem to be run by proper æsthetes, look at how pretty, clean and uncluttered everything is!

Of course I won’t be able to preview albums by listening to Vimeo clips, since most people put their music rips on YouTube, not on Vimeo. On the other hand, Vimeo is much more friendly to artists and does not suffer from the horrible community that YouTube has. So you get more signal, less noise.

Talking about previewing albums, that can be done at Grooveshark. If it’s not on Grooveshark, chances are the band itself has some clips available, or there’s always last.fm. Update: And 7digital, which gives you DRM-free MP3s and previews. This can be an alternative to Amazon as well if you generally distrust very large companies.

Update: 7digital proved that they take their shit seriously. I complained about too short filenames — even ripped albums from random torrents have the complete track names in the filename, but the three albums I bought from 7digital didn’t. I complained (via Twitter), they acknowledged it was an issue on their side an released a fixed version of each of the albums less than 24 hours later. Fucking awesome.

Finally, let’s get to translations. I thought nothing could improve upon Google Translate, but now some companies have started aggregating translated pages translated by actual humans and using those to feed their translation indexes. I think this is potentially a better approach than Google’s metalanguage translation system. One of these aggregation companies is bab.la, and they also use third-party dictionaries such as the Folkets Lexkion as sources.

So these were the final building blocks. I have been mostly free of Google’s services for nearly a year now, and completely free since — uh — two hours ago. By far most of my stuff now comes from European companies, especially Switzerland, Germany, France and the UK.

In the same vein, I’ve stopped buying books and music from Amazon and now get them from Bookzilla. My vinyl comes from Supreme Chaos Records, Prophecy Productions and others.

This took me almost a year to do, and I really invested time researching things. I’m not saying that my choices are the only valid ones or that my reasoning is the soundest. But I’m sure if I could do it, you can get rid of Google in your life as well, for whatever reasons you might have.

I hope these articles gave you a shove in the right direction.

The slow and painful act of ungoogling yourself, part 4: Mobile phone operating systems

Google’s Android rules the mobile phone market like some sort of ad-flinging gorilla, and it’s not easy to escape its grasp. On a default Android phone your mouth is firmly pressed against several of Google’s teats:

  1. Google Play, their app store, which requires a Google account.
  2. Gmail
  3. Contacts (integrated with Gmail)
  4. Google Calendars
  5. Google Maps
  6. Google+
  7. Online photo galleries (integrated in Google+)
  8. Hangouts (replaces Google Talk)
  9. Currents (so they know what news you read)
  10. News and Weather

There might even be more, but those are the worst offenders. To get rid of all of those in one shot, I moved away from Android to CyanogenMod. The transition was very smooth, I didn’t even lose the data on my (virtual) SD card. Since my phone has no physical card slots, I was a bit worried. Now that I have root, I can remove those Google apps. On a normal Google-flavored Android phone, those applications are protected and can’t be removed.

My new, slimmer phone OS syncs with my own CalDAV and CardDAV servers instead of Google’s, uses my own IMAP and SMTP systems, but what about my Google Play purchases? That one hurts: If you’ve bought apps from Google’s app store, you will have to buy them again from another store if you move away from Google. And then you’re stuck with that app store.

Some authors also support alternative ways of unlocking their apps, but most of the time you’ll be forced to reinstall at least Google Play. I haven’t tried removing Google Play after installing the app, but I’m pretty sure this will break the app as the update mechanism is usually tied to the app store.

That weird practice alone is worth an entire post, but I’ll leave it at that. I’m now self-hosted and free of Google’s products and services. I might go one step further by switching from Android to SailfishOS, but that’s for the future to decide.

Phew!

Update: If you want some pointers for alternative app stores, tries the Amazon Appstore, SlideMe, F-Droid and Yandex.Store. Funnily, those Russians have way less invasive terms of service than Google…

You cannot buy an ebook in Switzerland without surrendering to two foreign companies

I recently started reading Dan Simmons’ Hyperion Cantos. It’s a fantastic series of books. I had downloaded a cracked MOBI format version from somewhere — something that is legal in Switzerland.

However, I also want the publisher and hopefully Dan Simmons himself to make some money, since I’m liking the books a lot and will probably read all four in the series. What I discovered is that even today, in 2013, it is impossible to legally buy an ebook in Switzerland without giving money to two companies known to be tax evaders and surrendering your personal information to at least one US entity.

If you buy the book from Amazon, you support a company that isn’t paying any EU or local taxes even though it turns a happy profit in countries like Germany. Also, Amazon has the right to delete the book from your device at any time if they like to, without giving any reason. That’s more like renting a book than owning a book.

If you think you could support your local book shop by buying from stores such as bol.ch or books.ch, you’re in for a rude awakening: Not only is bol.ch 300% as expensive as Amazon and 200% as expensive as books.ch, both of these companies use Adobe DRM on their books.

In order to use an Adobe DRM-crippled book, you need to support two known tax evaders, two American companies; you have the choice between Microsoft and Adobe or Apple and Adobe. Adobe’s DRM restriction system works only on Mac OS X or Microsoft Windows. In order to use it, you will have to submit personal information to companies in the USA. Finally, you will have to tie your ebook reading devices to your Adobe ID.

There is no way to keep your money or information in Switzerland, even though you’re buying from a Swiss bookstore.

I still bought the ebook in the end, but I will keep reading the already decrypted version that I’ve downloaded elsewhere, since I can’t use what I’ve legally bought. Think about it, though: If you buy ebooks in Switzerland, you are sending the signal that it’s OK to cripple books in this way, and that it’s OK for you to surrender your personal information and a part of your control to known tax evaders in the USA. Do you really want to send that message?

If not, what options do Swiss people have? I can think of three:

  1. Keep downloading pre-cracked books that work on any device, without collaborating with US companies. This sucks because that way the authors never get your money.
  2. Buy the paperback and download the book. This sucks because the paperback costs three times as much and printing and shipping dead paper around the globe is a waste if you would already be willing to read on your ebook reader.
  3. Stop reading ebooks until the market understands and offers truly decentralized, local methods to buy ebooks. Unfortunately, most people don’t even understand that there is a problem and will happily feed these companies their money.

All of this also applies to EU citizens, only that EU citizens cannot legally download cracked books, so they lose option 1. It’s sad: I wanted to relieve my conscience but instead I’ve stumbled upon something that makes me feel even worse about ebooks than I did in the beginning.

Update: I contacted bol.ch and they said that not all (but most) ebooks in their store are crippled with DRM. They say, predictably, that they have no control over DRM and that it’s the publishers that hold on to this crippling. If they want to carry an ebook, they must also agree to cripple the title for their customers.

Update 2: I just received an answer from Orell Füssli, the company behind books.ch. They say that they receive many complaints due to DRM, more complaints every day, and that something must change. What exactly will be the new strategy, they can’t yet prophesize. It’s good to see that even the bookstores themselves hate DRM. Then my question is: Why do publishers stubbornly stick to that crap?