Got this as Kleopatra bug but GnuPG does not allow this:
gpg2 --gen-key --batch <<EOF
name-real: Test test
gpg: -:4: invalid usage list
I think the reason for this request is an offline certify key and everything
else as subkeys.