gpg: Make --dry-run and show-only work for secret keys.