Hemlis blog

Hemlis update #8 – Video

We just updated our webpage https://heml.is with a brand new video showcasing the current beta apps!

In the video can you see the conversation list, initiating a new conversation, our emotes, sending attachments and quick reply.

Right now we are working on the server scaling. Both when it comes to handling millions of users and the gigantic amounts of attachments you will send with Hemlis each day. The system features group chat and allows multiple devices per account. Both these creates a vast amount of data and connections the servers need to handle.

Once we have that and the last bugs sorted out we are ready to start the work to rolling out in the app stores.

Hemlis update #7 – The state of the union

As you can see, Hemlis will work, in the future.

We agree with you! It has taken us far to long to get Hemlis ready and we’ve been terrible at updating you of our progress. We had the ambition to fill the void between the existing secure apps and the accessible messengers out there. Simply making a secure messenger wasn’t enough, we wanted it to be innovative and highly accessible as well. We underestimated the amount of work that was needed to get all thing in place, running and absolutely perfect.

As you might have read elsewhere, Peter got arrested two days ago and will now serve a 5-8 months in prison for promoting copyright infringement, obviously a bullshit charge. Peters imprisonment will not directly affect the release of Hemlis, but it does however affect us as individuals and as a team. Everything is currently in turmoil but we are doing our best to get things back on track and Hemlis on to your devices.

The good news is that we are a whole lot better at writing code than we are at writing blog posts. Hemlis is currently in closed beta, yes you read that right. We have invited a number of people to help us weed out the worst bugs and so far things are going very smoothly. We are happy with the results and are proud to say that we have compromised very little with what we set out to do. There are still a few items on our todo-list, but we are confident that we’ll have them sorted very soon. We are close to actually start rolling out!

PS: We wanted to post a teaser video of the app in action but we obviously suck at getting things done in time so we’ll post that later this week. Hopefully.

 

Update: Obviously you all started to ask about an open beta. We would love to do that, but Apple does not allow for it. On iOS the only way to get installed on more than 100 devices is to launch in the Appstore. We could do a public beta for Android, but a beta test that only tests one app is kind of not a great test. Do not worry though, we have some great ideas on how to roll out in a way that will get funders into the system first. More about that later.

Hemlis update #6 – Contact discovery

After the Snapchat exploits, we have been getting questions from concerned people wondering what we are doing to protect our system from this kind of data leakage.

We are pretty sure you don't want this.

We are pretty sure you don’t want this.

In the early days of instant messaging users found each other through word of mouth or through other out-of-band communication. Instead of searching for your friends you asked them for their username or in some cases a long unique identifier (yes icq we are talking about you) which you then had to type in to your IM client in order to talk with them. While tedious this system is obviously still in use for most IM’s and other internet services like email and web pages (remember when we didn’t have search engines?).

You have likely already done the manual labor of finding your friends at least once by using social networks like Facebook, or in the case of mobile phones, by adding them to the phones address book. Lets be honest here, today most of us don’t have the patience to do all that work over and over again each time we add a new social application. If we can’t get it working within a few minutes, we move on to the next thing.

That is exactly why contact discovery is so common and quite necessary.

Malicious lookups
The basic principle of contact discovery is that an application extracts identifiers from a contact list and then uploads it to a server in order to match it against a list of known users. Implementations differ in how they upload the data, where some send everything in plain text others will use hashes or better yet hashes sent over encrypted connections. For any matching user the server will then reply with an identifier that the application can use in further contact with that particular user. Now depending on the implementation this is a potential problem.

When building a user search the easiest way to implement it would be to do something like the following:

  • The client sends the phone number 123456 to the server which matches it to user abcd and returns abcd to the client.
  • The client then sends the email foo@bar which again matches the user abcd so the server responds abcd.
  • The client now knows that abcd = 123456 and foo@bar.

A malicious client could now repeatedly and systematically ask for new matches until it had managed to assemble a huge database of users and their information. Which is what happened to Snapchat.

