🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91092

Re: Rationale and design of a strong privacy enhancement to NNTP protocol - peer review please

#91092
From: Russ Allbery
Date: Fri, 10 Nov 2023 17:20
31 lines
2312 bytes
Olivier Miakinen <om+news@miakinen.net> writes:

> You mean that a message encrypted with say 100 public keys could be
> decrypted by the only knowing of *one* of the 100 corresponding private
> keys?

> I am very curious of that. Do you have a web page which explains this
> mechanism?

You generate a random symmetric encryption key (probably AES), and you
encrypt the body of the message in that.  Then, for every recipient public
key, you perform a public key encryption of the symmetric encryption key
and append that block to the end (or start, whatever) of the message.

Any recipient with a matching private key of one of those public keys then
finds the block encrypted to their public key, does a public key
decryption of that block with their private key to recover the symmetric
key, and then uses the symmetric key to decrypt the message.

The size of the message therefore increases by the number of recipients,
but not by that much since the symmetric key is short.  Usually the more
important bottleneck is that public key encryption is slow, so encrypting
to a whole bunch of public keys potentially gets a bit slow.  However, for
the typical number of netnews posts someone sends, I doubt anyone would
really notice.  Modern computers are very fast.

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <877cmpfru1.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <uigpfn$1ob22$1@dont-email.me> <uil3j1$289o$1@cabale.usenet-fr.net>

Show Full Headers
Complete Article Headers
Message-ID: <877cmpfru1.fsf@hope.eyrie.org>
Subject: Re: Rationale and design of a strong privacy enhancement to NNTP protocol - peer review please
Date: Fri, 10 Nov 2023 09:20:22 -0800
From: Russ Allbery <eagle@eyrie.org>
References: <uigpfn$1ob22$1@dont-email.me> <uil3j1$289o$1@cabale.usenet-fr.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org; logging-data="20691"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:14Zh3aKQEUL2ig3q5nV4BxRYxAg=