Additionally, the workaround that many people suggest for similar errors (via google) as described at https://d.sb/2016/11/gpg-inappropriate- ioctl-for-device-errors does not work.
The output with proposed changes from the above link: #> gpg --generate-key --batch < temp.batch gpg: Generating a standard key gpg: Sorry, we are in batchmode - can't get input -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1846153 Title: gpg generate-key fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1846153/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
