Comments (36)
I load environment variables from the .gpg-agent-info file in the user home (can be change in the preferences)
But as said in the #8 issue, I don't support the environment variables directly yet.
I will fix that in the next release. It may fix your problem too.
from passff.
I configured the setting to my actual env file (/run/user/1000/gpg-agent-info for me), but the plugin doesn't seem to be able to access it.
from passff.
Can you try using "/run/user/1000/" in User home
and "gpg-agent-info" in Gpg agent info file
from passff.
Forget it. I just checked the code. The Gpg agent info file preference is not used
from passff.
Well, it may be a problem ^^
from passff.
Released : https://github.com/jvenant/passff/releases/tag/v1-beta-3
from passff.
Well, now the passwords list is empty, I can't see them at all ^^
from passff.
Oups ! Sorry about that. ^_^
Could you try to start Firefox with the console (firefox -jsconsole) and tell me if you see any thing about pass, page, browserOverlay or preferences files ?
from passff.
No, I can't see anything relevant...
from passff.
I added some log in the browser console in the last release
Could you try again using v1-beta-4
You can filter on "PassFF" to only see logs about PassFF
I should be able to retrieve more info. Especially environment info which I think is the origin of the problem.
The debug "Execute pass" log may also be interesting because it contains data used to execute pass
from passff.
Here : (I removed personnal data)
http://0bin.net/paste/nwGa-d1wTdODzLC1#Rbfn3CnEusMqXpOce8YNB5LwYfJjNowhmdbK4I9kWgs=
from passff.
Everything looks ok...?
You say that you have no entries in the "All" submenu ?
from passff.
Oups, I forgot to tell you, my second problem is resolved, I can see the "All" submenu, sorry. So many problems ! XD
The gpg-agent access problem is still here.
from passff.
Ok, so could you check in the log that gpgAgentEnv array match your gpg_agent_info
You should be able to see it on the line juste bellow the "[PassFF] preferences initialised".
Could you also check the environment array of the "Execute pass" lines is ok
from passff.
Sorry Yamakaky, I made a mistake in the last beta.
Try with v1-beta-5
from passff.
It's correct (but SSH_* variables are empty). I didn't filled the file location setting, so the GPG_... comes from the env.
from passff.
GPG_AGENT_INFO should be enough....
Are you sure your Firefox has enough privileges to access the GPG_AGENT_INFO socket ?
I can't see what's missing. It should work...
from passff.
Yes, I have read-write access to the socket in /tmp/gpg-*/. Isn't it a beta problem ? I use firefox 29.
from passff.
Strange : if I fill the gpg agent info file setting, the password list is empty... Does firefox restrict reading file in /run ? It works if I symlink the file to ~/gpg-agent-info
from passff.
Maybe, it's a good suggestion. Other people doesn't seems to have the same issue.
Looks like I'm not going to like FF 29 ^_^.
from passff.
I use an external module to launch pass : subprocess.
I'm going to update to the last version.... Who knows....
from passff.
if the password list is empty, it looks like the issue in on my side.
Pass don't use gpg-agent to get the passwords repository tree. It's pure file system browsing.
You don't have any error in the log in this case ?
from passff.
just release a new version to solve the issue about the gpg agent file
https://github.com/jvenant/passff/releases/tag/v1-beta-6
from passff.
No...
from passff.
You still have an empty password list if you set the pg agent info file setting to /run ?
from passff.
No, this bug is patched.
from passff.
No clue about this. I think it's something about your environment.
I use systemd too and I know it could be a little bit touchy. Especially concerning the user space.
Did you try launching gpg-agent using the old fashion way : manually or through a profile.d script ?
from passff.
Neither : through a systemd unit ^^
I tried, The env variable is OK everywhere else.
from passff.
I got an issue regarding $GPG_AGENT_INFO
it seems like passff does not use it anymore.
My $GPG_AGENT_INFO is set correct, the preference field is empty but I am prompted for my password every time.
With an older release (not sure which, now I am on beta 11) it used to work fine.
Any ideas?
from passff.
Could you take a look in the log on a line like "[PassFF] pass script execution ok"
You should be able to see the environment variables used to execute pass on the params object.
from passff.
[13:13:50.567] "[PassFF]" "Try to retrieve Gpg agent variables from file /home/tobias/"
and then gpgAgentEnv is null
If I pass in a file that does not exist it falls back to $GPG_AGENT_INFO
from passff.
I hope this issue is solved here : v1-beta-12
from passff.
Works fine now, thank you
from passff.
Guys, it found it. In my gpg-agent.conf, I enabled only pinentry-curse. My bad.
from passff.
Yes! That's a really good news.
I'm going to be so happy to close this issue
from passff.
^^
from passff.
Related Issues (20)
- Do not display warning when pass is named with an IP address ± port HOT 2
- Upon showing passff window, auto-select the first matching contextual item rather than search
- With first pass selected, up arrow should put focus in search box
- Improve error handling if user cancels the decryption operation HOT 18
- Improve error handling if there is no URL in the database
- Copy OTP token from menu HOT 1
- Per-record field name for OTP field HOT 4
- Blank username gets ignored by passff, but is ok when listed from pass cli HOT 7
- It work with the terminal but not a shortcut in hyprland HOT 3
- Fields not filled on raptorpcs.com
- Not working on bahn.de HOT 3
- Hard to use on elster.de HOT 1
- Support input fields in shadow DOM HOT 5
- Suddenly failed to execute the host app on macOS
- Hide PassFF in toolbar HOT 2
- Use the container name while matching HOT 1
- Is pinentry-gtk-2 also a valid name? HOT 1
- Logo - proposed design HOT 2
- passff don't show passwords HOT 2
- URL in third line (without prefix, but with protocol) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from passff.