diff options
Diffstat (limited to 'rsa/util.py')
-rw-r--r-- | rsa/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rsa/util.py b/rsa/util.py index df3f6ef..1958161 100644 --- a/rsa/util.py +++ b/rsa/util.py @@ -50,7 +50,7 @@ def private_to_public(): # Read the input data if cli.infilename: - print('Reading private key from %s in %s format' % \ + print('Reading private key from %s in %s format' % (cli.infilename, cli.inform), file=sys.stderr) with open(cli.infilename, 'rb') as infile: in_data = infile.read() @@ -69,7 +69,7 @@ def private_to_public(): out_data = pub_key.save_pkcs1(cli.outform) if cli.outfilename: - print('Writing public key to %s in %s format' % \ + print('Writing public key to %s in %s format' % (cli.outfilename, cli.outform), file=sys.stderr) with open(cli.outfilename, 'wb') as outfile: outfile.write(out_data) |