Windows implementation of passwordstore in pure batch

Kenny Evitt kenny.evitt at
Sun Feb 16 01:02:20 CET 2020

I just checked the `Ubuntu` app on my Windows box and the output of `uname`
remains `Linux`.

Here are the previous threads from the archives:


Here's a GitHub issue (for myself) for this:

 - [Get this merged upstream · Issue #2 · kenny-evitt/password-store-buw](

There are two major issues still:

 1. `uname` in the Windows Ubuntu app still outputs `Linux`.
 2. There's no builtin support for arbitrary data in the Windows clipboard.
Every single possible file/data format would have to be supported
individually (AFAICT). This means only text data, already on the clipboard,
can be restored (after Pass clears a copied password from the clipboard).

For [1], it just occurred to me that maybe there's a way to just add the
Windows clipboard support to the existing `` script.

Jason – how do you feel about that?

For [2], maybe there's a relatively simple way to just read and write the
clipboard data as generic binary data.

Jason – would you accept patches for this if this could *only* support
restoring *text* data to the Windows clipboard?

On Sat, Feb 15, 2020 at 4:35 PM Tobias Girstmair <t-passwd at> wrote:

> (apologies, sent from a wrong/nonexistent email address before)
> On Sat, Feb 15, 2020 at 10:21:55PM +0100, Jason A. Donenfeld wrote:
> > I wonder if in the
> > intervening years a reliable non-kludgy detection mechanism has been
> > discovered.
> what about env vars? I've got XDG_SESSION_TYPE=x11 and
> (and a bunch of other XDG_* ones) on my system.
> according to a quick search[1], this hasn't been discussed before.
> [1]:
> _______________________________________________
> Password-Store mailing list
> Password-Store at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Password-Store mailing list