Post

Replies

Boosts

Views

Activity

Reply to "mapped file has no cdhash, completely unsigned?" when cdhash exists
Hi Quinn(@DTS Engineer), Thank you for the quick response and for the (updated) post! I had wondered about this warning, but I decided it was unimportant since it is also present on versions of my software which work. For instance, if I check the same file in the conda environment contained in a working version of the app on the same machine, it also displays this warning. I should also note that, on the M2 MacBook Pro (MacOS 14.1) I'm working with today, my MWE does not reproduce the error (i.e. scipy.sparse can be imported without error following signing), and it also has this warning. > codesign -dvvv /path/to/lib/python3.11/site-packages/scipy/sparse/linalg/_eigen/arpack/_arpack.cpython-311-darwin.so Executable=/path/to/lib/python3.10/site-packages/scipy/sparse/linalg/_eigen/arpack/_arpack.cpython-310-darwin.so Identifier=_arpack.cpython-310-darwin Format=Mach-O thin (arm64) CodeDirectory v=20400 size=3806 flags=0x10000(runtime) hashes=113+2 location=embedded Library validation warning=OS X SDK version before 10.9 does not support Library Validation Hash type=sha256 size=32 CandidateCDHash sha256=e887c0fd9372bf3c78b8446609a8d3f9eddee120 CandidateCDHashFull sha256=e887c0fd9372bf3c78b8446609a8d3f9eddee1205a8729a33ac117d2763e5909 Hash choices=sha256 CMSDigest=e887c0fd9372bf3c78b8446609a8d3f9eddee1205a8729a33ac117d2763e5909 CMSDigestType=2 CDHash=e887c0fd9372bf3c78b8446609a8d3f9eddee120 Signature size=9000 Authority=Developer ID Application: MY_TEAM_ID Authority=Developer ID Certification Authority Authority=Apple Root CA Timestamp=3 Apr 2025 at 12:09:22 Info.plist=not bound TeamIdentifier=MY_TEAM_ID Sealed Resources=none Internal requirements count=1 size=188 When I use vtool -show to check the associated SDK of /path/to/lib/python3.11/site-packages/scipy/sparse/linalg/_eigen/arpack/_arpack.cpython-311-darwin.so for the intel machine's conda env, it says n/a: /path/to/lib/python3.11/site-packages/scipy/sparse/linalg/_eigen/arpack/_arpack.cpython-311-darwin.so: Load command 8 cmd LC_BUILD_VERSION cmdsize 32 platform MACOS minos 14.0 sdk n/a ntools 1 tool LD version 1022.1 Load command 9 cmd LC_SOURCE_VERSION cmdsize 16 version 0.0 Am I misunderstanding how to further investigate this issue? Or do you think it could be some other issue since this warning also present in some signed versions of the software which work correctly? This bug currently appears on intel but not on apple-silicon, where I use the same build process on both machines. Many thanks, George
Topic: Code Signing SubTopic: General
Apr ’25