Does not compare Linux kernel module signatures

This bug was originally reported by "Daniel Richard G." (skunk@iSKUNK.ORG) in Debian bug #1034034:

This report is an offshoot of #1029218: dkms should perform reproducible build of modules.

When kernel modules are built in DKMS on two separate but identically-configured systems, they appear to differ only in the portion of the file corresponding to the module signature. Diffoscope does not recognize this, and only shows a binary diff.

Attached is a tarball containing two sets of kernel module files, recently built on a Debian unstable amd64 system, that illustrate the problem when compared.

Edited by Chris Lamb