You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2023/06/19 02:35:17 UTC

[GitHub] [arrow-nanoarrow] paleolimbot opened a new pull request, #240: chore: Allow skipping key verification on centos7

paleolimbot opened a new pull request, #240:
URL: https://github.com/apache/arrow-nanoarrow/pull/240

   ...because something about the gpg version on centos7 is too old ( https://github.com/apache/arrow-nanoarrow/actions/runs/5293770871/jobs/9582325801#step:4:337 ).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-nanoarrow] paleolimbot merged pull request #240: chore: Allow skipping key verification on centos7

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot merged PR #240:
URL: https://github.com/apache/arrow-nanoarrow/pull/240


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-nanoarrow] paleolimbot commented on pull request #240: chore: Allow skipping key verification on centos7

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on PR #240:
URL: https://github.com/apache/arrow-nanoarrow/pull/240#issuecomment-1597175476

   That is a much better approach, thank you!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-nanoarrow] kou commented on pull request #240: chore: Allow skipping key verification on centos7

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #240:
URL: https://github.com/apache/arrow-nanoarrow/pull/240#issuecomment-1596412527

   How about just ignoring `gpg --import KEYS` error instead of skipping all signature verification?
   
   ```diff
   diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
   index d513cf0..df2e325 100755
   --- a/dev/release/verify-release-candidate.sh
   +++ b/dev/release/verify-release-candidate.sh
   @@ -31,6 +31,10 @@
    #   If unset, the script will check out a version into NANOARROW_TMPDIR.
    # - NANOARROW_TMPDIR: Use to specify a persistent directory such that verification
    #   results are more easily retrieved.
   +# - NANOARROW_ACCEPT_IMPORT_GPG_KEYS_ERROR: Don't stop verification even when
   +#   "gpg --import KEYS" returns an error. In general, we should not use this
   +#   to ensure importing all GPG keys. But newer algorithms such as ed25519 may
   +#   not be supported in old GPG such as GPG on CentOS 7.
    # - TEST_SOURCE: Set to 0 to selectively run component verification.
    # - TEST_C: Builds C libraries and tests using the default CMake
    #   configuration. Defaults to the value of TEST_SOURCE.
   @@ -114,7 +118,11 @@ import_gpg_keys() {
        return 0
      fi
      download_dist_file KEYS
   -  gpg --import KEYS
   +  if [ "${NANOARROW_ACCEPT_IMPORT_GPG_KEYS_ERROR:-0}" -gt 0 ]; then
   +    gpg --import KEYS || :
   +  else
   +    gpg --import KEYS
   +  fi
    
      GPGKEYS_ALREADY_IMPORTED=1
    }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org