[gnutls-devel] GnuTLS | x509: pin/password callback support for openssl encrypted private keys (!1459)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Sat Aug 14 20:08:38 CEST 2021
Daiki Ueno commented on a discussion on lib/x509/privkey.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1459#note_651231767
> /* use the callback if any */
> ret = _gnutls_retrieve_pin(&key->pin, "key:", "", 0, pin, sizeof(pin));
> if (ret == 0) {
> - password = pin;
> + ret = gnutls_x509_privkey_import_pkcs8(key, data, format, pin, flags);
> }
> -
> - ret =
> - gnutls_x509_privkey_import_pkcs8(key, data, format,
> - password, flags);
Oh, right; yes, that seems fine to me. Then I have no idea why the `certtool.sh` test is failing in the CI... :-(
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1459#note_651231767
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/20210814/677a07ab/attachment-0001.html>
More information about the Gnutls-devel
mailing list