[gnutls-devel] GnuTLS | x509: regression in the error code returned on encrypted files (#1321)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Feb 10 15:56:06 CET 2022

Nikos Mavrogiannopoulos created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1321

The change in https://gitlab.com/gnutls/gnutls/-/merge_requests/1459 had an inadvertent side-effect. When one would rely on `gnutls_x509_privkey_import2()` error codes to detect encrypted files, after the patch the error code returned for encrypted from `GNUTLS_E_DECRYPTION_FAILED` to `GNUTLS_E_PIN_ERROR`.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1321
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/20220210/935f7e37/attachment.html>

More information about the Gnutls-devel mailing list