User: Fix GPG auth on Python 3. Closes GH-541. Closes GH-542.