Code Review
/
integration
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixing Jenkins job failure
[integration/csit.git]
/
tests
/
oom-platform-cert-service
/
postprocessor
/
libraries
/
JksValidator.py
diff --git
a/tests/oom-platform-cert-service/postprocessor/libraries/JksValidator.py
b/tests/oom-platform-cert-service/postprocessor/libraries/JksValidator.py
index
983f66b
..
c2262a7
100644
(file)
--- a/
tests/oom-platform-cert-service/postprocessor/libraries/JksValidator.py
+++ b/
tests/oom-platform-cert-service/postprocessor/libraries/JksValidator.py
@@
-4,7
+4,8
@@
import jks
class JksValidator:
def get_jks_entries(self, jks_path, password_path):
class JksValidator:
def get_jks_entries(self, jks_path, password_path):
- store = jks.KeyStore.load(jks_path, open(password_path, 'rb').read())
+ passphrase = open(password_path, 'rb').read().decode("utf-8")
+ store = jks.KeyStore.load(jks_path, passphrase)
return store.entries
def assert_jks_truststores_equal(self, result_truststore_path, password_path, expected_truststore_path):
return store.entries
def assert_jks_truststores_equal(self, result_truststore_path, password_path, expected_truststore_path):