dl5rcw / gpg-mailgate

Automatically exported from code.google.com/p/gpg-mailgate
0 stars 0 forks source link

Index Error on filter. #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I get this:

File "/usr/bin/gpg-mailgate.py", line 48, in <module>     keys = 
GnuPG.public_keys( cfg['gpg']['keyhome'] )   File 
"/usr/lib64/python2.5/GnuPG/__init__.py", line 11, in public_keys     key = 
line.split('<')[1].split('>')[0] IndexError: list index out of range 

I checked the command being used to fetch the keys, and it returns with out 
issue.  I am not a python person, so I don't know how to check to see what the 
script is getting back or what the array looks like. 

The gpg and keyhome are set correctly as well.

Original issue reported on code.google.com by mwp...@tekconxus.com on 16 Aug 2013 at 10:15