summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
29e187d)
fails to convert keystore.jks/truststore.jks to keystore.p12/truststore.p12
Issue-ID: SDNC-1150
Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech>
Change-Id: I1ef77602b56199ab2c8f9223fdd3c2e6a1878c22
(cherry picked from commit
cb65f50142671a9f8bda4a7a65ead714aae2691a)
def get_pass(file_name):
try:
def get_pass(file_name):
try:
- with open(file_name , 'r') as file_obj:
+ with open(file_name, 'r') as file_obj:
password = file_obj.read().strip()
password = file_obj.read().strip()
+ return "'{}'".format(password)
except Exception as e:
logging.error("Error occurred while fetching password : %s", e)
exit()
except Exception as e:
logging.error("Error occurred while fetching password : %s", e)
exit()