This patch makes pass load extensions from the $PATH by the name
pass-EXTENSION so distributions can put the files wherever they
want. This would make it easier for certain distros to package
extensions (example NixOS that has it's own directory structure).

I've also put the same patch here: https://ptpb.pw/hAb_

Not sure about the security model when it comes to system/non-system ones,
that almost for sure must be checked by the owner of the file to make it
flexible enough with the different paths that might be used. For example
NixOS uses /run/current-system/sw/bin as main bin dir for system binaries
and /home/etu/.nix-profile/bin for binaries for a specific user. But both
are populated by the package-manager and owned by the root user.

NixOS doesn't have a /usr/lib/password-store/extensions and I don't think
there's an easy way to manage to create one. But this patch would make it
way more flexible to add extensions in a git-like way.

Attachment: 0001-Add-support-for-extensions-in-the-PATH.patch
Description: Binary data

_______________________________________________
Password-Store mailing list
Password-Store@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to