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

No public key #308

SMesser opened this issue Apr 6, 2017 · 2 comments


Copy link

@SMesser SMesser commented Apr 6, 2017

How do I tell QtPass to use my public key?

From the command line, gpg says I have one

$ gpg --list-secret-keys --keyid-format LONG
sec   rsa2048/DB836B258B5D7AA2 2017-04-06 [SC]
uid                 [ultimate] Sarah Messer <>
ssb   rsa2048/270E0585963ADC94 2017-04-06 [E]

When I try to create a password in QtPass, I get
gpg: gpg-agent: skipped: No public key gpg: [stdin]: encryption failed: No public key asks "Is the folder initialized?" But doesn't say which folder or how to initialize it. The QtPass "Users" button shows a single user, which is checked:
Sarah Messer <> DB836B258B5D7AA2 created 4/6/17 2:51 PM

FWIW, I'm using Mac Sierra /OSX, with QtPass and Qt5 installed via Brew. The key pair was generated with gpg2 --full-generate-key, and installation followed the pattern at until qmake && make && macdeployqt terminated with a generic usage message for qmake, but no actual error message.

The Configuration -- Programs tab says I'm using "Native git/gpg". (I have git installed on the machine, but am confused as to why QtPass needs it, and I haven't done a git init or anything similar in ~/.gnupg/. ls -al /usr/local/bin/gpg2 and ls -al /usr/bin/git confirms I have read permissions (755) on both the "Native git/gpg" files. The "pwgen" entry is currently blank.

echo $GPGHOME returns blank.



This comment has been minimized.

Copy link

@annejan annejan commented May 4, 2017

The quickest fix would be to edit the .gpg-id file in the .password-store

Possibly you can use the "User" management option in QtPass . .


This comment has been minimized.

Copy link

@annejan annejan commented May 4, 2017

On first use QtPass should ask you for users (gpg id's) when initialising the password-store . .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.