[gnutls-devel] GnuTLS | Support for raw public keys for gnutls-cli and gnutls-serv (!1059)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Sun Sep 8 12:02:52 CEST 2019




Nikos Mavrogiannopoulos commented on a discussion on src/serv-args.def: https://gitlab.com/gnutls/gnutls/merge_requests/1059#note_213865513

>  };
>  
> +flag = {
> +    name      = rawpkkeyfile;
> +    arg-type  = string;
> +    descrip   = "PKCS #8 or PKCS #12 key file to use";
> +    doc       = "";
> +    max       = 1;
> +};
> +
> +flag = {
> +    name      = rawpkfile;
> +    arg-type  = string;
> +    descrip   = "Raw public-key file to use";
> +    doc       = "";
> +    max       = 1;

Why do you think we need to distinguish these using a name? Consider the server which has an ECDSA key and an RSA key. The `id` of the key is the key type, and the subject key identifier (hash of the key). Would we need anything else?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1059#note_213865513
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/20190908/30beacc8/attachment-0001.html>


More information about the Gnutls-devel mailing list