{"action":"closed","issue":{"url":"https://api.github.com/repos/Alexpux/MINGW-packages/issues/1778","repository_url":"https://api.github.com/repos/Alexpux/MINGW-packages","labels_url":"https://api.github.com/repos/Alexpux/MINGW-packages/issues/1778/labels{/name}","comments_url":"https://api.github.com/repos/Alexpux/MINGW-packages/issues/1778/comments","events_url":"https://api.github.com/repos/Alexpux/MINGW-packages/issues/1778/events","html_url":"https://github.com/Alexpux/MINGW-packages/issues/1778","id":180737166,"number":1778,"title":"GnuPG patches disable user profile based home directories","user":{"login":"lmmarsano","id":8139324,"avatar_url":"https://avatars.githubusercontent.com/u/8139324?v=3","gravatar_id":"","url":"https://api.github.com/users/lmmarsano","html_url":"https://github.com/lmmarsano","followers_url":"https://api.github.com/users/lmmarsano/followers","following_url":"https://api.github.com/users/lmmarsano/following{/other_user}","gists_url":"https://api.github.com/users/lmmarsano/gists{/gist_id}","starred_url":"https://api.github.com/users/lmmarsano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmmarsano/subscriptions","organizations_url":"https://api.github.com/users/lmmarsano/orgs","repos_url":"https://api.github.com/users/lmmarsano/repos","events_url":"https://api.github.com/users/lmmarsano/events{/privacy}","received_events_url":"https://api.github.com/users/lmmarsano/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-03T20:22:50Z","updated_at":"2016-10-04T00:26:57Z","closed_at":"2016-10-04T00:26:57Z","body":"I'm trying to use MINGW packages for GnuPG deployments to multi-user machines.\r\nI'd like GnuPG to keep its per user home directory files (keyrings, trust databases, etc) somewhere under users' profiles like GnuPG's default home directory (`%APPDATA%\\Roaming\\GnuPG` as explained in [FAQ](https://gnupg.org/faq/gnupg-faq.html#location_gpg_conf_file)).\r\nUnfortunately, the MINGW GnuPG sets the home directory to `/home/` which all users would have to share.\r\n\r\n```\r\n$ gpg.exe -k -vv\r\ngpg: NOTE: THIS IS A DEVELOPMENT VERSION!\r\ngpg: It is only intended for test purposes and should NOT be\r\ngpg: used in a production environment or with production keys!\r\ngpg: keybox 'C:/Open/git/mingw64/home/pubring.kbx' created\r\ngpg: C:/Open/git/mingw64/home/trustdb.gpg: trustdb created\r\ngpg: using pgp trust model\r\n```\r\n\r\nThe comments for the `--homedir` section of [the manual](https://gnupg.org/documentation/manuals/gnupg/GPG-Configuration-Options.html) explain this is the _portable_ home directory location, which can be enabled by creating \r\n\r\n> an empty file name gpgconf.ctl in the same directory as the tool gpgconf.exe\r\n\r\nHowever, no such file exists, so portable mode enabled this way.\r\nInstead, the comments for the [MINGW GnuPG patches](https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-gnupg)\r\n\r\n> Mingw always generate portable apps.\r\n\r\nsuggest patches were applied to _lock_ portable mode, leaving the user no way to undo it without recompilation.\r\nRather than lock the application into portability mode with patches, could you consider creating a blank gpgconf.ctl as the `--homedir` section of [the manual](https://gnupg.org/documentation/manuals/gnupg/GPG-Configuration-Options.html) recommends?"}}
{"actor":{"display_login":"lmmarsano"}}