seemoo-lab / openhaystack

Build your own 'AirTags' 🏷 today! Framework for tracking personal Bluetooth devices via Apple's massive Find My network.
https://owlink.org
GNU Affero General Public License v3.0
8.2k stars 446 forks source link

Incompatible Plug-ins Disabled #11

Open froodproton opened 3 years ago

froodproton commented 3 years ago

After activating the plugin in mail, it restarts and shows:

Mail has disabled the following plug-ins: OpenHaystackMail.mailbundle Contact the makers of these plug-ins for versions that are compatible with Mail 14.0.

sem1845 commented 3 years ago

https://github.com/seemoo-lab/openhaystack/issues/4

froodproton commented 3 years ago

I cannot confirm. Maybe because:

sudo spctl --master-disable
objc[10597]: Class SPExecutionPolicy is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10597]: Class AppWrapper is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10597]: Class AppWrapperPolicyResult is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10597]: Class AppWrapperPolicy is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10597]: Class SPLog is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10597]: Class MIS is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10597]: Class SPExecutionHistoryItem is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10597]: Class SPExecutionPolicyItem is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10597]: Class SPDeveloperPolicy is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10597]: Class GKScanResult is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.

??

status shows:

sudo spctl --status
objc[10650]: Class SPExecutionPolicy is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10650]: Class AppWrapper is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10650]: Class AppWrapperPolicyResult is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10650]: Class AppWrapperPolicy is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10650]: Class SPLog is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10650]: Class MIS is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10650]: Class SPExecutionHistoryItem is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10650]: Class SPExecutionPolicyItem is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10650]: Class SPDeveloperPolicy is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[10650]: Class GKScanResult is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
assessments disabled
Sn0wfreezeDev commented 3 years ago

As suggested by @sem1845 Disable Gatekeeper, then activate the Mail plug-in and enable gatekeeper again afterwards

froodproton commented 3 years ago

I don't get the point - the gatekeeper was disabled before this issue was posted. This issue was raised BECAUSE the message occurs ALTHOUGH gatekeeper is disabled.

Doesn't the status show that it is disabled? sudo spctl --status
assessments disabled

After activating the plugin in mail, it restarts and shows:

Mail has disabled the following plug-ins: OpenHaystackMail.mailbundle Contact the makers of these plug-ins for versions that are compatible with Mail 14.0.

Sn0wfreezeDev commented 3 years ago

Which macOS version are you using? It could be that a new Beta would require an update to the Plug-In

schmittner commented 3 years ago

Also I think that running spctl shouldn't throw these warnings...

schmittner commented 3 years ago

@froodproton were you able to get it running?

domse commented 3 years ago

I think the Mailplugin isn't compatible to current Mail 14 version as per openhaystack/OpenHaystack/OpenHaystackMail/Info.plist Therefore the plugin doesn't show up without another compatible Addon. I was also only able to install when adding mailbutler.

Sn0wfreezeDev commented 3 years ago

I checked that several times, because when the plug-in is not compatible you get an error message by Mail saying that it is not compatible with Mail 14.

What I think could be the issue is that we store the plug-in in the user's directory at ~/Library/Mail/Bundles. Most other plug-ins store it in the system level at /Library/Mail/Bundles. Mail does not seem to query the user folder for some users if they do not have other plug-ins installed

froodproton commented 3 years ago

I am running regular Mac OS 11.2.3 The Mac is company managed with Jamf, but I don't see any restrictions regarding gatekeeper. /Library/Mail does not exist on this Mac.

Mailbutler is installed now and the MailButler Plugin is active, it was possible to activate it just like it is required for haystack. But the problem with haystack plugin still persists.....

grigorye commented 3 years ago

I face this issue as well on M1 running BigSur 11.3.

PrinzEric commented 3 years ago

Still present

K4CZP3R commented 3 years ago

Bump, still present on 11.5 (m1)

64 fixes it