Daniel Kahn Gillmor writes ("Re: [pkg-gnupg-maint] Bug#883005: gpg2 too annoying about lack of a passphrase"): > On Tue 2017-11-28 17:20:56 +0000, Ian Jackson wrote: > > Package: gnupg2 > > Version: 2.0.26-6+deb8u1 .. > I'm not seeing this particular warning on the version of GnuPG that we > have in debian stable. Can you confirm that you don't have any sort of > custom local configuration, or a gpg-check-pattern patternfile set up on > your machine?
I don't. I was trying to generate a subkey for a key on a Yubikey token. (With the token removed, so that I could check that it would fail.) > Using a modern GnuPG (e.g. the one in debian stable), have you tried: > gpg --passphrase '' --pinentry-mode=loopback --quick-add-key $FINGERPRINT > That should provide you with a prompt-free workaround for adding a > subkey with no passphrase. Thanks for the tip. Ian. -- Ian Jackson <ijack...@chiark.greenend.org.uk> These opinions are my own. If I emailed you from an address @fyvzl.net or @evade.org.uk, that is a private address which bypasses my fierce spamfilter.