[gnutls-devel] GnuTLS | gnutls_pubkey_verify_data2 should support IEEEP1363 style ECDSA_SHA256 signatures (#995)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Sat May 16 19:22:37 CEST 2020




Alan Jowett commented:


Sure. Output + repro for both GnuTLS and .NET Core.

IEEEP1363:
```
Clear: Hello World
Cert: MIIBwTCCAWegAwIBAgIMXrWF+g5a7/xDYB0jMAoGCCqGSM49BAMCMDwxJjAkBgNVBAMTHVVEQyBUZXN0IENvbnRyb2xsZXIgUm9vdCBDZXJ0MRIwEAYDVQQKEwlNaWNyb3NvZnQwHhcNMjAwNTA4MTYxNjU4WhcNMjEwNTA4MTYxNjU4WjAqMRQwEgYDVQQDEwtBbGFuIEpvd2V0dDESMBAGA1UEChMJTWljcm9zb2Z0MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEtMMYSxFeK/dLK2+bhFdnO8XMYnTpPrsIxJbW2kC/K8aOphmv+qPyiyzum7u08eOAYRxyvXbT52AIcQeiAC3rkaNhMF8wDAYDVR0TAQH/BAIwADAPBgNVHQ8BAf8EBQMDB4AAMB0GA1UdDgQWBBSEDKS9MpTEoDN5WPEzHZBE7/2zcDAfBgNVHSMEGDAWgBQB1Q8kA1jZINSiOBUFeUesUYIEjDAKBggqhkjOPQQDAgNIADBFAiEAov3dhOEcX62K3FEesTjEt7vEN4OIbzkTE6Vv8Rea59YCIDKDWJSWNS82spgN4uoJuWgim0arIa2g6n4LddvVzqZ/
Signature: XQ64HunnMsOcV1EuLXlX6DUb2tnjWiFstiLJllT9usIk/69Ei23idItDzH64dhUnIGjsp232GrVeuK7zYtmMPA==
```

Rfc3279:
```
Clear: Hello World
Cert: MIIBwTCCAWegAwIBAgIMXrWF+g5a7/xDYB0jMAoGCCqGSM49BAMCMDwxJjAkBgNVBAMTHVVEQyBUZXN0IENvbnRyb2xsZXIgUm9vdCBDZXJ0MRIwEAYDVQQKEwlNaWNyb3NvZnQwHhcNMjAwNTA4MTYxNjU4WhcNMjEwNTA4MTYxNjU4WjAqMRQwEgYDVQQDEwtBbGFuIEpvd2V0dDESMBAGA1UEChMJTWljcm9zb2Z0MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEtMMYSxFeK/dLK2+bhFdnO8XMYnTpPrsIxJbW2kC/K8aOphmv+qPyiyzum7u08eOAYRxyvXbT52AIcQeiAC3rkaNhMF8wDAYDVR0TAQH/BAIwADAPBgNVHQ8BAf8EBQMDB4AAMB0GA1UdDgQWBBSEDKS9MpTEoDN5WPEzHZBE7/2zcDAfBgNVHSMEGDAWgBQB1Q8kA1jZINSiOBUFeUesUYIEjDAKBggqhkjOPQQDAgNIADBFAiEAov3dhOEcX62K3FEesTjEt7vEN4OIbzkTE6Vv8Rea59YCIDKDWJSWNS82spgN4uoJuWgim0arIa2g6n4LddvVzqZ/
Signature: MEQCICWyVOgE1vN8CjSWTRf3I26vvG/oT64d/bqjZgcqYUM0AiAC47ZzDEWdlFQTsDy0eWxxY1TnOskNNAeZUDCWzSKKxA==
```

[Repro.c](/uploads/064c108c5ffe293b3cf0a2822b1e8dea/Repro.c)

[Repro.cs](/uploads/a310233b85ed385bc130282c3c4f3398/Repro.cs)

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/995#note_343780245
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200516/30cfeda0/attachment.html>


More information about the Gnutls-devel mailing list