Bug 1595248 - Port bug 1593041: Add com.apple.security.smartcard entitlement. r=darktrojan
authorRob Lemley <rob@thunderbird.net>
Thu, 14 Nov 2019 11:46:55 -0500
changeset 36641 c94a552514bb19d9295a395195be22c93e8ca911
parent 36640 d876748e86f5313bd99692a874f32d690eb2cd8c
child 36642 54d186205801e6f5c0dbade30c7141c189a1aefc
push id2534
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:52:51 +0000
treeherdercomm-beta@055c50840778 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdarktrojan
bugs1595248, 1593041
Bug 1595248 - Port bug 1593041: Add com.apple.security.smartcard entitlement. r=darktrojan Needed for clients of some CryptoTokenKit.framework API's, per SmartCardServices(7).
build/macosx/hardenedruntime/developer.entitlements.xml
build/macosx/hardenedruntime/production.entitlements.xml
--- a/build/macosx/hardenedruntime/developer.entitlements.xml
+++ b/build/macosx/hardenedruntime/developer.entitlements.xml
@@ -45,10 +45,13 @@
 
     <!-- Thunderbird uses the macOS addressbook for contacts storage. -->
     <key>com.apple.security.personal-information.addressbook</key><true/>
 
     <!-- Allow Thunderbird to send Apple events to other applications. Needed
          for native messaging webextension helper applications launched by
          Thunderbird 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/build/macosx/hardenedruntime/production.entitlements.xml
+++ b/build/macosx/hardenedruntime/production.entitlements.xml
@@ -45,10 +45,13 @@
 
     <!-- Thunderbird uses the macOS addressbook for contacts storage. -->
     <key>com.apple.security.personal-information.addressbook</key><true/>
 
     <!-- Allow Thunderbird to send Apple events to other applications. Needed
          for native messaging webextension helper applications launched by
          Thunderbird 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>