Bug 1593041 - Add com.apple.security.smartcard entitlement to Firefox r=spohl a=pascalc
authorHaik Aftandilian <haftandilian@mozilla.com>
Fri, 01 Nov 2019 15:43:10 +0000
changeset 559944 d66f810451a908f11a929c72a337703f8195ce23
parent 559943 dc8f31580f29bf0be039faa8f2a70a985c0333bc
child 559945 e5b7389c999860e0f09f0c2dca1f8d466bed3380
push id12275
push usernbeleuzu@mozilla.com
push dateFri, 08 Nov 2019 08:55:47 +0000
treeherdermozilla-beta@d66f810451a9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersspohl, pascalc
bugs1593041
milestone71.0
Bug 1593041 - Add com.apple.security.smartcard entitlement to Firefox r=spohl a=pascalc Add the com.apple.security.smartcard entitlement to Firefox's entitlements list. Needed for clients of some CryptoTokenKit.framework API's, per SmartCardServices(7). Differential Revision: https://phabricator.services.mozilla.com/D51303
security/mac/hardenedruntime/developer.entitlements.xml
security/mac/hardenedruntime/production.entitlements.xml
--- a/security/mac/hardenedruntime/developer.entitlements.xml
+++ b/security/mac/hardenedruntime/developer.entitlements.xml
@@ -41,10 +41,13 @@
 
     <!-- Firefox needs to access the location on sites the user allows -->
     <key>com.apple.security.personal-information.location</key><true/>
 
     <!-- Allow Firefox to send Apple events to other applications. Needed
          for native messaging webextension helper applications launched by
          Firefox which rely on Apple Events to signal other processes. -->
     <key>com.apple.security.automation.apple-events</key><true/>
+
+    <!-- For SmartCardServices(7) -->
+    <key>com.apple.security.smartcard</key><true/>
   </dict>
 </plist>
--- a/security/mac/hardenedruntime/production.entitlements.xml
+++ b/security/mac/hardenedruntime/production.entitlements.xml
@@ -41,10 +41,13 @@
 
     <!-- Firefox needs to access the location on sites the user allows -->
     <key>com.apple.security.personal-information.location</key><true/>
 
     <!-- Allow Firefox to send Apple events to other applications. Needed
          for native messaging webextension helper applications launched by
          Firefox which rely on Apple Events to signal other processes. -->
     <key>com.apple.security.automation.apple-events</key><true/>
+
+    <!-- For SmartCardServices(7) -->
+    <key>com.apple.security.smartcard</key><true/>
   </dict>
 </plist>