To add a bit more to that, running codesign --verify --no-strict with verbose output doesn’t show any errors. My output says:
Valid on disk
Satisfies its Designated Requirement
Without --no-strict argument, the output says
resource envelope is obsolete (custom omit rules)
After some searching, this seems to be connected to version of code sign (resource rules are deprecated in v2).