--up
is broken: open secrets.yml: no such file or directory
#254
Labels
--up
is broken: open secrets.yml: no such file or directory
#254
Summary
Using
--up
should find asecrets.yml
file up the directory hierarchy. Inv0.10.0
andv0.10.1
the flag is broken when running summon from any subdirectory.Steps to Reproduce
some-repo
) setup asecrets.yml
and asubdirectory
.secret.yml
could be as follows:secrets.yml
Store placeholder secret in your store:
(go)pass insert SomeStore/MyBigSecret
Navigate to
some-repo/subdirectory
Run
summon --up -- sh -c 'echo $BIG_SECRET'
Expected Results
In the previous summon
v0.9.6
the example above works and displays the secret.Actual Results
Starting with
v0.10.0
the example above fails with :open secrets.yml: no such file or directory
Reproducible
Version/Tag number
All binaries downloaded from https://github.com/cyberark/summon/releases
summon-linux-amd64.tar.gz
Correct:
v0.9.6-8de0e79
Offending:
v0.10.0-129fb57
,v0.10.1-29ebeaa
Environment setup
Linux 6.8.9-49-generic
Ubuntu 22.04.5 LTS 64-bit
Additional Information
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: