Bitcoin Core 0.18.0 requests access to Contacts.app and Calendar.app on macOS Mojave from a new installation on a formatted machine. #16403

issue einelefantle opened this issue on July 17, 2019
  1. einelefantle commented at 1:51 AM on July 17, 2019: none

    <!-- This issue tracker is only for technical issues related to Bitcoin Core. <!-- Describe the issue --> Bitcoin Core 0.18.0 requests access to Contacts.app and Calendar.app on macOS Mojave from a new installation on a formatted machine.

    <!--- What behavior did you expect? --> I am certain I've never seen this happen before.

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    Screen Shot 2019 07 16 Screen Shot 2019-07-16

    <!--- How reliably can you reproduce the issue, what are the steps to do so? --> Format macOS, install Mojave, install Bitcoin Core 0.18.0

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? --> Bitcoin Core 0.18.0 from https://bitcoincore.org/en/download/ **verified** with SHA256.

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? --> macOS Mojave on MacBook Air.

    <!-- For the GUI-related issue on Linux provide names and versions of a distro, a desktop environment and a graphical shell (if relevant). -->

    <!-- Any extra information that might be useful in the debugging process. -->

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

  2. fanquake added the label macOS on Jul 17, 2019
  3. MarcoFalke commented at 4:59 PM on July 17, 2019: member

    Can anyone reproduce this?

  4. fanquake commented at 1:50 AM on July 18, 2019: member

    I did some experimenting. It looks like if an application requests access to the users home directory, there's a potential for these popups to (sporadically?) appear. Note that this is definitely not something that we're doing, it's triggered by macOS.

    I've been able to recreate the behavior using the v0.18.0 dmg from bitcoincore, and a macOS 10.14.5 system. On startup if you choose to use a custom data directory, you may get the following popups:

    calendar contacts

    and see Bitcoin Core listed under the apps that have requested access to either of those things in Privacy: privacy

    I've found reports of similar behavior from other (non-Qt) apps as well, so not sure if this is something we can "fix".

    Atom - macOS Mojave: Atom requests access to Contacts and Calendars VsCode - macOS Mojave: VSCode requests access to Contacts and Calendars IntelliJ WebStorm - WebStorm requests access to contacts from particular user on macOs Mojave

  5. MarcoFalke added the label Brainstorming on Jul 18, 2019
  6. MarcoFalke commented at 9:54 PM on July 18, 2019: member
  7. fjahr commented at 3:36 PM on July 24, 2019: member

    Since this seems to only be an issue when the home directory is chosen as the custom data-dir I think the easiest "catch-all" solution is to add some kind of hint along with the custom data-dir option. Something like "This may require additional permissions depending on the location you choose and your operating system." Given that users could choose any kind of obscure location for their data dir (like the actual contacts folder) I think there will always be a chance that users are prompted for additional permissions. On the other hand, Contacts/Calendars will still be confusing to some people because they don't think of them as folders in their file system. But for those users, the only further help I can think of is adding install notes or an faq entry somewhere easy to find, something along the lines of the atom forum post.

    I am not a macOS developer but since the IDE developers have not brought up this solution I suspect there is no way to generally exclude access to specific subfolders on the system, which would be the cleanest solution, of course.

  8. MarcoFalke commented at 11:41 PM on May 11, 2020: member

    Not sure what to do here. Can this be closed?

  9. fanquake commented at 2:36 AM on May 12, 2020: member

    I think so. There's not really anything for us to solve here, and this is well outside an actual being an actual bitcoin issue.

  10. fanquake closed this on May 12, 2020

  11. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me