drGrove / mtls-cli

A short-lived certificate tool based on the Zero Trust network model
Other
27 stars 8 forks source link

issue with mtls-cli version 0.9.1 on linux when not in mtls-cli directory #23

Closed jnaulty closed 5 years ago

jnaulty commented 5 years ago

Bug:

After installing the binary tarball from the release link, I am only able to run the mtls binary in the repository directory:

➜  mtls-client git:(master) mtls --help
Usage: mtls [OPTIONS] COMMAND [ARGS]...

  mtls is a PGP Web of Trust based SSL Client Certificate generation tool
  based on Googles Beyond Corp Zero Trust Authentication. Version
  ..1-dev+sha.de55a81

Options:
  --version          Show the version and exit.
  -s, --server TEXT  Server to run command against.
  -c, --config PATH  config file. [~/.config/mtls]
  --help             Show this message and exit.

Commands:
  certificate  Manage Certificates
  user         Manage Users

Switching to another directory, the executable does not work

➜  mtls-client git:(master) cd ../                       
➜  foss mtls --help
Traceback (most recent call last):
  File "mtls-cli/cli.py", line 7, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'VERSION'
[23061] Failed to execute script cli