all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: GnuTLS and zeroing keys in Emacs
Date: Mon, 17 Jul 2017 09:52:51 -0400	[thread overview]
Message-ID: <87vamrdvbg.fsf@lifelogs.com> (raw)
In-Reply-To: c36dcdc1-87e0-98cb-d0fe-57aa86f05116@cs.ucla.edu

On Sun, 16 Jul 2017 16:53:20 -0700 Paul Eggert <eggert@cs.ucla.edu> wrote: 

PE> Ted Zlatanov wrote:
>> the best way is to either use gnutls_memset() (available since only
>> 3.4.0 in lib/safe-memfuncs.c) or to copy it.

PE> These days glibc's explicit_bzero is a better way to go, as its implementation
PE> should be more reliable than the 'volatile' trick used by gnutls_memset. So I
PE> installed the attached patches into master: they either use explicit_bzero, or
PE> copy it.

PE> I'll file a bug report with the GnuTLS folks to suggest that they use
PE> explicit_bzero if available.

Terrific, thanks again for working on this.

Ted




  reply	other threads:[~2017-07-17 13:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-14 23:42 GnuTLS and zeroing keys in Emacs Paul Eggert
2017-07-15 19:00 ` Ted Zlatanov
2017-07-16 23:53   ` Paul Eggert
2017-07-17 13:52     ` Ted Zlatanov [this message]
2017-07-17  0:29   ` Paul Eggert
2017-07-17 14:07     ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vamrdvbg.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.