Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KIT-CA
RecodeCertificate
Commits
ff69ae30
Commit
ff69ae30
authored
Mar 19, 2018
by
Tobias Dussa
Browse files
Fixed encoding.
parent
661e375b
Changes
1
Hide whitespace changes
Inline
Side-by-side
RecodeCertificate.py
View file @
ff69ae30
...
...
@@ -37,7 +37,7 @@ while True:
# otherwise
try
:
with
open
(
infile
,
'rb'
)
as
pkcs12file
:
p12
=
crypto
.
load_pkcs12
(
pkcs12file
.
read
(),
password
.
encode
(
'
ascii
'
))
p12
=
crypto
.
load_pkcs12
(
pkcs12file
.
read
(),
password
.
encode
(
'
utf-8
'
))
break
except
crypto
.
Error
:
messagebox
.
showinfo
(
'Fehler!'
,
'Zertifikat konnte nicht geöffnet werden!'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment