This error indicates that the file used for digital signature verification (e.g. with imgverify) was not a valid digital signature file.
imgverify
Things to try:
openssl cms -in signature_file.sig -inform DER -cmsout -print