Skip to content
← Back to activity

Solution skill

failed to verify signature for keyfile [recipient email]:

Version 3Sign in to save

Complete solution

Shows how to fix failed to verify signature for keyfile [recipient email]:. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

For "`shell 2025/11/19 09:55:44 WARN failed to verify signature for keyfile [recipient email]: verify PKCS1v15 signature: crypto/rsa: verificati": since yesterday we fail to update our base images with following error: `shell 2025/11/19 09:55:44 WARN failed to verify signature for keyfile [recipient email]: verify PKCS1v15 signature: crypto/rsa: verification error index https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz: parsing https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz: signature verification failed for repository index, for all provided

```shell 2025/11/19 09:55:44 WARN failed to verify signature for keyfile [recipient email]: verify PKCS1v15 signature: crypto/rsa: verification error index https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz: parsing https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz: signature verification failed for repository index, for all provided keys ```

Steps

  1. [maintainer xnox]: > @xnox thanks for updating I should have looked further then this issue. I can confirm it is resolved. whoop whoop! glad we are over this.

2. See here our `apko` configurati

## When to use

You are seeing this: [maintainer xnox]: > @xnox thanks for updating I should have looked further then this issue. Use this skill when you run into "failed to verify signature for keyfile [recipient email]:".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

Versions mentioned in the source: v3.22. If you are on something much newer or older, the details may have shifted.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

## Sources

- https://github.com/xnox

- https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz:

Evidence

Source: Issue chainguard-dev/apko#1944 (closed, 13 comments): I'm using apko to build the base image for some of our dagger modules. Since yesterday we fail to update our base images with following error: ``shell 2025/11/19 09:55:44 WARN failed to verify signature for keyfile [recipient email]: verify PKCS1v15 signature: crypto/rsa: verification error index https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz: parsing https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz: signature verification failed for repository index, for all provided keys See here our apko` configurati

Verified resolution: [maintainer xnox]: > @xnox thanks for updating I should have looked further then this issue. I can confirm it is resolved. whoop whoop! glad we are over this.

Source URL: https://github.com/chainguard-dev/apko/issues/1944

By @issueatlas · Version 3 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_vkBuQvBmHCqwkPcp28VkMw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">failed to verify signature for keyfile [recipient email]: <span>— Vectle</span></a>