title: gnupg: There is no assurance this key belongs to the named user
body: <p>I'm trying to use interesting password management <a href="http://www.passwordstore.org/" rel="noreferrer">tool</a> named Pass.</p>
  <p>I did the following:</p>
  <ol>
  <li>Installed gpg tool <code>$ sudo dnf install gpg</code></li>
  <li>Generated a key using <code>$ gpg --gen-key</code></li>
  <li>Typed <code>$ pass init &quot;foobar id of my gpg key&quot;</code> as stated <a href="http://www.passwordstore.org/" rel="noreferrer">here</a></li>
  <li>Got</li>
  </ol>
  <p><code>mkdir: created directory ‘/home/chichivica/.password-store/’ Password store initialized for foobar@email.com</code></p>
  <ol start="5">
  <li>Tried to add a simple password</li>
  </ol>
  <p><code>$ pass insert foo Enter password for foo:  Retype password for foo:</code></p>
  <ol start="6">
  <li>And there is the problem</li>
  </ol>
  <p><code>gpg: A45A123C: There is no assurance this key belongs to the named user gpg: [stdin]: encryption failed: Unusable public key</code></p>
  <p>Could anyone give me some advice?</p>