AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
24.67k stars 1.78k forks source link

Sign binaries for macOS #7186

Open piyushgarg opened 1 month ago

piyushgarg commented 1 month ago

Issue Details

As the AdguardHome for Mac binary is not signed and the corporate profile does not allow unsigned binaries to allow incoming connections, I am not able to access the AdGuardHome website from another system in LAN.

[info] AdGuard Home, version v0.107.52

Some of the settings are disabled as mentioned below.

image image image image

Proposed solution

Sign the AdguardHome binary for MacOS so that it is allowed for incoming connections with corporate profiles installed.

Alternative solution

No response

piyushgarg commented 1 month ago
codesign -dv --verbose=4 /Applications/AdGuardHome/AdGuardHome
Executable=/Applications/AdGuardHome/AdGuardHome
Identifier=a.out
Format=Mach-O thin (arm64)
CodeDirectory v=20400 size=229598 flags=0x20002(adhoc,linker-signed) hashes=7172+0 location=embedded
VersionPlatform=1
VersionMin=720896
VersionSDK=720896
Hash type=sha256 size=32
CandidateCDHash sha256=e56f7a93ab4ef93a223325cec68dffc0b06c8b06
CandidateCDHashFull sha256=e56f7a93ab4ef93a223325cec68dffc0b06c8b0641cf2a99d78457dfa2ac7359
Hash choices=sha256
CMSDigest=e56f7a93ab4ef93a223325cec68dffc0b06c8b0641cf2a99d78457dfa2ac7359
CMSDigestType=2
Executable Segment base=0
Executable Segment limit=20234240
Executable Segment flags=0x1
Page size=4096
CDHash=e56f7a93ab4ef93a223325cec68dffc0b06c8b06
Signature=adhoc
Info.plist=not bound
TeamIdentifier=not set
Sealed Resources=none
Internal requirements=none
Aydinv13 commented 1 month ago

Transferred the issue to the right repo.