psfs - A very simple readonly FUSE filesystem on top of pass

Morten Kjærulff mortenkjarulff at gmail.com
Tue Feb 14 08:19:54 UTC 2023


On Tue, Feb 14, 2023 at 3:55 AM Judd Montgomery wrote:
>
> On 2/13/23 16:03, Morten Kjærulff wrote:
> > Hi,
> >
> > I made this https://gitlab.com/mortenkjarulff/psfs - A very simple
> > readonly FUSE filesystem on top of pass.
> > One usecase is to "move" my ~/.netrc to pass. Yes, I could rewrite all
> > my scripts that rely on ~/.netrc, but I can fix them all with this.
> >
> > I would very much like some comments.
> > Is it too simple and silly?
> > Has it already been done?
> > Any comments are wellcome!
> >
> > The goal is get an encrypted file, not to implement all pass commands via files.
> >
> > /Morten
> > --
> > I'm a happy dreamer
> > I believe in love
>
> On xubuntu 22.04 I get this when it is mounted at ~/psfs/
>
> ~/psfs$ echo secret > secret
> bash: secret: Is a directory
>
> Are my pass secrets supposed to show up there?
>
> Judd

It can only show your secrets already in pass, not insert/update/list.
And you have to suffix the secret name with ?show.
So, if you mount at ~/psfs and you have a secret called "mysecret", show it with

cat ~/psfs/mysecret?show

/Morten


More information about the Password-Store mailing list