docker / for-mac

Bug reports for Docker Desktop for Mac
https://www.docker.com/products/docker#/mac
2.43k stars 118 forks source link

Code signatures: Unsigned binaries, duplicate identifiers, missing identifier prefix #3313

Open droe opened 5 years ago

droe commented 5 years ago

Expected behavior

Actual behavior

These problems lead to various (mostly minor) issues with software inventory, application deployment, personal firewalls, binary whitelisting and security monitoring systems that cannot tell the different binaries apart based on the identifier embedded in the code signature.

Information

Diagnostic logs

% ls /Applications/Docker.app/Contents/MacOS/   
Docker*                        com.docker.osxfs*
com.docker.diagnose*           com.docker.supervisor*
com.docker.driver.amd64-linux* qcow-tool*
com.docker.neutralize*
% codesign -d -vvvv /Applications/Docker.app/Contents/MacOS/* 2>&1|grep ^Ident
Identifier=com.docker.docker
Identifier=com.docker
Identifier=com.docker.driver.amd64-linux
Identifier=com.docker
Identifier=com.docker
Identifier=com.docker.supervisor
Identifier=qcow-tool
% ls /Applications/Docker.app/Contents/Resources/bin                                
com.docker.hyperkit*           docker-credential-osxkeychain*
com.docker.vpnkit*             docker-machine*
docker*                        kubectl*
docker-compose*                notary*
% codesign -d -vvvv /Applications/Docker.app/Contents/Resources/bin/* 2>&1 |grep ^Ident
Identifier=com.docker
Identifier=com.docker
Identifier=docker
Identifier=docker-compose
Identifier=docker-credential-osxkeychain
Identifier=docker-machine
Identifier=kubectl

Steps to reproduce the behavior

  1. Download and install docker on any macOS.
  2. Use codesign -d -vvvv to inspect the code signature on each MachO binary.
docker-robott commented 5 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

droe commented 5 years ago

/remove-lifecycle stale

droe commented 5 years ago

/lifecycle frozen

droe commented 5 years ago

«I want my bug report timed out without anybody looking at it!» - no one ever