dockstation icon indicating copy to clipboard operation
dockstation copied to clipboard

Add mac/mas apple notarize

Open ssbarnea opened this issue 4 years ago • 6 comments

I tried to get DockerStation on MacOS using two methods, both failed.

brew

brew cask install dockerstation

This installed 1.5.1 version but when trying to run it MacOS refused to start it because is not signed. For obvious reasons I am not willing to unsecure my machine just for testing it.

github releases

Downloaded the archive and tried to run the app, this time an even more awkward error appeared The application “DockStation.app” can’t be opened.

error	19:45:24.843668+0100	Finder	spawn_via_launchd() failed, errno=111 label=<private> path=<private> flags=1
error	19:45:25.084384+0100	swcd	Error getting enterprise-managed associated domains data. If this device is not enterprise-managed, this is normal: Error Domain=SWCErrorDomain Code=1701 UserInfo={Line=191, Function=<private>}

Note: I used latest release of MacOS 10.15

ssbarnea avatar Oct 15 '19 18:10 ssbarnea

Hi @ssbarnea Thanks for the issue! I'm still on 10.14 I'll update in the next few days and will check.

The app was signed, but maybe it relates with some new Apple Security Policy changes.

Can you open the app via the context menu? image

igor-lemon avatar Oct 15 '19 18:10 igor-lemon

$ codesign -dv --verbose=4 /Applications/DockStation.app/
Executable=/Applications/DockStation.app/Contents/MacOS/DockStation
Identifier=com.dockstationio.dockstation
Format=app bundle with Mach-O thin (x86_64)
CodeDirectory v=20200 size=349 flags=0x0(none) hashes=3+5 location=embedded
VersionPlatform=1
VersionMin=657664
VersionSDK=658432
Hash type=sha256 size=32
CandidateCDHash sha1=de30e346760a7fbab556bc73737a219ab955bcd1
CandidateCDHash sha256=c0d8ff88a814400a2ff87c5f3998277fefa92b43
Hash choices=sha1,sha256
Page size=4096
CDHash=c0d8ff88a814400a2ff87c5f3998277fefa92b43
Signature size=9009
Authority=Developer ID Application: Igor Kozlovsky (SKSVUFLAH3)
Authority=Developer ID Certification Authority
Authority=Apple Root CA
Timestamp=Apr 11, 2019 at 2:29:32 AM
Info.plist entries=24
TeamIdentifier=SKSVUFLAH3
Sealed Resources version=2 rules=13 files=65
Internal requirements count=1 size=192

igor-lemon avatar Oct 15 '19 20:10 igor-lemon

@igor-lemon I get almost the same output but I cannot open the app, even with side-menu. https://sbarnea.com/ss/Screen-Shot-2019-10-15-21-46-21.17.png

I can browse the package content.

ssbarnea avatar Oct 15 '19 20:10 ssbarnea

@ssbarnea Ok. I'll update macOS and write some additional information. I think we need only to rebuild the app.

igor-lemon avatar Oct 15 '19 20:10 igor-lemon

Here is something interesting: The error described above happened while trying the zip download for mac. I tried the DMG one and that one gives

“DockStation.app” cannot be opened because the developer cannot be verified. macOS cannot verify that this app is free from malware.

I think that the zip is corrupt and should not be used, but also the DMG version is missing the signing.

https://sbarnea.com/ss/Screen-Shot-2019-10-15-21-51-23.78.png

Yeah, with right-click it worked from the DMG. Remove the ZIPs to avoid confusions, especially as they are listed the first!

ssbarnea avatar Oct 15 '19 20:10 ssbarnea

I updated macOS, confirm the problem.

igor-lemon avatar Oct 20 '19 23:10 igor-lemon