Extension name
pass
Description
Background
In my password-store folder, I have multiple subfolders for different categories. I know this is a common configuration. One of these folders is titled "work" and is where I symlink entries for my job. I store the actual entries under the specific entry's category (for example "applications" or "websites") then symlink from that entry to one under the work directory. There are also other symlinks, such as a multi-word website name being symlinked to it's abbreviation.
Issue
The current behavior of the pass extension causes these symlinks be forced into the "root" of the pass tree, which breaks their connection to the actual filesystem and therefore ends up with them failing to be found when selected.
Possible Solution
Upon tinkering, I believe I've found a solution to this issue, in passctl.ts, essentially replacing line 79 with lines 70-73, but I'm not very versed in symlinks and their consequences, so someone else having a look at this would be very helpful. I'm using my solution on my local copy for now to test it out, and thus far I haven't had any issues, but I'll comment if I do.
Steps to reproduce
- Have a password entry in a subdirectory. (for example
website/github)
- Create a symlink from that password entry to another entry in another subdirectory (for example
work/git)
- Attempt to access
work/git in the extension
git by itself will appear, along with website/github, and git will not work because git.gpg doesn't exist (as it's in the work directory.)
Vicinae version
0.20.7
Extension name
pass
Description
Background
In my password-store folder, I have multiple subfolders for different categories. I know this is a common configuration. One of these folders is titled "work" and is where I symlink entries for my job. I store the actual entries under the specific entry's category (for example "applications" or "websites") then symlink from that entry to one under the work directory. There are also other symlinks, such as a multi-word website name being symlinked to it's abbreviation.
Issue
The current behavior of the pass extension causes these symlinks be forced into the "root" of the pass tree, which breaks their connection to the actual filesystem and therefore ends up with them failing to be found when selected.
Possible Solution
Upon tinkering, I believe I've found a solution to this issue, in
passctl.ts, essentially replacing line 79 with lines 70-73, but I'm not very versed in symlinks and their consequences, so someone else having a look at this would be very helpful. I'm using my solution on my local copy for now to test it out, and thus far I haven't had any issues, but I'll comment if I do.Steps to reproduce
website/github)work/git)work/gitin the extensiongitby itself will appear, along withwebsite/github, andgitwill not work becausegit.gpgdoesn't exist (as it's in theworkdirectory.)Vicinae version
0.20.7