fishi0x01 / vsh

vsh - HashiCorp Vault interactive shell and cli tool
MIT License
284 stars 12 forks source link

Fix file/dir ambiguity #32

Closed fishi0x01 closed 4 years ago

fishi0x01 commented 4 years ago

Fixes https://github.com/fishi0x01/vsh/issues/29

Vault allows for a key to be part of another namespace path, like:

secret/a
secret/a/b

This leads to ambiguous behaviour, e.g., when using rm.

Further, this PR adds integration tests which cover this ambiguity.