unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Is with-temp-buffer really temporary?
Date: Tue, 27 Apr 2021 20:39:33 +0300	[thread overview]
Message-ID: <YIhMVSbN/srctVli@protected.localdomain> (raw)
In-Reply-To: <jwveeevn0js.fsf-monnier+emacs@gnu.org>

* Stefan Monnier <monnier@iro.umontreal.ca> [2021-04-27 19:54]:
> >> > And if Emacs exits, finishes the process, is memory then scraped?
> >> Of course not.
> > I'd think this is your operating system's job.
> 
> Also, given the way computers are currently implemented, the cost of
> having to scrape all memory immediately after use would be somewhat
> high, especially compared to the benefit:
> 
> - most of that memory contains data of no significance, so most of that
>   work is wasted.
> - it just removes one particular attack vector, among many others, so
>   the added security gain is low.

Purpose is to implement Emacs Lisp based uploading of files that are
on the fly GnuPG/PGP encrypted and would like to have zero-knowledge
privacy from hosting provider. As I see it now, it is not easy
task.

Could you give me pointers on how to accept uploaded data, should I
use (read-event) to read POST request like one byte by byte?

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/
https://rms-support-letter.github.io/




      reply	other threads:[~2021-04-27 17:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26 17:51 Is with-temp-buffer really temporary? Jean Louis
2021-04-26 19:58 ` Stefan Monnier
2021-04-26 20:53   ` Jean Louis
2021-04-26 22:42     ` Stefan Monnier
2021-04-27  7:11       ` tomas
2021-04-27 16:49         ` Stefan Monnier
2021-04-27 17:39           ` Jean Louis [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=YIhMVSbN/srctVli@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).