Hide private key when showing configuration

This commit is contained in:
vrde 2016-04-06 16:14:43 +02:00
parent 5864c34115
commit aec3b3db6c
No known key found for this signature in database
GPG Key ID: 6581C7C39B3D397D

View File

@ -27,6 +27,7 @@ def run_show_config(args):
# the system needs to be configured, then display information on how to
# configure the system.
bigchaindb.config_utils.autoconfigure(filename=args.config, force=True)
bigchaindb.config['keypair']['private'] = 'x' * 45
pprint(bigchaindb.config)