From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: Storing sensitive data indefinitely in variables or buffers: Whether and how to fix? Date: Thu, 01 Jun 2023 06:34:51 +0000 Message-ID: <877csnd71w.fsf@localhost> References: <87fs7dnd1u.fsf@localhost> <6503151d-13be-f299-24a2-76bb9d6fecc8@alphapapa.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11445"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: tomas@tuxteam.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 01 08:31:29 2023 Return-path: Envelope-to: ged-emacs-devel@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 1q4bqK-0002kd-As for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Jun 2023 08:31:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4bpX-0006v9-Ng; Thu, 01 Jun 2023 02:30:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4bpT-0006ux-Nk for emacs-devel@gnu.org; Thu, 01 Jun 2023 02:30:35 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4bpQ-0002Kt-Hm for emacs-devel@gnu.org; Thu, 01 Jun 2023 02:30:35 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 33EC2240027 for ; Thu, 1 Jun 2023 08:30:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685601027; bh=9JnYwA0/qSJyZ0i/Y1EKXk2T/iBCZzAPU0Y7Di1YSSg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=VHn1LMbCAORXX2Tr8YyUJATu95WXCpCMFqUKJzESq8csCYa0JmHttoRJysVpCrHCx zIymm34NDXpadikT2DKYxm1+oEgUAE/L/aO8sSS4xSnzYlmpQH4nZ6PaYN3nhqi6h5 mJq8cA4lA/knbQx/cIRIKOP71CFbwomlgOqjA+hLJX7E2ELapKS2qqLiKbl0hPOnsw KRwGRvmDFHjuWBfeeMYMcoRfkZj8OGx0IDu1lgHeUMLS15qtXjETjLzMeMC7gHu50Q hSR6+FDqPE2C5Dy66JKWV4OrJ7ql5nrCf8FqmfzxdSbOxhyPWn9mGA7u08aI7/5DFA AgqN5px6HOQtw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QWx8L5Zxcz6txj; Thu, 1 Jun 2023 08:30:26 +0200 (CEST) In-Reply-To: Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306479 Archived-At: writes: > I'm already wrangling with Org caching (for now, my sweet spot > seems to be directing it to a non-existing directory and ignoring > the complaints: paradoxically, Emacs is snappier then). You will hit an error, sooner or later. We are going to use cache in more scenarios. If your Emacs is snappier without cache, you likely experience slowdowns on long sessions. If so, it is another problem you are just postponing. > I'd hate to end up with a setup like the monster browsers have > these days: an obscure set of sqlite databases you need a huge > amount of dedication to extract some slivers of information from. I am sure we will not. For multi-session, it is up to you whether to store information in SQLite database or in plain text files. The default for `multisession-storage' is 'files. I doubt that we are going to change this default in the nearest dozen of years (It is Emacs after all :]) For org-persist, it is designed to store disposable information that can be re-generated any time. Even then, org-persist tries to keep the index.eln human-readable. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at