title: Python-GnuPG encryption returns blank(Key exist in home directory)
body: <p>For sending secure mail i have using <a href="http://pythonhosted.org/python-gnupg/#getting-started" rel="nofollow noreferrer">Python-GnuPG</a> for encrypting the mail. So i started to follow the documentation and a tutorial on this <a href="https://www.saltycrane.com/blog/2011/10/python-gnupg-gpg-example/" rel="nofollow noreferrer">link</a> . I have created the key in home directory and started to testing for encrypting a string. While encrypting the string it returns blank and i have print the result of status of encrypted string it also returns blank. What will be the possible issue? Here's what i am tried already:</p>
  
  <pre><code>&gt;&gt;&gt; import gnupg
  &gt;&gt;&gt; gpg = gnupg.GPG(gnupghome='/home/saravanan/.gnupg')
  &gt;&gt;&gt; unencrypted_string = 'Who are you? How did you get in my house?'
  &gt;&gt;&gt; encrypted_data = gpg.encrypt(unencrypted_string, 'test@mail.com')
  &gt;&gt;&gt; encrypted_string = str(encrypted_data)
  &gt;&gt;&gt; print encrypted_string
  
  &gt;&gt;&gt; print encrypted_data.status
  </code></pre>
  
  <p>From above both <blockquote>encrypted_string</blockquote> and <blockquote>encrypted_data.status</blockquote> returns blank. </p>