A small change to the servers response could completely avoid this problem. By giving each identifier a unique response it is impossible for the client to know which user a certain identifier belongs to. Now this solution wouldn’t work for a service with public profiles, like Facebook, but it happens to work quite well for an instant messenger where a client only needs to be able to send a message to a given address.

Another potential problem lies in the data that the client sends to the server during contact discovery. Even if the client sends the data hashed (obfuscated), the server will still get access to information that some people might not want that server to have. Although we wouldn’t be able to connect an email to a specific user unless that user had uploaded their email, we could create a huge database of email addresses, which in itself is valuable to certain companies (read: spammers). In a perfect world we could have contact discovery without sharing any information with the server, but unfortunatelly we don’t know of any practical way to do this.

Hemlis update #5 – New year new progress

Welcome to 2014, the year we make a change. It’s very due we gave all of you an update. It’s easy to think that a project like this is just a question of two clients, but it’s not. Here are the full spectrum of what we have been and are up to.

Clients
Both clients (iOS & Android) are neck to neck in development and we are starting to see the final product. We are testing the app heavily ourselves and it even got it’s own notification sound. A new way of handling emotes have been implemented that we are very satisfied with. And yes it’s as user friendly and beautiful as we wanted to be.

server-web

The Hemlis servers that are up and running so far.

Backend
Right now we are focusing on getting the backend software finished. There are quite a few parts to this puzzle. Login and client distribution, the XMPP servers, key exchange, attachment distribution, user lookup and most importantly scalability.


Encryption
Although we initially said we would base our encryption on PGP we are actually using the asymmetric encryption capabilities of Daniel J. Bernstein’s nacl or more specifically the libsodium implementation of it. The private key will of course never be uploaded to the server or shared in any way. We will also provide a way for users to verify the authenticity of each others public keys, both in band and out of band.


Infrastructure

The anycast nodes are getting spread out and configured. They will route traffic hidden away from snooping eyes to our server cluster. The rest of the hardware is also being set up. So far we have two digit numbers of machines dedicated for message handling. Next in line are the file clusters for attachments (images etc). Coming up on the agenda is load balancing and client distribution.

As always, can you also find us on Twitter and Facebook if you want to follow progress in the smaller of details.

Keep it secret, keep it safe.

Hemlis update #4 – First video!

We thought it was time to give you a look at the alpha apps! So we made a short video showing conversation between two Android clients and one iPhone client.

Interview with Linus for Breitband, Deutschlandradio

Linus made an interview the other day with German radio show Breitband (Broadband) on Deutschlandradio.

You can listen to the full radio show in German here.

The parts about Hemlis was based on longer interview (in English) that has been published in whole on Soundcloud.

Hemlis update #3

Dear Heml.is backer! We just wanted to update you a bit on what’s going on with the development of Heml.is!

Since the last update we’ve found a few good people to help out building the app. We’re close to having the full crew now, so it’s really helping a lot with the speed and quality of the service we’re building.

hemlis-ios-icon

Hello iOS, time to say hello to Hemlis!

Infrastructure
We’ve also decided on infrastructure plans and started building that. It’s important to build a scalable platform that can handle the millions of users that we hope the system is going to serve. We might post a longer explanation on the infrastructure a bit later!

Hello iOS
The design for the app is looking really good now! It’s a beauty to see and is becoming more and more intuitive to use. We have come so far that we will now start the development of the iOS version.

The questions about encryption
Most questions about heml.is is about the encryption we’re going to use. How it’s going to work and details about it. For different reasons, we’ve stayed away from talking too much about the details. It’s not because we’re arrogant, it’s just that dealing with the crypto community is really time consuming. Whatever solution we’ve decided on would be criticized and we aren’t really interested in the flame war that’s inevitable. We’d rather create and get things going. Maybe a small lesson for the crypto geeks out there would be to be supportive instead of negative.

After taking all things into careful consideration, we’ve decided exactly how the encryption will work. We’ve listened to all the comments and wishes from you guys and we are now quite happy with the implementation we’re going for. It’s based on free and open source solutions and we’ll release the full source we create for the usage of it. More details will follow later, closer to release.

