{"id":27033,"date":"2019-10-24T16:39:52","date_gmt":"2019-10-24T20:39:52","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=27033"},"modified":"2019-10-24T16:42:42","modified_gmt":"2019-10-24T20:42:42","slug":"airdrop-and-quarantine-flags","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2019\/10\/24\/airdrop-and-quarantine-flags\/","title":{"rendered":"AirDrop and Quarantine Flags"},"content":{"rendered":"<p><a href=\"https:\/\/eclecticlight.co\/2019\/10\/24\/airdrop-and-quarantine-flags\/\">Howard Oakley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2019\/10\/24\/airdrop-and-quarantine-flags\/\">\n<p>AirDrop has a bigger problem, though: because it&rsquo;s a semi-public way of pushing files of unknown pedigree onto an unsuspecting Mac (or iOS device), macOS attaches a quarantine flag to everything transferred by AirDrop. For documents that&rsquo;s only a minor irritant, now that <a href=\"https:\/\/eclecticlight.co\/2019\/05\/03\/serious-flaw-in-macos-quarantine-can-stop-you-from-opening-documents\/\">macOS so promiscuously<\/a> sets quarantine flags on every document opened by a sandboxed app. It can still catch you out when you try to open that document with an app other than the default for that type.<\/p>\n<p>But for apps, command tools and other forms of executable code, this is more serious. If you&rsquo;ve just copied one of those across, on the receiving Mac that software is now going to trigger a full Gatekeeper first run check. If that destination system happens to be Catalina and the software should be notarized but isn&rsquo;t, you could find yourself wasting time slipping it past that. For command tools in particular that can come as a complete surprise.<\/p>\n<p>[&#8230;]<\/p>\n<p>In Catalina, if the app isn&rsquo;t notarized, double-clicking it will elicit the usual failure dialog, and opening it using the Finder&rsquo;s Open command gives you the option to open it regardless.<\/p>\n<\/blockquote>\n<p>I get why this happens, but it&rsquo;s annoying when you just want to send yourself a file. I used to do this frequently during development to test the in-progress app on other systems. In that situation, you really don&rsquo;t want to have to go through the full notarization process. The contextual menu bypass seems unreliable. Sometimes it doesn&rsquo;t work the first time, sometimes it launches the app but shows an error message, anyway, and I&rsquo;ve received one report of it not working at all. I&rsquo;ve taken to transferring using <code>rsync<\/code> or <code>scp<\/code>, as those don&rsquo;t add quarantine flags.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/10\/17\/catalina-notarization\/\">Catalina Notarization<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/05\/06\/quarantine-apps-and-documents\/\">Quarantine: Apps and Documents<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Howard Oakley: AirDrop has a bigger problem, though: because it&rsquo;s a semi-public way of pushing files of unknown pedigree onto an unsuspecting Mac (or iOS device), macOS attaches a quarantine flag to everything transferred by AirDrop. For documents that&rsquo;s only a minor irritant, now that macOS so promiscuously sets quarantine flags on every document opened [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2019-10-24T20:39:56Z","apple_news_api_id":"87b13b1d-1e0b-4263-adcb-8e73048e2e95","apple_news_api_modified_at":"2019-10-24T20:42:46Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAg==","apple_news_api_share_url":"https:\/\/apple.news\/Ah7E7HR4LQmOty45zBI4ulQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[1003,131,30,32,1666,1842,48],"class_list":["post-27033","post","type-post","status-publish","format-standard","hentry","category-technology","tag-airdrop","tag-bug","tag-mac","tag-macapp","tag-macos-10-15","tag-notarization","tag-security"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/27033","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=27033"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/27033\/revisions"}],"predecessor-version":[{"id":27044,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/27033\/revisions\/27044"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=27033"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=27033"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=27033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}