public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: nncp-devel@lists.cypherpunks.ru
Subject: Re: nncp-exec -use-tmp path
Date: Sat, 16 Jan 2021 02:06:57 +0300 [thread overview]
Message-ID: <YAIgHduEWAzP7gW1@stargrave.org> (raw)
In-Reply-To: <87sg71ubgw.fsf@complete.org>
[-- Attachment #1: Type: text/plain, Size: 739 bytes --]
*** John Goerzen [2021-01-15 15:38]:
>I had thought that it should be on the same disk, to facilitate a quick rename.
NewTmpFile is used for what you are describing. Actually it is not for
temporary storage, but for atomic file writing/renaming.
But temporary file for nncp-exec/"nncp-file -" holds really temporary
data, used for encrypted packet preparation.
>Just to confirm -- everything written to /tmp is encrypted, right?
Everything that written to the file in $TMPDIR, if more precisely.
Yes, it is encrypted with the random ephemeral key, exactly to be able
to place it anywhere you wish without fear.
--
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: CF60 E89A 5923 1E76 E263 6422 AE1A 8109 E498 57EF
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2021-01-15 23:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-15 20:42 nncp-exec -use-tmp path John Goerzen
2021-01-15 21:18 ` Sergey Matveev
2021-01-15 21:20 ` Sergey Matveev
2021-01-15 21:38 ` John Goerzen
2021-01-15 23:06 ` Sergey Matveev [this message]