You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2022/07/31 14:47:00 UTC

[jira] [Created] (AVRO-3592) [build] Signing artifacts in docker fails with "no pinentry"

Ryan Skraba created AVRO-3592:
---------------------------------

             Summary: [build] Signing artifacts in docker fails with "no pinentry"
                 Key: AVRO-3592
                 URL: https://issues.apache.org/jira/browse/AVRO-3592
             Project: Apache Avro
          Issue Type: New Feature
            Reporter: Ryan Skraba
             Fix For: 1.12.0


It's difficult to sign artifacts in docker, both for specifying the correct GPG key to use (if more than one is installed), and because of the following error message:

{{gpg: signing failed: No pinentry}}

The solution is to sign the files outside of the docker, or to use the ubertool with the following changes to the build command: 

{{gpg --local-user=B0CCBDD6 --batch --pinentry-mode loopback --passphrase "$password" ...}}

(note that {{B0CCBDD6}} refers to my GPG public key: https://people.apache.org/keys/committer/rskraba.asc)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)