summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsegfault <segfault@riseup.net>2018-06-04 17:36:12 +0200
committersegfault <segfault@riseup.net>2018-06-04 21:59:02 +0200
commitc4c4b8a47fd31ec393fbdded92327b4e0a13cbe9 (patch)
treece94a115003a637ff1aff4f260ce06568711cd64
parent8df30a7076f444f38021ae80eff6d2562a866cba (diff)
tails-screen-locker: Support unicode characters in password
-rwxr-xr-xconfig/chroot_local-includes/usr/local/bin/tails-screen-locker2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/chroot_local-includes/usr/local/bin/tails-screen-locker b/config/chroot_local-includes/usr/local/bin/tails-screen-locker
index d515ceb..14e14c4 100755
--- a/config/chroot_local-includes/usr/local/bin/tails-screen-locker
+++ b/config/chroot_local-includes/usr/local/bin/tails-screen-locker
@@ -59,7 +59,7 @@ class PasswordDialog(object):
if not pw1 == pw2:
return
- self.pw = pw1.encode('ascii')
+ self.pw = pw1.encode('utf8')
bus = SystemBus()
object_path = bus.get("org.freedesktop.Accounts").FindUserById(os.getuid())