From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#50507: New function in Emacs GnuTLS implementation Date: Sat, 11 Sep 2021 18:34:31 +0300 Message-ID: <83fsubgm7s.fsf@gnu.org> References: <83ee9wiozc.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22558"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50507@debbugs.gnu.org To: Nikolaos Chatzikonstantinou Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 11 17:35:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mP52A-0005fD-2h for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Sep 2021 17:35:14 +0200 Original-Received: from localhost ([::1]:45522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mP528-0002iA-Mg for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Sep 2021 11:35:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mP51y-0002gF-9N for bug-gnu-emacs@gnu.org; Sat, 11 Sep 2021 11:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mP51y-00061H-1M for bug-gnu-emacs@gnu.org; Sat, 11 Sep 2021 11:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mP51x-0005FN-P5 for bug-gnu-emacs@gnu.org; Sat, 11 Sep 2021 11:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Sep 2021 15:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50507 X-GNU-PR-Package: emacs Original-Received: via spool by 50507-submit@debbugs.gnu.org id=B50507.163137449520153 (code B ref 50507); Sat, 11 Sep 2021 15:35:01 +0000 Original-Received: (at 50507) by debbugs.gnu.org; 11 Sep 2021 15:34:55 +0000 Original-Received: from localhost ([127.0.0.1]:41243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mP51q-0005Ez-U6 for submit@debbugs.gnu.org; Sat, 11 Sep 2021 11:34:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mP51o-0005Ej-HC for 50507@debbugs.gnu.org; Sat, 11 Sep 2021 11:34:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35752) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mP51j-0005ot-A5; Sat, 11 Sep 2021 11:34:47 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2565 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mP51i-0003sd-Pr; Sat, 11 Sep 2021 11:34:47 -0400 In-Reply-To: (message from Nikolaos Chatzikonstantinou on Sun, 12 Sep 2021 00:28:33 +0900) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:214087 Archived-At: > From: Nikolaos Chatzikonstantinou > Date: Sun, 12 Sep 2021 00:28:33 +0900 > Cc: 50507@debbugs.gnu.org > > > > The reason for this addition would be to protect the key with a > > > password. Note that the pass parameter may be NULL. > > > > Do you intend to make the change unconditionally, or do you intend to > > make it an optional feature? > > > > And what is the minimal GnuTLS version which provided this function? > > I intend to introduce new functions without changing any of the others. > The following functions were added at 2013-04-08: > > gnutls_certificate_set_x509_key_file2 > gnutls_certificate_set_x509_key_mem2 > > Versions after 3.2 and 3.1.11 include them. Although it appears > straightforward to introduce them, my plan is to spend some time > acclimating myself with GnuTLS and the Emacs implementation to ensure > that I did it right, and then I'll submit a patch. Does it sound good? Yes, SGTM. Thank you very much for working on this.