diff --git a/passpie/crypt.py b/passpie/crypt.py
index <HASH>..<HASH> 100644
--- a/passpie/crypt.py
+++ b/passpie/crypt.py
@@ -1,3 +1,4 @@
+from __future__ import unicode_literals
 import errno
 import os
 import shutil
diff --git a/tests/test_crypt.py b/tests/test_crypt.py
index <HASH>..<HASH> 100644
--- a/tests/test_crypt.py
+++ b/tests/test_crypt.py
@@ -1,3 +1,4 @@
+from __future__ import unicode_literals
 import os
 
 from passpie.crypt import Cryptor, KEY_INPUT
@@ -131,3 +132,8 @@ class CryptTests(MockerTestCase):
 
         with self.assertRaises(ValueError):
             cryptor.check(passphrase, ensure=True)
+
+    def test_key_input_format_with_unicode_characters(self):
+        unicode_string = 'áçéèúü'
+
+        self.assertIsNotNone(KEY_INPUT.format(unicode_string))
Fix unicode character on passphrases when generating keys. Fixes #<I>