Fix test case to be runnable with gnupg 2.1
Fix test case to be runnable with gnupg 2.1

In gnupg 2.1 %no-ask-passphrase is a no-op.  As a result gpg attempts to
prompt for a passphrase and as the shell is not interactive it fails.

To allow gnupg 2.1 to create passphrase-less keys we enable two options
new to gnupg 2.1.

%no-protection
%transient-key

Change-Id: If687ff005cf968133fc1fa12b1259a127c464e5b

openstack-dev/pbr,WiFast/pbr,varunarya10/pbr,klmitch/pbr,varunarya10/pbr,openstack-dev/pbr,openstack-dev/pbr,WiFast/pbr,klmitch/pbr,JioCloud/pbr,JioCloud/pbr