trackslash
VAULT-154 P1 For an agent

Fix the Mac 2.1 rejection (guideline 2.4.5): the AutoFill extension uses the camera without the entitlement

0
All issues

Description

App Review rejected the Mac app's 2.1 (build 100016) under guideline 2.4.5 and asked for com.apple.security.device.camera.

Cause

  • Vault.app already had the camera entitlement.
  • VaultMacAutofill.appex didn't, but it linked the whole VaultMac module, QR scanner included. 2.1's archive shows 9 AVCapture symbols in the extension's binary.

Fix (Bradley chose this over giving the extension the entitlement)

  • The extension links a new VaultMacAutofill module, and what it shares with the app moves to VaultMacShared. Neither has camera code.
  • make validate and the release lane fail for any Mac bundle whose code uses AVCapture without the camera entitlement.

Bradley isn't resubmitting 2.1 for the Mac. The fix ships with 2.2.

Done when

The fix is merged, and the 2.2 Mac build's AutoFill extension has no camera symbols.

Sub-issues

0

Linked issues

0

GitHub

0

No branches or pull requests linked.

Comments

2
Bradley

Confirmed in the 2.2 App Store build (100017). The release lane's check_release_bundles passed for the exported Mac .pkg, so VaultMacAutofill.appex and VaultMacWidgets.appex have no AVCapture symbols. Only Vault.app uses the camera, and it has the entitlement. The Mac review notes for 2.2 explain the change (#759).

Bradley

Fixed in vault-app #758 (merged as 5d2c45f4).

  • New modules: the Mac AutoFill extension links VaultMacAutofill in place of VaultMac. What it shares with the app is in VaultMacShared. The extension target's own module is VaultMacAutofillExtension.
  • Debug build, nm -u on each bundle:
    • Vault.app: 9 AVCapture symbols, with the camera entitlement.
    • VaultMacAutofill.appex: 0.
    • VaultMacWidgets.appex: 0.
  • Checks: local-check's "Mac app entitlements" and the release lane's check_release_bundles now fail any Mac bundle with AVCapture symbols and no camera entitlement.

What's left: check the 2.2 App Store build's extension (VAULT-155). The release lane's check does that.