Bug 578015 - [OS X] Add entitlements for keychain-access-groups

Add an entitlement to use the keychain access group
"com.apple.ssh.passphrases". This enables Eclipse bundles
to read passphrases of SSH private keys stored by Apple's
OpenSSH in the OS X keychain. It also enables Eclipse bundles
to store items in the OS X keychain in such a way that Apple's
OpenSSH can find and access them.

This enables EGit/JGit to integrate better with the command-line
tools available on OS X; in particular, it will be able to handle
the Mac-specific "UseKeychain yes" setting in ~/.ssh/config for
git operations using SSH URLs the same way as command-line git
using Apple's OpenSSH does.

Change-Id: I1331ea85821ce4e81e61e44d1e45b6c607a82577
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.releng.aggregator/+/189228
Tested-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Reviewed-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/entitlement/equinox.entitlement b/eclipse.platform.releng.tychoeclipsebuilder/entitlement/equinox.entitlement
index 6fdb9d3..ac051ce 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/entitlement/equinox.entitlement
+++ b/eclipse.platform.releng.tychoeclipsebuilder/entitlement/equinox.entitlement
@@ -14,5 +14,9 @@
     <true/>
     <key>com.apple.security.cs.debugger</key>
     <true/>
+    <key>keychain-access-groups</key>
+    <array>
+        <string>com.apple.ssh.passphrases</string>
+    </array>
 </dict>
 </plist>
\ No newline at end of file
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/entitlement/platform.entitlement b/eclipse.platform.releng.tychoeclipsebuilder/entitlement/platform.entitlement
index 6fdb9d3..ac051ce 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/entitlement/platform.entitlement
+++ b/eclipse.platform.releng.tychoeclipsebuilder/entitlement/platform.entitlement
@@ -14,5 +14,9 @@
     <true/>
     <key>com.apple.security.cs.debugger</key>
     <true/>
+    <key>keychain-access-groups</key>
+    <array>
+        <string>com.apple.ssh.passphrases</string>
+    </array>
 </dict>
 </plist>
\ No newline at end of file
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/entitlement/sdk.entitlement b/eclipse.platform.releng.tychoeclipsebuilder/entitlement/sdk.entitlement
index 6fdb9d3..ac051ce 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/entitlement/sdk.entitlement
+++ b/eclipse.platform.releng.tychoeclipsebuilder/entitlement/sdk.entitlement
@@ -14,5 +14,9 @@
     <true/>
     <key>com.apple.security.cs.debugger</key>
     <true/>
+    <key>keychain-access-groups</key>
+    <array>
+        <string>com.apple.ssh.passphrases</string>
+    </array>
 </dict>
 </plist>
\ No newline at end of file