Skip to content
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

Can not add new passwords for some reason #454

Closed
emielmolenaar opened this issue Apr 24, 2019 · 1 comment
Closed

Can not add new passwords for some reason #454

emielmolenaar opened this issue Apr 24, 2019 · 1 comment

Comments

@emielmolenaar
Copy link

emielmolenaar commented Apr 24, 2019

I have reinstalled my laptop, imported my GPG public / private key, installed QtPass and cloned my password store to ~/.password-store (using Kubuntu 19.04). I can read passwords, but I can not add new passwords:

gpg: can't create website.com/username.gpg: no such file or directory
gpg [stdin]: encryption failed: No such file or directory

I have been search through the issues here and tried te following:

  1. Made sure I have imported the keys with gpg2 instead of gpg
  2. I can add a password via pass insert website.com/username
  3. gpg --list-secret-keys lists the key I am using, with ultimate trust
  4. The users dialog in QtPass shows my key. When I select it, nothing happens though.
  5. The .gpg-id in ~/.password-store corresponds with the key ID

I am stuck here, any hints on solving this issue?

@emielmolenaar emielmolenaar changed the title Can not add new password for some reason Can not add new passwords for some reason Apr 24, 2019
@emielmolenaar
Copy link
Author

When I select to use pass in the configuration of QtPass, everything works. This happens when QtPass executes native GPG;

pass.cpp: 39 "/usr/bin/gpg" ("--batch", "-eq", "--output", "foobar.com/baz.gpg", "-r", "ABCDEF123456", "-")

Quite obvious that GPG can not resolve the path foobar.com/baz.gpg . This issue is resolved for me for now, hoping some other people find this post useful 😃

Thanks for QtPass!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant