The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > Community > Omni Lounge
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Is Linkback abandoned? [No; here's how to make it work with sandboxing!] Thread Tools Search this Thread Display Modes
I am curious whether Linkback will be developed any further. It is invaluable in one of my applications. WRT to the search for general ways to handle sandbox restrictions (last post here ... http://forums.omnigroup.com/showthre...light=linkback), even an updated Linkback framework that requires a developer to set entitlements on an app-by-app would be much welcomed.

Is Linkback truly to be considered "abandoned"?

--
JJW
 
One man's temporary is another man's forever it seems.

Especially when the gurus in command are silent on the topic.

--
JJW
 
Sorry I didn't see this sooner! Sending us email or submitting a github issue against our LinkBack code would probably get our attention more quickly.

We're continuing to use LinkBack in our sandboxed apps.

For now, we're just using a temporary entitlement to look up Mach ports in known apps so that this works with existing code:

Code:
	<key>com.apple.security.temporary-exception.mach-lookup.global-name</key>
	<array>
		<!-- LinkBack needs to be able to talk to mach ports for other apps that use it -->
		<string>com.omnigroup.OmniGrafflePro:OmniGraffle</string>
		<string>com.omnigroup.OmniGrafflePro.MacAppStore:OmniGraffle</string>
		<string>com.omnigroup.OmniGraffle:OmniGraffle</string>
		<string>com.omnigroup.OmniGraffle.MacAppStore:OmniGraffle</string>
		<string>com.freeverse.Lineform:inform</string>
		<string>fr.chachatelier.pierre.LaTeXiT:LaTeXiT</string>
	</array>
Looking ahead, we should probably replace named Mach ports with local sockets and Bonjour lookups, but that change will require coordination among all the apps which support LinkBack.
 
Thanks. Sent a link to Curio developer about this. LinkBack is much appreciated between Curio and LaTexiT and OmniFocus. I would hate to loose this valuable tool!
 
Hi Ken,

Are those entitlements something that can be modified by end users? Seems not from what I can gather.

I was playing around, making a trivial LinkBack app to do image skewing. But it fails to plug into OmniGraffle 6. (Works fine in OmniGraffle 5.)

denty.
 
Quote:
Originally Posted by denty View Post
Are those entitlements something that can be modified by end users? Seems not from what I can gather.
Developers can update the entitlements of the app using the "codesign" command-line tool. For example, if I wanted to add org.example.MyExampleApp:MyExampleApp to OmniGraffle's entitlements (making a copy of the app as Test-OmniGraffle.app just in case something breaks), I'd do this:

Code:
ditto OmniGraffle.app Test-OmniGraffle.app
codesign --display --entitlements :- Test-OmniGraffle.app > /tmp/OmniGraffle.entitlements.plist
defaults write /tmp/OmniGraffle.entitlements.plist com.apple.security.temporary-exception.mach-lookup.global-name -array-add "org.example.MyExampleApp:MyExampleApp"
plutil -convert xml1 /tmp/OmniGraffle.entitlements.plist
codesign --force --sign "Mac Developer:" --entitlements /tmp/OmniGraffle.entitlements.plist Test-OmniGraffle.app
Hope this helps!

(But you can see why I'm thinking we should ultimately switch LinkBack over to using some other communication mechanism which doesn't require app-specific entitlements!)
 
Thanks Ken!

That's great.

denty.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linkback and sandboxing Joe Alexander Omni Lounge 1 2012-09-26 09:17 PM
Linkback annoyances warrenn OmniGraffle General 5 2009-11-06 06:27 PM
Need Help Using Linkback Rivkah OmniGraffle General 5 2008-09-27 06:48 PM
Can't get linkback working random1destiny OmniGraffle General 1 2008-03-13 12:50 PM
OmniGraffle and Linkback Anothersite OmniGraffle General 0 2008-03-06 04:41 PM


All times are GMT -8. The time now is 01:55 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.