Re: GnuTLS | Draft: [RFC]Add new API to fetch privkey type (!2074)
Read-only notification of GnuTLS library development activities <[email protected]>
| Newsgroups | gmane.comp.encryption.gpg.gnutls.devel |
|---|---|
| Message-ID | <[email protected]> |
Daiki Ueno commented: https://gitlab.com/gnutls/gnutls/-/merge_requests/2074#note_3124718055 Hello Ghadi, thank you for the patch. The feature sounds reasonable, though I wonder if the original problem could be solved by extending `gnutls_pkcs11_privkey_get_pk_algorithm` to return a curve embedded in the `bits` parameter. As `gnutls_pkcs11_privkey_t` holds an object handle, it should be possible to retrieve any attributes on the private key object (currently the `bits` field of `gnutls_pkcs11_privkey_t` is set only when the key type is RSA, which could be modified to handle other key types as well). What do you think? If you end up with adding a new API, follow the guidance at https://gitlab.com/gnutls/gnutls/-/blob/master/CONTRIBUTING.md?ref_type=heads#introducing-new-functions--api. -- Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2074#note_3124718055 You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/sent_notifications/3-cxweeoiu6a3gycq7vho7av3zv/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help _______________________________________________ Gnutls-devel mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-devel