[gnutls-devel] GnuTLS | Handle private keys with lowercase hex digits in DEK-Info (!1655)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Oct 27 10:54:49 CEST 2022



Merge request https://gitlab.com/gnutls/gnutls/-/merge_requests/1655 was reviewed by Zoltán Fridrich

--
  <!-- Get preloaded note discussion-->
  
Zoltán Fridrich started a new discussion on lib/x509/privkey_openssl.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1655#note_1150784418

> -			salt.data[i / 2] = x << 4;
> +	ret = gnutls_hex_decode(&hex_data, salt.data, &salt_size);
> +	if (ret == GNUTLS_E_PARSING_ERROR) {

We probably want a check for other errors (like (ret < 0)) as well.


-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1655
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/20221027/af77595f/attachment.html>


More information about the Gnutls-devel mailing list