From 39435b67ba7441f86f4703e24a962f6ab1fd607d Mon Sep 17 00:00:00 2001 From: nolash Date: Thu, 25 Nov 2021 18:00:34 +0100 Subject: [PATCH] Allow WALLET_PASSPHRASE environ var in keyfile cli tool --- funga/eth/runnable/keyfile.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/funga/eth/runnable/keyfile.py b/funga/eth/runnable/keyfile.py index 327f771..f0aec60 100644 --- a/funga/eth/runnable/keyfile.py +++ b/funga/eth/runnable/keyfile.py @@ -52,7 +52,7 @@ if args.k != None: def main(): global pk_hex - passphrase = os.environ.get('PASSPHRASE') + passphrase = os.environ.get('WALLET_PASSPHRASE', os.environ.get('PASSPHRASE')) if args.z: passphrase = '' r = None diff --git a/setup.py b/setup.py index 0315a0d..2a82afe 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ f.close() setup( name="funga-eth", - version="0.5.1", + version="0.5.2", description="Ethereum implementation of the funga keystore and signer", author="Louis Holbrook", author_email="dev@holbrook.no",