X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=sfa%2Fclient%2Fsfaclientlib.py;h=5557b95a0018b84666598fd8ea2dbd1889333c0b;hp=cac4d1fda493fb6e27a9881473cdae22a4162b8d;hb=4a9e6751f9f396f463932133b9d62fc925a99ef6;hpb=648ac3fd865ea29425485f26eb0a7bf1a62281e0 diff --git a/sfa/client/sfaclientlib.py b/sfa/client/sfaclientlib.py index cac4d1fd..5557b95a 100644 --- a/sfa/client/sfaclientlib.py +++ b/sfa/client/sfaclientlib.py @@ -3,7 +3,7 @@ a minimal library for writing "lightweight" SFA clients """ -from __future__ import print_function + # xxx todo # this library should probably check for the expiration date of the various @@ -226,7 +226,7 @@ class SfaClientBootstrap: # when leaving this empty on the mac, result can't seem to be loaded in # keychain.. def my_pkcs12_produce(self, filename): - password = raw_input("Enter password for p12 certificate: ") + password = input("Enter password for p12 certificate: ") openssl_command = ['openssl', 'pkcs12', "-export"] openssl_command += ["-password", "pass:{}".format(password)] openssl_command += ["-inkey", self.private_key_filename()]