objective-see / WhatsYourSign

WhatsYourSign adds a menu item to Finder.app. Simply right-, or control-click on any file to display its cryptographic signing information!
GNU General Public License v3.0
288 stars 27 forks source link

WYS menu not appearing, any other way to run it? (drag n drop, commandline... ) #23

Open luckman212 opened 1 year ago

luckman212 commented 1 year ago

I'm not seeing the WYS menu in my Finder's context menu for some reason (macOS 13.5.2)

I was wondering if there's any way to trigger it to check a bundle via the commandline, or some way to drag and drop onto it? Would be a nice feature to have so we could use it in Alfred workflows...

objective-see commented 1 year ago

Under the hood, it uses /usr/bin/pluginkit to install itself: Specifically: pluginkit -a <path 2 ext>

via the -m and -i options, along with bundle id (com.objective-see.WhatsYourSignExt.FinderSync) you can then query to see/confirm that it's installed:

% pluginkit -m -i com.objective-see.WhatsYourSignExt.FinderSync
+    com.objective-see.WhatsYourSignExt.FinderSync(2.2.0)
luckman212 commented 1 year ago

Ok, thanks- yes disabling and re-enabling the extension with pluginkit got the menu to appear. But, I have a long context menu because a lot of apps like to stick things in there. It would still be very useful to be able to either drag+drop into WYS or trigger the cert check via a script somehow.