Until next time!
The Hemlis crew

Hemlis update #2

It’s Friday, the sun is shining and it’s almost time for that after work we’ve been thinking about all week. But before we let our minds wander towards thoughts of golden nectar, here’s another long overdue situation report from the Hemlis team.

ui

Messaging
Your messages are the center of this application and as a result your running conversations are at the top level of the navigation. By using smart defaults, logical flow and no unnecessary settings we are giving the app a clear sense of purpose and focus.

colors

Colors will be used to help you find a conversation easy.

Beyond text messages
Messaging is not only about words. Lots of nuances are lost when you write short messages compared to actually talking with someone. One thing that we have thought of a lot is how people are using emotes to convey the mood or emotion of the message. We like the idea of conveying emotion in messages, but we do not think that endless pages of emotes and stickers makes for a simple and compelling usage. We want to improve this part of texting and are testing different ideas to see if we can take text messaging to the next level. Emotes and stickers should not only make messages look fun, but also have an emotional spectrum used to carry the emotion or mood of the words.

emotes

Initial sketches for one series of emotes with a broad spectrum of emotions.

Don’t get us wrong, your emoji keyboard and usage of  : ) ; ) : /  will of course be possible.

Privacy
One of the main reasons for building Hemlis is to circumvent the mass surveillance that we now know several governments are taking part of.

As part of the ongoing mass surveillance, internet traffic is currently being stored and indexed in massive databases, allowing the data to be analyzed, searched and ultimately read at a later time. This affects everything we do online, from emails to search statistics and even our daily activities on social sites such as Facebook or Twitter.

While we wont be able to provide you with 100% privacy, we believe that we can make your conversations private enough to render mass surveillance ineffective. While most people seem to be concerned about the government reading the contents of private communications very few seem concerned about their ability to build sociograms. Our intent is that by encrypting and then tunneling all messages through the Hemlis network we are making it more difficult for them to data mine or build sociograms from your communications. The surveillance systems can see that you are using Hemlis but they can’t see what takes place inside the network.

IMG_5973

As you can see sending basic messages is now working.

Platforms
As we are still testing different ideas and implementations we are currently sticking to one platform. The initial development, is mostly done on Android, although the Android and the iOS application will be released at the same time.

Some people have suggested that we build Hemlis as a web application to make it cross platform by nature. In theory this might sound like a good idea but as we are aiming for stable and fast clients we have decided to use native code.

As a side note we are currently evaluating the possibility of extending our initial reach on to other platforms. But don’t get your hopes up just yet.

Over and out, lets go for beer!

Hello Heml.is fans! – Hemlis update #1

First off we want to thank all of you that have made Heml.is possible!
The response to our project has been beyond our wildest dreams.

We reached our funding goal much faster than we had anticipated, and while this is awesome, it also created some timing issues. You see we expected to have at least a few weeks to get organized before the funding was over. This is what we in Sweden call an “I-landsproblem”.

We also want to thank those that have given feedback and criticism and we want you to know that we are evaluating multiple solutions and will do our best to find a perfect balance between privacy and usability.

So what have we been up to?
We have answered an enormous amount of mail, tweets and messages. We have tried to reply to every single one that contacted us although a few might have slipped between the cracks. A lot of interesting people contacted us offering help, insight and praise (again we can’t thank you enough) and to our surprise some very impressive names were among them. If we haven’t reached out to you yet we will shortly!

We are currently getting our team organized and are establishing a “plan” of how we will move forward. As mentioned before, the timing is a bit off since it’s summer in Sweden, meaning most people are on vacation, so things are moving slower than we would like.
But rest assured Heml.is is comming!

Funded 100% in 36 hours!

Wow and incredible thanks to all our backers for funding us in 36 hours! That is one hell of a thing to wake up to. Yeah!

Now it’s time to get to work!

Follow

Get every new post delivered to your Inbox.

Join 330 other followers