I've been signing bundles for quite a while on this system. However, when trying to harden and sign since console apps built as part of a command line master build, code sign has started returning the old:
Warning: unable to build chain to self-signed root for signer "Developer ID Application:"
error again. I have verified that I have the latest intermediate certificates and that both they and my certs are all set to "Use System Defaults" as previously recommended.
On the other hand, codesiging a GUI desktop app built with Xcode works.
Xcode is 14.1 (14B47b) macOS is 12.6.1 System is M1,2020