-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
needing help setting it up #2
Comments
you can try stopping pass-secrets, deleting the entire secretservice dir to reset, and having it recreate the directories |
ok, what I tried was deleting the secretservice dir, restarting gpg-agent.service, and trying again, and the result was the same. ps: not directly related to my problem here, but when starting the pass-secrets.service if there's no .password-store, the unit will fail to start, while this isn't the job of pass-secrets, but pass, shouldn't the directory be created by pass-secrets, instead of failing to start? or I don't know, call pass earlier just for it to create the directories needed (maybe we should add more steps to the instructions on the readme?) |
the service does a check for the existence of just the "secretservice" dir, but it will fail to create it if parent directories don't exist either. in that case, I think I will add a little more of a guide to the readme also, does running pass-secrets manually (just from the command line) work? i will see if I can get pass to output its logs to the stderr of pass-secrets as well to make debugging the issue easier |
yeah, I think that will really help.
negative, it still fails. Again that would be great, as right now I'm clueless from what is wrong with pass. like I can set up things manually, gpg --gen-key will pop up the dialog to configure a password and reconfirm it. pass init/pass insert will also goes well. |
okay, i used a different library to spawn the if you could recompile and test out the new version, it should show whatever error pass had :) |
Thank you! found out why pass is failing.
should I generate an key before running the pass-secrets? because I already tried that with gpg --gen-key and after that did pass init <my gpg id> (also tried with the email, no erros), how I should I proceed here? what I did so far was enabling gpg-agent.service (it's enabled and running), do I need something more besides having agent running? |
hm, no, that just means that pass was unable to find a .gpg-id file to get the right key ID |
it shouldn't be looking for it under ~/.gnupg or where the GNUPGHOME was set to? I'm almost certain I screwed something while setting this. |
Oh, ok, I got it. Nuked all directories and started all over. my steps was:
probably what I was doing wrong was trying set it up with email and the short version of key-id. we should definitely add more steps to the readme page, while it's not the scope of this project to taught people how to set up gpg, people like me will definitely appreciate an "how to 101 for dummies". Again thank you for your patience and great project. Closing. |
now I'm having another issue. first, the systemd unit will always fail at the time I launch minecraft-launcher:
but running the pass-secrects from a terminal will succeed, the pop up to type the password to unlock the store key will shows up. (almost always, sometimes it will segfault). when segfaulting (segfaults always when I click to select my minecraft account):
if I re-start the pass-secrets before proceeding (typing my email and password from my microsoft account), it will succeed:
does this gives you any idea? (this time I don't think it's something I did wrong, this time I think it's some kind of incompatibility with minecraft-launcher) |
I had the segfault issue while doing my test and it happens because the app refers to a closed session |
as for the systemd service, depending on what DE you are using, you need to run |
I'm not using any desktop environment right now, starting all with startx and running dwm, does I need some special envar? I had a problem with gnome-keyring (wasn't working when switching user with su) but solved it with EDIT: tried the |
in that case doing the same for home and display may be needed for the GPG agent and pass-secrets dbus activation is a mess unfortunately |
I'm sorry, what do you mean by that? |
if what you mean was doing |
ok, so I tried
actually I don't know if this is related to the segfaulting when running from command line, |
So I wiped all out, started all over again.
It seems all working now, the gpg-agent service gets stopped (I think that's supposed to happen):
and then it sometimes will ask for my password in a infinite loop, only stopping when I re-start gpg-agent, but that is probably another thing that I'm doing wrong. I'll close this issue though. Thank you for your support! |
after enabling/starting the systemd service unit I tried to log in into minecraft, but the unit get stopped because pass couldn't write:
I probably not setting something right, I followed part of the example from arch wiki and it went all good.
what more do I need to do?
The text was updated successfully, but these errors were encountered: