Page MenuHome GnuPG

Compliance: Verification of DSA signatures fails with invalid public key algorithm
Closed, ResolvedPublic

Description

C:\Users\aheinecke>gpg --verify .gitconfig.sig
gpg: Signatur vom 07/27/17 14:54:04 MitteleuropΣische Sommerzeit
gpg:                mittels DSA-Schlüssel BD0E2862A2E6055732F2E36E70610F8E7263C1A5
gpg: key 70610F8E7263C1A5 not suitable for signature verification while in --compliance=de-vs mode
gpg: Signatur kann nicht geprüft werden: Ungültiges Public-Key-Verfahren

Funny enough verifying a signature made by a nistp signing key works

C:\Users\aheinecke>gpg --verify file_for_nistp.sig
gpg: Signatur vom 07/27/17 15:01:06 MitteleuropΣische Sommerzeit
gpg:                mittels ECDSA-Schlüssel 6AEC19EA353DF4808391E137DCF6C87DCEE4512F
gpg: Korrekte Signatur von "Nist Test <nist@foo.bar>" [ultimativ]

This is with beta-167 containing your latest fixes.

Event Timeline

To make it easier to reproduce

a dsa key:

-----BEGIN PGP PUBLIC KEY BLOCK-----

mQMuBFl5sj4RCADKL2w71dlZ/EofCZcZ0JB05GmUSL/QXWcrzl5q3PJIWcFcHRb/
oBum6ycwQgJii3d2OyBWiPqCnVdqYYifxnWLRUOF+AIxOKqPa1Lm4KvnykOirNoB
kcpS3rqPzYjLI5ZolahTfIrLQPWoA4Q4iuHbj5XUxaHgfWl8M7du6v1ZWdvhATJj
fmskQPgJYRZws2FwZPcy+hBV17HBwHwi0YHmMssWhL5Ze0GrbyP+Nv7mVgrczc3r
DpbNfuNJ4/XLEY/c75bXGDt/3orxR9Yao+m1uuIIc22y+Vo/teZ5Gy69iQMb/tPt
Y2qr1B8WbtZeIVExK5BnmUxlAd0hL+s8M+87AQCETlM6kA+CktVh+5ni9ef86LDg
mo5z3XJQ7Jl3ILObuwgAxgO55BrmnJ9tIGOrR5HqqcXSS5Rw2X1+0hK+Zrtlgegi
+dIWq+neMp7jfkpCzQf7h8Zl4sNRpHBGXQ8hJl+huKYjMSRl4v+mGrbUmS8jRJ+L
fiW8Eio1Jib3x+R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2lee+X02/Xo5mIkDZjY0Rg
SywOPxKmCdsYKal/b55hPZes1wdSk7oQaKDOv33Znj7idAOuEe5AjQDmmQ+mfx+v
9kDy2UOCi9XV3yBd3BAIkwADBgf9H2Sey4Ed3TG4uQ2T+GG88dp/bQcBLiiT+a9q
J+RNE21iOFUFYoONXDvxFK7by3tplAP21VNu9nn3TqadDcdibv2rMsiIW4ZYF1jo
JPCZsGdvRH953tOsFfPsT0VTEa2M96Gzl+WDd/zDfmPzdHhU/7CjbaqNPvWA3sPs
A1d1e5gq9UDbcwdRr02jcM3ApPc3fiit70q8lZFvFmxxXGAECyv7RTm2ORKm+bQm
4rnd7rrY8nyVdYtttJOxp0oNZOACjMpD52lV6DWLhj8xGbyf8/URTKC19aT16x2y
80T/i67439UyPDEg9oNHwh3WIpgBi7BSi6cNYz0QJZ3TeEEi6Ih4BBgRCAAgFiEE
vQ4oYqLmBVcy8uNucGEPjnJjwaUFAll5sj4CGwwACgkQcGEPjnJjwaWenQD+NZbM
wKwzbQLp8x9BOjmg0ow673sQEl4iO/aEGLoBh7wA/i5fruQMpe8zcUviTMxxZxti
6Kw7kBKp04nLf9cL4vjk
=wuTK
-----END PGP PUBLIC KEY BLOCK-----

And a signed message from it:

-----BEGIN PGP MESSAGE-----
                                                                                                                                                                                                                                             
owGbwMvMwCFYkMjfV5R8cCnjacUkhsjK565+pUUKaYf3FCmkpOYpuKQmlaanpyYV                                                                                                                                                                             
JZYmZ3B1lLIwCHIwyIopsuzl00ha9Iw13OjT4zyYEaxMQP05DFycAjARYxOG/4nX                                                                                                                                                                             
1z0rcrSU+mZmf0L0gbBqxyc5032X65Kml89t64tdIsfw3+OETCyj6OET8VrHKx1+                                                                                                                                                                             
/uvsUeZuUgpkXr8s5/E2xS9FZQA=                                                                                                                                                                                                                 
=WKQv                                                                                                                                                                                                                                        
-----END PGP MESSAGE-----