Bug 1595248 - Port bug 1593041: Add com.apple.security.smartcard entitlement. r=darktrojan a=jorgk
authorRob Lemley <rob@thunderbird.net>
Thu, 14 Nov 2019 11:46:55 -0500
changeset 37291 288402b4c3e9240c4fa2490a2a24da3b4c2f4db8
parent 37290 378cbfce1aed14fe7f848c2cdc91e6480b85949a
child 37292 3e2b07cf139705b4a6b9573912e8b741b653fc21
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
reviewersdarktrojan, jorgk
bugs1595248, 1593041
Bug 1595248 - Port bug 1593041: Add com.apple.security.smartcard entitlement. r=darktrojan a=jorgk 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>