Windows implementation of passwordstore in pure batch

Miquel Lionel lionelmiquel at sfr.fr
Tue Feb 11 19:53:02 CET 2020


On Sun, 9 Feb 2020 17:55:12 -0500
Kenny Evitt <kenny.evitt at gmail.com> wrote:

> Nice job! Windows batch is a tough language to 'use in anger'! Bash isn't
> easy either, but Windows Batch is a whole 'nother level of pain-in-the-ass:
> 
>  - windows - Batch character escaping - Stack Overflow
> <https://stackoverflow.com/questions/6828751/batch-character-escaping/16018942#16018942>
> 
> Pass DOES work in the Ubuntu app on Windows (formerly Bash on Ubuntu on
> Windows, and several other names before that) but I couldn't implement
> clipboard support *nicely*. Jason, the creator and maintainer of Pass,
> didn't like the changes I came up with – they ARE ugly.
> 
> But, in case you or anyone else is interested, I maintain a 'soft fork'
> with those changes on GitHub:
> 
>  - kenny-evitt/password-store-buw: Pass: The Standard Unix Password Manager
> for Bash on Ubuntu on Windows
> <https://github.com/kenny-evitt/password-store-buw>
> 
> On Sun, Feb 9, 2020 at 4:19 PM Miquel Lionel <lionelmiquel at sfr.fr> wrote:
> 
> > Hello to all the password-store mailing list,
> >
> >   Seeing no satisfying command line alternatives for Windows on the
> > passwordstore.org page, I decided to quickly put together a batch script
> > that mirrors my uses of pass on unix systems.
> > It behaves like pass on most of cases, my preferred thing being the clip
> > switch.
> > So, it supports :
> >         * making dirs in the password store
> >         * tree like display of directory and content of theses
> >         * inserting,deleting passwords and password directory, with or
> > without prompts
> >         * clipping a specific line of the password file
> >         * PASSWORD_STORE_DIR and PASSWORD_STORE_KEY environnement
> > variable, as they're the most important ones.
> >         * .gpgid file to indicate which key to use in case of
> > PASSWORD_STORE_KEY not set
> >         * viewing passwords
> >
> > And I think that's all for the moment.
> >
> > There's still things to fix : can't have spaced password names, absolutely
> > no security against shouldersurfing, and many other things that I didn't
> > put my finger on yet.
> > But it does the job for me.
> >
> > https://notabug.org/lilim/pass.bat
> >
> > Kind regards,
> > --
> > Miquel Lionel <lionelmiquel at sfr.fr>
> > _______________________________________________
> > Password-Store mailing list
> > Password-Store at lists.zx2c4.com
> > https://lists.zx2c4.com/mailman/listinfo/password-store
> >
So if I understand well you need WSL/Cygwin for your implementation of pass ?
I looked at the repo a bit so I assume it's that, since there's a bunch of sh scripts laying around. I remember seeing cygwin things too.


Kind regards,
-- 
Miquel Lionel <lionelmiquel at sfr.fr>


More information about the Password-Store mailing list