Another OpenPGP implementation has generated 2 DSA/1024 keys. One is signed with SHA256 another one is signed with SHA1.
I can't import a key signed with SHA256, but importing the one with SHA1 is OK.
I get following output
'''
gpg: WARNING: unsafe permissions on homedir '/tmp/t1'
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: key F713DF2ACDD4FA6C: no valid user IDs
gpg: this may be caused by a missing self-signature
gpg: Total number processed: 1
gpg: w/o user IDs: 1
'''
I can't find any reason why such key would be wrong (by looking at RFC 4880 bis 03), but maybe I'm missing something