Commit ff69ae30 authored by tobias.dussa's avatar tobias.dussa

Fixed encoding.

parent 661e375b
......@@ -37,7 +37,7 @@ while True:
# otherwise
with open(infile, 'rb') as pkcs12file:
p12 = crypto.load_pkcs12(, password.encode('ascii'))
p12 = crypto.load_pkcs12(, password.encode('utf-8'))
except crypto.Error:
messagebox.showinfo('Fehler!', 'Zertifikat konnte nicht geöffnet werden!')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment