🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
6 messages
6 total messages Started by Hoping to Help Mike Fri, 20 Mar 2015 07:33
[RFCs] Forward Security Questions for anon experts
#272819
Author: Hoping to Help Mike
Date: Fri, 20 Mar 2015 07:33
67 lines
3909 bytes
  In mid <1cbb8a2a429c01c2413ffb1dec92a719@anemone.mooo.com>
Someone mentioned Confidant Mail [www.confidantmail.org].
I agree with the OP, it does look interesting.

  But looking around the site a March 2nd post by the forum
admin "Mike" -who I assume is the Confidant Mail dev Mike Ingle-
got my attention.

Outstanding problem discussion: forward security
http://www.confidantmail.org/forums/index.php?topic=26.0

"One unsolved problem is forward security: if your private key
is compromised, that should not give up everything you have ever
received with that key.

In order to prevent that, the content must be encrypted with
your long-term secret (private key) and with one or more short-
term secrets. These short-term secrets can be DH pairs or RSA
keys. One approach I am considering is to have each user publish
a series of short-term pairs with defined expiration dates. 
Another is for a sender to provide the recipient with a series
of one-time reply tickets.

The client would superencrypt the first 256K or so of the
message with an AES key derived from that short term secret.
Without knowing that first 256K (likely overkill), which
contains all the public key blocks, there is no way to decrypt
the rest of the message. I have this part spec'd out.

The problem I am running into is with multiple clients. I
recently added the ability to have the same key on two or more
machines, and replicate folders automatically. This is done by
emailing a change log to oneself, using the normal GPG
encryption to protect it.

If short-term secrets exist, they must (a) be replicated from
client to client or (b) be unique to each client, and the sender
must encrypt with one short-term key per recipient client.

If I take the replication option (a), some type of secure client
to client connection is required. That means both clients must
be online at the same time with a direct IP path between them,
and a shared secret to authenticate each other with.

If I take the multiple secrets option (b) then each client
publishes a set of short-term keys. The sender must encrypt with
one secret per recipient's client. That exposes how many clients
the recipient has, at the least. It also rules out the one time
reply ticket approach: if sender A client 1 sends to recipient B,
and recipient B replies using a one time ticket from A1, then
client A2 (also owned by A) cannot read that message.

Any opinions on what is the right approach to this problem?"


  Like Mike I'm very interested in any thoughts and comments
about this issue. 

  Also if anyone is feeling generous about sharing their
