Overview
In order to use a GPG key that has a passphrase, an external gpg-agent must be running and seeded with your passphrase. This feature is enabled with the following configuration directive in /etc/packagecloud/packagecloud.rb
:
Code Block |
---|
packagecloud_gpg['use_external_agent'] = true |
Prerequisites
- gpg-agent 2.0.x
- gpg-connect-agent (might be a separate package for your system)
...
After you seed your passphrase, it will eventually expire according to the max-cache-ttl
setting used when starting up the agent. If this is desired, you'll need to use a periodic process, like a cron job to continually reseed the passphrase before it expires, or alternatively, you can set it to a year (31622400 seconds).
Common Errors
When using the Indexer Status area, you might see recently failed jobs with the following errors:
...