Hi -

> [...]
> $ debuginfod-find -v debuginfo 1afd01f4bd3e689a67206c10c20e69921ba9be93
> /home/fweimer/.cache/debuginfod_client/1afd01f4bd3e689a67206c10c20e69921ba9be93/debuginfo
> 
> Due to the caching, the extra metadata is not shown.

I love this kind of feature request, coming to you in the impending
elfutils release!

https://sourceware.org/git/?p=elfutils.git;a=commit;h=31867d468c10d26ee13efb93f5d7ddf2bcadf253

author  Frank Ch. Eigler <f...@redhat.com>      
Wed, 5 Mar 2025 20:23:49 +0000 (15:23 -0500)
commit 31867d468c10d26ee13efb93f5d7ddf2bcadf253

PR31862: debuginfod: client to cache x-debuginfod-* headers

This feature allows the extra http headers from debuginfod to be saved
into the client cache, and also thus replayed to clients.  This way
they can perform IMA verification again, if they like, or a federating
caching intermediate debuginfod server can replay the headers it
received previously from upstream to future downstream.  The headers
are placed adjacent to the payload files .cache/debuginfod/BUILDID/PAYLOAD
as .cache/debuginfod/BUILDID/hdr-PAYLOAD.  They are aged the same
atime-based way.


- FChE

Reply via email to