opinions, I'd also be like to hear what people think about
rxcomm's python version of the Axolotl ratchet protocol, pyaxo 
[https://github.com/rxcomm/pyaxo] PARTICULARLY its'
implementation in nymphemeral
[https://github.com/felipedau/nymphemeral/blob/master/nymphemeral/client.py]

  Thanks to all and have a great weekend!
Re: RFCs Forward Security Questions for anon experts
#272822
Author: Quintus Clemens
Date: Fri, 20 Mar 2015 11:56
66 lines
4405 bytes
> In mid <1cbb8a2a429c01c2413ffb1dec92a719@anemone.mooo.com>
> I agree with the OP, it does look interesting.
>
> But looking around the site a March 2nd post by the forum
> admin "Mike" -who I assume is the Confidant Mail dev Mike Ingle-
> got my attention.
>
> Outstanding problem discussion: forward security
> http://www.confidantmail.org/forums/index.php?topic=26.0
>
> "One unsolved problem is forward security: if your private key
> is compromised, that should not give up everything you have ever
> received with that key.
>
> In order to prevent that, the content must be encrypted with
> your long-term secret (private key) and with one or more short-
> term secrets. These short-term secrets can be DH pairs or RSA
> keys. One approach I am considering is to have each user publish
> a series of short-term pairs with defined expiration dates.
> Another is for a sender to provide the recipient with a series
> of one-time reply tickets.
>
> The client would superencrypt the first 256K or so of the
> message with an AES key derived from that short term secret.
> Without knowing that first 256K (likely overkill), which
> contains all the public key blocks, there is no way to decrypt
> the rest of the message. I have this part spec'd out.
>
> The problem I am running into is with multiple clients. I
> recently added the ability to have the same key on two or more
> machines, and replicate folders automatically. This is done by
> emailing a change log to oneself, using the normal GPG
> encryption to protect it.
>
> If short-term secrets exist, they must (a) be replicated from
> client to client or (b) be unique to each client, and the sender
> must encrypt with one short-term key per recipient client.
>
> If I take the replication option (a), some type of secure client
> to client connection is required. That means both clients must
> be online at the same time with a direct IP path between them,
> and a shared secret to authenticate each other with.
>
> If I take the multiple secrets option (b) then each client
> publishes a set of short-term keys. The sender must encrypt with
> one secret per recipient's client. That exposes how many clients
> the recipient has, at the least. It also rules out the one time
> reply ticket approach: if sender A client 1 sends to recipient B,
> and recipient B replies using a one time ticket from A1, then
> client A2 (also owned by A) cannot read that message.
>
> Any opinions on what is the right approach to this problem?"
>
>
> Like Mike I'm very interested in any thoughts and comments
> about this issue.
>
> Also if anyone is feeling generous about sharing their
> opinions, I'd also be like to hear what people think about
> rxcomm's python version of the Axolotl ratchet protocol, pyaxo
> implementation in nymphemeral
>
> Thanks to all and have a great weekend!

Use Ominmix and don't worry about it.
Re: [RFCs] Forward Security Questions for anon experts
#272824
Author: Peter Fairbrother
Date: Fri, 20 Mar 2015 12:30
172 lines
7971 bytes
On 20/03/15 07:33, Hoping to Help Mike wrote:
>    In mid <1cbb8a2a429c01c2413ffb1dec92a719@anemone.mooo.com>
> Someone mentioned Confidant Mail [www.confidantmail.org].
> I agree with the OP, it does look interesting.
>
>    But looking around the site a March 2nd post by the forum
> admin "Mike" -who I assume is the Confidant Mail dev Mike Ingle-
> got my attention.
>
> Outstanding problem discussion: forward security
> http://www.confidantmail.org/forums/index.php?topic=26.0
>
> "One unsolved problem is forward security: if your private key
> is compromised, that should not give up everything you have ever
> received with that key.
>
> In order to prevent that, the content must be encrypted with
> your long-term secret (private key) and with one or more short-
> term secrets.

It is a good idea to have a signature-only key and a separate persistent 
encryption key. This can be done at almost zero cost.

Why? In the UK they have a law whereby Plod can demand encryption keys, 
but not keys which are used for signatures only. If you have a dual-use 
key then they can spoof the FS keypart (which will be signed and only 
valid for a short period) after they get the dual use key.

The FS keypart can be public, an ECDH keypart is possibly the best 
choice, see later.


> These short-term secrets can be DH pairs or RSA
> keys. One approach I am considering is to have each user publish
> a series of short-term pairs with defined expiration dates.
> Another is for a sender to provide the recipient with a series
> of one-time reply tickets.

Both, preferably.

> The client would superencrypt the first 256K or so of the
> message with an AES key derived from that short term secret.
> Without knowing that first 256K (likely overkill), which
> contains all the public key blocks, there is no way to decrypt
> the rest of the message. I have this part spec'd out.

hmmm.... perhaps not optimum. Contact me offlist if interested.


> The problem I am running into is with multiple clients. I
> recently added the ability to have the same key on two or more
> machines, and replicate folders automatically.This is done by
> emailing a change log to oneself, using the normal GPG
> encryption to protect it.
>
> If short-term secrets exist, they must (a) be replicated from
> client to client or (b) be unique to each client, and the sender
> must encrypt with one short-term key per recipient client.
>
> If I take the replication option (a), some type of secure client
> to client connection is required. That means both clients must
> be online at the same time with a direct IP path between them,
> and a shared secret to authenticate each other with.
>
> If I take the multiple secrets option (b) then each client
> publishes a set of short-term keys. The sender must encrypt with
> one secret per recipient's client. That exposes how many clients
> the recipient has, at the least. It also rules out the one time
> reply ticket approach: if sender A client 1 sends to recipient B,
> and recipient B replies using a one time ticket from A1, then
> client A2 (also owned by A) cannot read that message.
>
> Any opinions on what is the right approach to this problem?"


Simple. Don't allow multiple clients.



Multiple clients are a seriously bad idea. For a start, two clients are 
two places for an enemy to find plaintext. Three or more clients .. all 
your base are belong to us.

Second, it gives the user a choice - and users are simply not capable of 
making choices with security implications. That's your job. Is it secure 
for them to have two clients? You expect the average user to know that?

Third, if option a), you can't securely *delete* the FS secrets, they 
will also be on the other client, which the user's girlfriend borrowed 
then left in a cafe in Budapest.

If option b), well you have listed some of the disadvantages already.



