Compact GUI for pass

Hi,

I created a compact GUI for pass (https://www.passwordstore.org/). It’s designed to be used for the librem5 (or other Linux Smartphones with GTK). But I also plan to use it on my laptop.
https://gitlab.com/chrisu281080/pass-manager-compact

It supports the extension pass-otp (https://github.com/tadfisher/pass-otp
and the extension pass-tomb (https://github.com/roddhjav/pass-tomb)

It’s my first python GUI so don’t expect it to be perfect. :wink:

To use it you first have to setup pass
“pass init {your pgp-key}”

8 Likes

I’ll try this out. Have been using pass for years now, use the browserpass extension in Firefox, never like QtPass. Was wondering what would be usable on the L5…

Comments and feedback to come later, most likey mid January after all the holidays shenanigans are over!

2 Likes

Nice :slight_smile: I will try it out soon ish.

1 Like

Hy,

I have it installed and I can get password when running pass.

I can see the passwords from the GUI but the copy seems to copy nothing in the buffer.

Maybe I am missing some packages.

I have a passphrase on that gpg private key could it be causing any issues?

I normally get a popup which asks me for the pin when I copy a password to clipboard.
May be there needs to be some configuration for gpg for this?

But I also don’t catch errors/output when calling pass.
Which OS are you using?
Then I would try it in a virtual machine.

I normally get a popup which asks me for the pin when I copy a password to clipboard.
May be there needs to be some configuration for gpg for this?

I will check later maybe I am missing some askpass software and also I think there is some setup for gpg with tty thing I will review gpg manpage.

But I also don’t catch errors/output when calling pass.
Which OS are you using?
Then I would try it in a virtual machine.

I am running pureos on Librem 5. I just did a full apt upgrade.

Perfect, I will try to reproduce it in the QEMU Image im the next days.
Haven’t copied a password there yet. And I have to wait for Evergreen for my physical Librem 5.

Oh that is a long wait :crying_cat_face: for you.

I did a quick test.

pass -c doesn’t correctly work in my qemu image.
First I had to install xclip which was missing.
But even then the clipboard was still empty with pass -c.

Can you please verify that you have the same issue by executing "pass -c " in the terminal.

I will look deeper into it.

@Cc281080 Yep there you go im missing xclip.

/usr/bin/pass: line 160: xclip: command not found

Maybe adding it to the package requirements would fix this for everybody :slight_smile:

And now that it works, I have issue expanding the directory tree list in the UI for some reason I tap on one folder and it does not expand.

I try tapping twice on it and no luck.

I don’t know how I was able to expand a folder before hum hum.

Could the list items be made bigger to allow better selection on the phone?

Xclip is actually used by “pass”. I just checked that it is just recommend by pass. So may be I really should put it as required for the GUI.

But is pass -c now really working for you?
My tested in the QEMU didn’t fill the clipboard.

Regarding the folders you have to click on the plus symbol. I will test if it fells nice if the folder opens on a single click on the foldername.
I don’t know if double click is possible in an easy way.

But is pass -c now really working for you?
My tested in the QEMU didn’t fill the clipboard.

Oups indeed it is not working.

Regarding the folders you have to click on the plus symbol. I will test if it fells nice if the folder opens on a single click on the foldername.
I don’t know if double click is possible in an easy way.

Yes aiming at the > expand the folder, but I think that you have to hit it 1st or it don’t work anymore.

Just got more thinking in this.

I think the phone is running wayland and that xclip wont work.

Ii found wl-clipboard and wl-clipboard-x11 that are some tools for wayland clipboard, and the wl-clipboard-x11 is replacing X tools (xclip xsel…).

Source -> https://github.com/brunelli/wl-clipboard-x11

I would like to compile them but not sure how to properly setup my linux pc PC to compile for the phone.

I will try to install the required source packages on the phone itself and compile locally lol. But still I would like to be setup to cross-compile on my PC instead.

Well follow up on this I installed make and I was able to install that wl-clipboard-x11.

No luck so far the clipboard looks empty again.

If wl-clipboard from bullseye repository works on your Librem5, I would try to use it in my next version of the GUI.
https://packages.debian.org/de/bullseye/wl-clipboard

I tested it in Qemu with:
echo “123xcv” | wl-copy

The version in the normal pureos repository doesn’t work for me.
But I haven’t tried the version 2.0.0 from here yet:
http://repo.pureos.net/pureos/pool/main/w/wl-clipboard/

Yes wl-clipboard-2.0.0-1 works from both repos in fact.

I had to also install wl-clipboard-x11 ( which just does links to wl-copy for xclip xsel…)

I just checked the pass git.
Support for wl-clipboard is already integrated there. It just has to be released & packaged as new version.

So wl-clipboard-x11 just needs to be used as workaround until the next pass version.
I will put this into some description.

1 Like

Great :slight_smile: thank you for this, this is very usefull software :slight_smile:

1 Like

New features in V0.3
-) Fix to handle an empty password store
-) Enabled double click for open/close folders
-) Enabled double click to copy passwords to clipboard
-) Moved Delete Button from “edit” view to main view
-) Added support for “pass tomb”

1 Like

thanks :slight_smile: I just tried it and it works. I like the ease of the double click to copy password.