Closed inigomartinez closed 6 years ago
I get many hits on Google searching for gpgme gave error Pinentry:32870: Inappropriate ioctl for device
, such as: Debian Bug 789608: reprepro: no passphrase prompt.
desc/puppet-reprepro#59 seems like it is similar.
Do your keys have passphrases?
Anecdotal, but I just deployed a repo
host (using master
) and did not run into the problem you saw @inigomartinez.
Do your keys have passphrases?
Yes, and once I removed them, the errors have dissapeared.
Thanks for your support,
I don't know whether passphrases are supposed to work, so perhaps this is something to look into.
But that would be @nuclearsandwich's call.
Yes, I was wondering if having keys without passphrases would be sane. However, the secret keys are in plain text inside the configuration, so they are not worth protecting.
The readme in buildfarm_deployment
says this about 'secrets':
Since your config repository will contain secrets such as private keys and access tokens, keep it private!
so the keys are stored plain text, but no-one except you is supposed to have access to them.
Whether passphrases make sense: I don't know. It'll probably require some more trickery - as the passphrases will have to be supplied somehow (shifts the problem).
When running the
reconfigure.bash
script withrepo
argument in order to deploy the repo instance, the following show up in the log:They seem to be related to
gpg
. However, I been checking my configuration regarding private and public GPG keys and everything seems to be ok.