title: Signing rpm without passphrase
body: <p>I am trying to disable having any password when I sign , or at least to send it with the signing command. </p>
  
  <pre><code> gpg --list-keys
   /root/.gnupg/pubring.gpg
   ------------------------
   pub   2048R/B40C2563 2017-04-11 [expires: 2022-04-10]
   uid                  XXXXX &lt;office@XXXX&gt;
   sub   2048R/42A9A452 2017-04-11 [expires: 2022-04-10]
  </code></pre>
  
  <p>I have gpg (GnuPG) 2.0.27 and libgcrypt 1.5.4</p>
  
  <pre><code>cat  ~/.rpmmacros 
  %_signature gpg
  %_gpg_path /root/.gnupg
  %_gpg_name xxxxxxx
  %_gpgbin /usr/bin/gpg2
  %_no-protection
  </code></pre>
  
  <p>When I run  ( rpm --addsign xxxxxxxxxx.rpm ) I am having popup for password</p>
  
  <p>I found a solution with keygrip that is not working for me</p>
  
  <pre><code>  gpg2 --with-keygrip
    gpg: invalid option "--with-keygrip"
  </code></pre>
  
  <p>These are rpm options: </p>
  
  <pre><code>rpm --
   --addsign    --delsign    --eval       --help       --initdb     --query           --rebuilddb  --setugids   --upgrade    --version    
  </code></pre>
  
  <p>--checksig   --erase      --freshen    --import     --install    --querytags  --setperms   --showrc     --verify  </p>