[GH-ISSUE #1015] Hoarder 0.22 container reports corepack error due to key matching error #667

Closed
opened 2026-03-02 11:51:46 +03:00 by kerem · 3 comments
Owner

Originally created by @ahgraber on GitHub (Feb 10, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1015

Describe the Bug

I think this is the same as #967 but wanted to explicitly report that this error also occurs in the Hoarder 0.22 container container (x86) as well.

Node.js v22.13.1
/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:21535
  if (key == null || signature == null) throw new Error(`Cannot find matching keyid: ${JSON.stringify({ signatures, keys })}`);
                                              ^

Error: Cannot find matching keyid: {"signatures":[{"sig":"MEYCIQDkZyZZmBzkRcQowEEFiEcGp4/xV8GBLXxTEzz9QstrsAIhAPx6tvZixjTub6GPqJa82vcWFhUU39JCtoJvcoRK/K39","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"keys":[{"expires":null,"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","keytype":"ecdsa-sha2-nistp256","scheme":"ecdsa-sha2-nistp256","key":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1Olb3zMAFFxXKHiIkQO5cJ3Yhl5i6UPp+IhuteBJbuHcA5UogKo0EWtlWwW6KSaKoTNEYL7JlCQiVnkhBktUgg=="}]}
    at verifySignature (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:21535:47)
    at fetchLatestStableVersion (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:21553:5)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async fetchLatestStableVersion2 (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:21672:14)
    at async Engine.getDefaultVersion (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:22298:23)
    at async Engine.executePackageManagerRequest (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:22396:47)
    at async Object.runMain (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:23102:5)

Steps to Reproduce

Start hoarder 0.22 container.
Review logs

Expected Behaviour

corepack should not throw errors

Screenshots or Additional Context

No response

Device Details

No response

Exact Hoarder Version

0.22

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem
Originally created by @ahgraber on GitHub (Feb 10, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1015 ### Describe the Bug I think this is the same as #967 but wanted to explicitly report that this error also occurs in the Hoarder 0.22 container container (x86) as well. ``` Node.js v22.13.1 /usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:21535 if (key == null || signature == null) throw new Error(`Cannot find matching keyid: ${JSON.stringify({ signatures, keys })}`); ^ Error: Cannot find matching keyid: {"signatures":[{"sig":"MEYCIQDkZyZZmBzkRcQowEEFiEcGp4/xV8GBLXxTEzz9QstrsAIhAPx6tvZixjTub6GPqJa82vcWFhUU39JCtoJvcoRK/K39","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"keys":[{"expires":null,"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","keytype":"ecdsa-sha2-nistp256","scheme":"ecdsa-sha2-nistp256","key":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1Olb3zMAFFxXKHiIkQO5cJ3Yhl5i6UPp+IhuteBJbuHcA5UogKo0EWtlWwW6KSaKoTNEYL7JlCQiVnkhBktUgg=="}]} at verifySignature (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:21535:47) at fetchLatestStableVersion (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:21553:5) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async fetchLatestStableVersion2 (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:21672:14) at async Engine.getDefaultVersion (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:22298:23) at async Engine.executePackageManagerRequest (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:22396:47) at async Object.runMain (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:23102:5) ``` ### Steps to Reproduce Start hoarder 0.22 container. Review logs ### Expected Behaviour corepack should not throw errors ### Screenshots or Additional Context _No response_ ### Device Details _No response_ ### Exact Hoarder Version 0.22 ### Have you checked the troubleshooting guide? - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem
kerem closed this issue 2026-03-02 11:51:46 +03:00
Author
Owner

@MohamedBassem commented on GitHub (Feb 10, 2025):

I have pushed a fix yesterday on the nightly build. Mind giving it a try and let me know if it helps? If it does, I might have to cut a patch release.

<!-- gh-comment-id:2649208678 --> @MohamedBassem commented on GitHub (Feb 10, 2025): I have pushed a fix yesterday on the nightly build. Mind giving it a try and let me know if it helps? If it does, I might have to cut a patch release.
Author
Owner

@ahgraber commented on GitHub (Feb 11, 2025):

Seems to be working! No errors logged and logs do show successful crawling and indexing.

<!-- gh-comment-id:2649523951 --> @ahgraber commented on GitHub (Feb 11, 2025): Seems to be working! No errors logged and logs do show successful crawling and indexing.
Author
Owner

@halkeye commented on GitHub (Feb 14, 2025):

I didn't try latest, but https://vercel.com/guides/corepack-errors-github-actions lead me to COREPACK_INTEGRITY_KEYS=0, which solves the issue, so i'm waiting for that patch release \o/

<!-- gh-comment-id:2658305715 --> @halkeye commented on GitHub (Feb 14, 2025): I didn't try latest, but https://vercel.com/guides/corepack-errors-github-actions lead me to COREPACK_INTEGRITY_KEYS=0, which solves the issue, so i'm waiting for that patch release \o/
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#667
No description provided.