Windows implementation of passwordstore in pure batch
kenny.evitt at gmail.com
Tue Feb 11 21:08:09 CET 2020
There's an Ubuntu app available on the Windows app store, but yeah it's
using whatever they're calling what was once WSL.
I don't think I ever got it working in Cygwin specifically. The reason why
I targeted Ubuntu/WSL was that it provides a 'real' Bash environment.
One of the reasons why Jason didn't want to merge my changes – IIRC – is
that the 'OS' that Ubuntu/WSL reports itself as being is NOT obviously or
clearly a 'Microsoft Windows Linux' environment. It's basically pretending
like it's 'really Linux', which it is in a lot of respects, but obviously
not in terms of clipboard support. The only way I could (relatively) easily
figure out how to add to the Windows clipboard was via PowerShell.
The "sh scripts laying around" in my repo to which I linked are the Pass
files – my repo is just a 'soft fork' with a few extra commits on top. It
might be a bit behind the actual Pass repo too by now.
On Tue, Feb 11, 2020 at 1:53 PM Miquel Lionel <lionelmiquel at sfr.fr> wrote:
> 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
> > - windows - Batch character escaping - Stack Overflow
> > <
> > 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
> > 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>
> > > 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
> > > that mirrors my uses of pass on unix systems.
> > > It behaves like pass on most of cases, my preferred thing being the
> > > 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,
> > > no security against shouldersurfing, and many other things that I
> > > 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>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Password-Store