Open git-hyagi opened 1 year ago
FYI: The example script shows a password inside the script, but it does not work successfully.
We are going to assume users will set the PASSWORD env variable separately for a real secure solution, we just need to make the example script work.
And the solution to making the example script work seems to be to install the pinentry
package. Specifically, it seems to make gpg --passphrase
work.
Just a note.
This worked for me without the package.
gpg --pinentry-mode loopback etc .....
Describe the bug Configuring
signing services
with a passphrase in the gpg key will fail with:To Reproduce Steps to reproduce the behavior: Follow the steps from https://github.com/pulp/pulp-oci-images/blob/latest/docs/signing_script.md, but in the Creating a gpg key step, define a passhrase (instead of passing the
%no-ask-passphrase
parameter).