Original report by phlax (Bitbucket: phlax, GitHub: phlax).
When trying to generate a key inside a job managed by bazel build no error is raised, but no key is created either
Running the same python-gnupg invokation directly works fine, as does running under bazel run so i suspect the problem is that bazel build takes control of stdin/out and this prevents python-gnupg from working correctly