sonnyp / Tangram

Browser for your pinned tabs
https://apps.gnome.org/app/re.sonny.Tangram/
GNU General Public License v3.0
921 stars 39 forks source link

[Feature request] `pass` integration #272

Closed chri2 closed 1 year ago

chri2 commented 1 year ago

It would be really nice to have some api to integrate a password safe like pass.

E.g. for firefox there's PassFF to integrate pass.

sonnyp commented 1 year ago

If you're going to request a feature, can you put a bit more effort into what, why and how?

chri2 commented 1 year ago

You're right - sorry! I didn't put much thought into the idea - partly (lame excuse follows) because I do not know much about how something like what I'm thinking about could be integrated (easily).

I'll give it a try. I made a screenshot of what I referenced in Firefox - PassFF:

2023-05-08_17-02-00-651141174

The extension puts a P in input fields it recognizes as username/password fields. Clicking that P gives a list of entries matching the host/domain of the site the fields are located at from the password manager pass.

I don't know whether a similar integration would be possible in tangram. The integration in firefox I like a lot and it is close to perfect with all the features it offers.

A version I could thing of that might be easier to integrate would work like this:

Without being a programer and knowing anything about the internal working of tangram I would hope that a solution similar to this

I'd give my best to integrate something for pass.

BTW: Thanks a lot for the great work on tangram! It really fills a gap and I'm about to use it as my email gui (snappymail as backend) and for my microblog.pub on the Librem5.

I really didn't want to give the impression I wouldn't value your work and time by being so unspecific.

sonnyp commented 1 year ago

The only integration I would consider for this is a freedesktop/xdg API.

Besides, it seems like a lot of work for little benefit. I type the password once per tab added.

Looks like a mobile client for pass would be more useful and work with any app.

chri2 commented 1 year ago

Looks like a mobile client for pass would be more useful and work with any app.

Yes, I'm looking into that. Someone made already one that works pretty good.

I don't know about the freedesktop/xdg API for that, but when I find time I'll read into it.

Just to explain my motivation:

Yes, if it only me then it is not worth the work and additional code to avoid those one or two additional steps.

sonnyp commented 1 year ago

Let's revisit this when there is a standard API for credentials.