[there is a crypto solution (actually several) to the option b) "encrypt 
with one secret per recipient's client exposing how many clients the 
recipient has" problem; but I'm not going to tell you what it is, that 
would only encourage you into bad practice]

[master-slave clients are also possible, where the master holds ( and 
more importantly, deletes) the FS secrets and dishes out (semi-) secrets 
to the slave client as needed. OK if the master is permanently online, 
but not for the desktop/mobile configuration I think you are aiming at]

[there is also the webmail approach - webserver gets mail, client 
decrypts then stores decrypted mail on web server, re-encrypted under a 
key shared between clients. Or variants with individual message keys 
..  I don't think this is what you want though]


[then there is then the question of whether you should store used 
messages at all. If you can/do, is there any full forward secrecy FFS at 
all?]








Anywhoo, as to anonymity (as opposed to only FS) - getting those FS 
keyparts anonymously can be a pain.

However, if you use something like a 256-bit ECDH keypart with maybe 32 
bits for validity period and a 256-bit signature, then it may be short 
enough to put on a single-database computationally secure PIR system 
(which I just happen to have been working on for some time now...).

That would mean that for anyone collecting a keypart, which keypart they 
were collecting couldn't be identified, and the server wouldn't even 
have to be trusted, though the validity periods would be public (so 
one-shot reply keyparts would be useful as well, if you are a known 
correspondent).

A single distributed [offlist] PIR database would be good here; and the 
server might also do some sort of untrusted but reputational [offlist] 
PKI - and if you can do that, and if pki, fs and encryption is 
transparent to the user, and multiple clients means " works with 
Thunderbird, Mail, OE, etc"  ...


... then near-universal (semi-)anonymous end-to-end encrypted email 
becomes possible.




Anonymity? Begin with STARTTLS providing fs between client and sending 
or receiving servers, then go to sending servers don't send unnecessary 
"from" fields - then receiving servers do onioning, so sending servers 
don't ever see the "to" field, then a full onoin through the server wot 
does the fs and PKI ( and maybe gets paid for it) ...


-- Peter Fairbrother

Today I saw a solar eclipse!!

AND:

Spring is sprung
The grass is riz
I wonder where
The birdies is?

"The bird is on the wing",
I heard - but
That's absurd
The wing is on the bird.
Re: RFCs Forward Security Questions for anon experts
#272832
Author: Jack Ryan
Date: Fri, 20 Mar 2015 13:40
16 lines
1151 bytes
> Anywhoo, ...
>
> -- Peter Fairbrother
>
> Spring is sprung
> The grass is riz
> I wonder where
> The birdies is?
>
> "The bird is on the wing",
> I heard - but
> That's absurd
> The wing is on the bird.

  The above makes me thinks - surely homosexual!
Re: RFCs Forward Security Questions for anon experts
#272829
Author: Peter Fairbrother
Date: Fri, 20 Mar 2015 15:08
27 lines
1878 bytes
On 20/03/15 13:40, Jack Ryan wrote:
>> Anywhoo, ...
>>
>> -- Peter Fairbrother
>>
>> Spring is sprung
>> The grass is riz
>> I wonder where
>> The birdies is?
>>
>> "The bird is on the wing",
>> I heard - but
>> That's absurd
>> The wing is on the bird.
>
>    The above makes me thinks - surely homosexual!
>

The bird ?



today is the first day of spring ...



Re: RFCs Forward Security Questions for anon experts
#272834
Author: Anonymous Remailer (austria)
Date: Sat, 21 Mar 2015 00:42
22 lines
1467 bytes
In article <3b7047939b501d5a583a0e4031e26ce3@remailer.cpunk.us>
Jack Ryan <noreply@remailer.cpunk.us> wrote:
>
> > Anywhoo, ...
> >
> > -- Peter Fairbrother
> >
> > Spring is sprung
> > The grass is riz
> > I wonder where
> > The birdies is?
> >
> > "The bird is on the wing",
> > I heard - but
> > That's absurd
> > The wing is on the bird.
>
>   The above makes me thinks - surely homosexual!

I think some really heavy acid..
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads