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: Fri, 10 Sep 2021 15:39:35 +0300 Message-ID: <83ee9wiozc.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14446"; 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 Fri Sep 10 14:42:57 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 1mOfrt-0003ZC-Dq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Sep 2021 14:42:57 +0200 Original-Received: from localhost ([::1]:39116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOfrs-0001za-Ab for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Sep 2021 08:42:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOfp6-0007Of-N8 for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 08:40:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53874) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOfp4-0002BC-VU for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 08:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOfp4-0005hY-RP for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 08:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Sep 2021 12:40:02 +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.163127760121905 (code B ref 50507); Fri, 10 Sep 2021 12:40:02 +0000 Original-Received: (at 50507) by debbugs.gnu.org; 10 Sep 2021 12:40:01 +0000 Original-Received: from localhost ([127.0.0.1]:37187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOfp2-0005hE-Rn for submit@debbugs.gnu.org; Fri, 10 Sep 2021 08:40:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOfp1-0005h1-Nt for 50507@debbugs.gnu.org; Fri, 10 Sep 2021 08:39:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41548) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOfow-00026N-7f; Fri, 10 Sep 2021 08:39:54 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1244 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 1mOfov-0006UL-Q4; Fri, 10 Sep 2021 08:39:54 -0400 In-Reply-To: (message from Nikolaos Chatzikonstantinou on Fri, 10 Sep 2021 19:39:52 +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:214003 Archived-At: > From: Nikolaos Chatzikonstantinou > Date: Fri, 10 Sep 2021 19:39:52 +0900 > > I am looking at the src/gnutls.c:gnutls-boot function for the purpose of > modifying it to use the function gnutls_certificate_set_x509_key_file2 > instead of gnutls_certificate_set_x509_key_file. (Note the missing `2') > > 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 am sending this e-mail to gauge interest in this as a proposal. It > makes sense to me but I am not very experienced. How does one submit > a patch for Emacs? Is it via the mailing lists by attaching a diff > hunk? Yes, you provide a patch as an attachment, preferably in the "git format-patch" format. See the file CONTRIBUTE in the Emacs Git repository for more details. Thanks.