getattr problem in DSA.py
Igor Belyi <[email protected]>
| Newsgroups | gmane.comp.python.cryptography |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
Hello, I think there is a problem in DSA.py file distributed in M2Crypto which prevents from accessing ['p', 'q', 'g', 'pub', 'priv'] fields of the DSA object. In the method '__getattr__(self, name)' of the 'class DSA' the line: method = getattr(m2, 'm2.dsa_get_%s' % (name,)) should acctually be: method = getattr(m2, 'dsa_get_%s' % (name,)) Sincerely, Igor