Skip to content

Commit

Permalink
Allow age exe to be specified in AGE_EXE environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
clach04 committed Nov 29, 2024
1 parent 0485019 commit 7df1306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion puren_tonbo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ class AgeExe(EncryptedFile): # TODO refactor into a shared spawn exe class
description = Age.description + ' (EXE)'
extensions = Age.extensions
implementation = 'exe'
_exe_name = 'age' # https://github.com/wj/age.git
_exe_name = os.environ.get('AGE_EXE', 'age') # https://github.com/wj/age.git - that supports environment variable for passphrase
_envvar_name = 'AGE_PASSPHRASE' # TODO allow config...
_exe_present = False
_exe_version_str = None
Expand Down

0 comments on commit 7df1306

Please sign in to comment.