Showing posts with label security. Show all posts
Showing posts with label security. Show all posts

Wednesday, 26 May 2010

Encrypted SMS and voice calls for Android phones

People using Android-powered mobile phones can now get encrypted SMS and voice calls. WhisperSystems (www.whispersys.com) has two apps in beta, available in the Android store.

TextSecure allows you to encrypt your SMS messages and stores all your SMS messages in an encrypted database. It works as a drop-in replacement for your existing Android SMS app.
They've also created RedPhone, an app that provides end-to-end encrypted voice communication. This app has a few neat features: it's difficult for snoopers to work out who you're calling (they'd need to be able to monitor a massive amount of network traffic), your calls go via Wifi or 3G and not your cellular plan (great if your cellular network provider is unreliable) and the apps are going to be open sourced (so you can be sure there's no backdoor).

There are both great apps for people concerned about their privacy or the security of the channels they're communicating over. Worried that your phone provider won't keep the contents of your SMS messages secure or that someone might be snooping on your calls? These two apps will give you some peace of mind. US-only, but coming for international Android phone users soon.

Friday, 19 June 2009

Translate Persian Twitter messages with Google Translate... automatically!

UPDATE: Cyrus Farivar has refined this quick tutorial. Having trouble with this? Follow his instructions on How to use Google Translate to translate Twitter messages from Persian.

Twitter is being used to provide real-time updates about what's happening in Iran. Following the exciting news about Google Translate now supporting Persian it's now possible to automatically translate Persian tweets into English (or any other Google Translate supported language).

Quick overview

To be able to automatically translate Persian Twitter messages, you will need...

  • The latest version of the Firefox web browser
  • Greasemonkey plugin (a Firefox plugin that allows you to customise web-pages with little bits of Javascript)
  • Google Translate user script for Twitter messages (add Google Translate button to your Twitter page)
  • Make some minor tweaks to the user script (because Twitter switched to HTTPS and the script was written before Google Translate supported Persian)
Step by step guide

1. Download and install the latest version of Firefox. Skip this step if you already run Firefox.

2. Install the Greasemonkey plugin for Firefox (you may need to restart Firefox after this step). Visit the page and click Add to Firefox...


3. Install the Google Translate user script. Visit the page and click Install...


4. Update the user script. It was written before Google Translate supported Persian and before Twitter ran on HTTPS. Do this via the form that appears when you install the script, or select Tools > Greasemonkey > Manager User Scripts. Or right-click the little monkey-face icon in the bottom-right corner of Firefox and choose Manage User Scripts.

5. Add in support for HTTPS by selecting Google Translate and then add in https://twitter.com/* and https://*.twitter.com/* to the list of Include Pages...

6. Edit the user script by clicking Edit in the bottom-left corner on the bottom right (above). Or you can edit google_translate.user.js. Add a new line at line 88 with fa: 'Persian',

7. Save your changes to your script and close the Manage User Scripts box

8. Check Greasemonkey is switched on (you may need to restart Firefox first) by going to Tools > Greasemonkey > Enabled...

9. Go to your Twitter page and login.

10. Find a tweet in Persian from one of your (new?) Iranian friends. Hover your cursor over the tweet and you'll see the favourite and reply icons appear, along with a new friend a lowercase 't'.

11. Click on the 't' icon and your friend's tweet is automatically translated from Persian into English!

Extra

If you don't speak English or want to translate into another language, you can set another language as the default.

This script doesn't just work for Persian/Farsi, it works for all Google Translate supported languages. And it auto-detects them. So, you can add new friends from around the world to your Twitter friends list!

Google Translate's Persian very far from perfect. Bear that in mind when you're using this script!

Tuesday, 16 June 2009

Google Translate, Facebook and iPhone now support Persian/Farsi

Google Translate adds Persian

I started writing a blog post just before voting began in the Iranian presidential election about the lack of a Persian option in Google Translate. With so much content on the web in Persian, it would have been great to be able to do a quick and rough machine translation into English.

Searching Google brought up no news about any new languages coming up in Google Translate. There are questions on mailing lists asking if it was going to happen, but those asking were always redirected to this FAQ saying large volumes of bi-lingual texts were needed.

But now Google Translate supports Persian (even though it's a very rough alpha version):

We feel that launching Persian is particularly important now, given ongoing events in Iran. Like YouTube and other services, Google Translate is one more tool that Persian speakers can use to communicate directly to the world, and vice versa — increasing everyone's access to information.

Being a machine translation, it's not perfect. It will certainly lose some of the flavour of Persian, the flourishes and idioms (which always lose something in translation), but it's a start. Cyrus Farivar has more on the accuracy, but seems glad it's finally here (as am I!). You can use Google Translate to translate BBC Persian into English, translate Persian tweets into English and now, the entire Persian blogosphere!

YouTube relaxes rules to help Iranians

Google also relaxed its rules on classifying videos on YouTube after graphic videos of violent attacks by Basij members on demonstrators were removed. Google lived up to its "don't be evil" motto (especially after the hurdles Iranians had to clear in order to upload their videos in the first place).

Facebook launches a Persian interface

hanks to the work of 400 Persian-speaking volunteers Facebook now has a Persian interface that automatically detect browser language and displays accordingly. The company says...

Since the Iranian election last week, people around the world have increasingly been sharing news and information on Facebook about the results and its aftermath. Much of the content created and shared has been in Persian—the native language of Iran — but people have had to navigate the site in English or other languages.

Great news and a triumph of collaborative working from those involved.

iPhone 3.0 supports Persian

People in Iran were some of the first to get jailbroken iPhones. With the highly anticipated version 3.0 of the iPhone OS, they've now got a legit Persian interface!

Pic taken from Cyrus Farivar's blog

Twitter switches to HTTPS for added security

Twitter switched over to HTTPS to ensure extra security for its web-based users. It could just be a coincidence, but I suspect its also a response to the popularity of the #iranelection hashtag and coverage the service has been getting. I'll be uploading a user guide to getting Google Translate and Twitter to work together.

Monday, 18 May 2009

American torture

With no sense of shame, American politicians and the political pundits close to them, have sought to exculpate themselves from the torture of prisoners of war, suspected terrorists and "enemy combatants". The evidence is stark (thanks to the tireless work of the ACLU and others):

  • members of the administration actively sought ways to avoid the United State's obligations under international law, the Geneva Convention, etc. and George Bush's public and personal promise to prosecute torturers
  • in practice, those people torturing detainees and suspected terrorists went further than the criminal guidance they had already been given
  • Colin Powell and William Taft understood the necessity of keeping to the rules of the Geneva Convention, but were ignored - realising that once America abandoned those rules, they put their own people at risk
  • the FBI were against it and complained about it

Despite the fact that Japanese torturers were executed at the end of the Second World War for the very crimes that have been permitted and committed;

  • blowhards claim either "water-boarding isn't torture..." (which is clearly is - visit any European museum of torture and you can see the same devices that were being used hundreds of years ago)
  • or by revealing these memos the United States' enemies will know the limits of what the US will do (which should have already been clear from treaties signed, the Constitution and what the President has said to the world)

Why has Barack Obama said he won't prosecute the people who have violated so many laws? Because he is weak and unwilling? Or because he does not feel any public pressure to prosecute these people? The recent example of Somali pirate hostage-takers being killed ought to offer a counter-balance. With safety and security for detainees, POWs and prisoners and a strong stance against torture the US ought to be able to say to its enemies, those interfering with American citizens abroad, etc. "If you fight us, you will be killed. If you surrender, you will not be harmed."