"unknown type of key resource" error when integrating with Bitrise

Before submitting a topic, please confirm the following

[X ] I have searched for similar issues before creating this topic.
[X ] I have verified that my repository is using the Codecov GitHub app, if using GitHub
I have validated my codecov.yaml configuration file.
[X ] I have filled out the below sections to the best of my ability.
[X ] I understand that the community boards are a free, best-effort tool. While we hope to have someone on the Codecov team resolve your problem quickly, this is not always possible.


When I run the codecov community step for Bitrise, I get a “unknown type of key resource” error (and eventually a “Can’t check signature: No public key” error) and the step fails.

I have asked Bitrise support and they were unable to help. I have also asked in the issues section for codecov-bitrise but nobody has responded in a few days, so I thought I would ask here.

My build and source is private, but if anyone can suggest any ideas or workarounds I’d appreciate it.

(I have asked Bitrise support but they were not able to help.)


Repo is private.

Codecov Output

| (13) Codecov |
| id: codecov |
| version: 3.2.0 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: bash |
| time: 2023-06-19T17:19:49Z |
| |
gpg: directory ‘/Users/vagrant/.gnupg’ created
gpg: /Users/vagrant/.gnupg/trustdb.gpg: trustdb created
gpg: key [redacted]: public key “Codecov Uploader (Codecov Uploader Verification Key) security@codecov.io” imported
gpg: Total number processed: 1
gpg: imported: 1
gpgv: unknown type of key resource ‘trustedkeys.kbx’

gpgv: keyblock resource ‘/Users/vagrant/.gnupg/trustedkeys.kbx’: General error
gpgv: Signature made Thu Apr 20 16:45:56 2023 GMT
gpgv: using RSA key [redacted]
gpgv: Can’t check signature: No public key
�[31;1mexit status 2�[0m
�[34;1mThis Step failed, but it was marked as “is_skippable”, so the build continued.�[0m

Expected Results

Step should succeed and provide code coverage information viewable on codecov.

Actual Results

Error is thrown and step fails.

Additional Information

@jeffduet are you still seeing this on 3.3.0?