Modify

Opened 7 months ago

Closed 5 days ago

#213 closed defect (fixed)

BNC 2.13.4 macOS build blocked by Gatekeeper and crashes due to invalid code signature (Code 2, CODESIGNING)

Reported by: ardayesil@… Owned by: stuerze
Priority: blocker Component: BNC
Version: BNC 2.2 Keywords: crash
Cc:

Description

Dear BNC Development Team,
I would like to report an issue with the macOS build of BNC 2.13.4.
On macOS 26.3 (Apple Silicon, M2), the application initially shows the system warning:
“bnc.app is damaged and can’t be opened. You should move it to the Trash.”
After manually removing the quarantine attribute, the application no longer shows the “damaged” message, but it immediately crashes on launch with:

Termination Reason: Namespace CODESIGNING, Code 2
Exception Type: SIGKILL (Code Signature Invalid)
The crash report also shows the bundle identifier as:
com.yourcompany.bnc

As a temporary workaround, I was able to run the application by re-signing it locally using:
codesign --force --deep --sign - /Applications/bnc.app

After applying an ad-hoc signature, the application launches and runs normally.
It appears the distributed macOS build may not be properly signed and/or notarized. On current macOS versions, this results in Gatekeeper blocking the application and the system terminating the process at launch.
Could you please confirm whether the macOS build is intended to be signed and notarized for distribution?
Best regards,
Arda Yeşil

Attachments (0)

Change History (5)

comment:1 by anonymous, 7 months ago

Priority: normalblocker

comment:2 by wiese, 7 months ago

Hi,
we do not have a developer ID so far. We might try with https://knowledge.digicert.com/tutorials/mac-os-sign-code-command-line in the mean time.

comment:4 by wiese, 9 days ago

Please download from https://igs.bkg.bund.de/ntrip/bnc, install and test. You have to run

xattr -cr /Applications/bnc.app

once before running the app.

comment:5 by wiese, 5 days ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Action
as closed The owner will remain stuerze.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.