[PATCH] passmenu: add support for wayland

sternenseemann sternenseemann at systemli.org
Fri Jun 11 18:46:12 UTC 2021

On 6/11/21 6:30 PM, Jason A. Donenfeld wrote:
> I applied this. But I wonder: should we be using wtype instead at this
> point? https://github.com/atx/wtype
> If so, would you like to prepare a patch for that?

Sounds like it actually! I have also find a nice way to rework the tool
selection logic (I think at least), so either xdotool, ydotool or wtype
could be used.

However, there is one problem currently: wtype doesn't support reading
text to type from stdin (like we are currently doing). From what I
understand this would mean we'd need to leak passwords to other users
via the process list to some extent, right?

I've opened an [issue] for this, maybe I'll also find the time to
prepare a patch for wtype as well.

When that is resolved and released, I think we could make wtype the
default. It does not support Xwayland at the moment, but this doesn't
seem too terrible these days, and we could preserve the possibility to
use ydotool.


[issue]: https://github.com/atx/wtype/issues/23

More information about the Password-Store mailing list