Does it work if you either set a passphrase in the batch file or use %no-protection to indicate no passphrase?
https://www.gnupg.org/documentation/manuals/gnupg-devel/Unattended-GPG- key-generation.html Thanks ** Changed in: gnupg2 (Ubuntu) Status: New => Incomplete -- 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
