[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Encrypting to a public key?

From: Cy
Subject: Re: Encrypting to a public key?
Date: Wed, 8 Jul 2020 06:39:26 +0000

On Tue, 7 Jul 2020 22:07:38 +0200
"Schanzenbach, Martin" <> wrote:

> That would allow you to change P_alice periodically

I would even have the "static" key update periodically, by publishing new ones 
something like
could be polled now and again.

> Note that this eventually leads to a axolotl-style ratchet:
> We use that for CADET.

The double ratchet algorithm would be pretty cool. That's where you do a new DH
exchange under the old shared secret, every X messages, as the first ratchet. 
And hash
the shared secret to get a new one with every single message, as the second 

> except that you can just send the (ephemeral) P_alice along with ENC(shared 
> secret,
> message).

But wait, couldn't Alice start out using her static ECDSA key too? That way Bob 
would know
who is messaging him, and Alice could then do the DH ratchet thing to switch to 
ephemeral key.

Still not sure why everything in gnunet uses EDDSA to sign, but gnunet-identity 
keys are
ECDSA. Are they trying to say that ECDSA is bad for signing, and only good for 
a DH
exchange? Then why are gnunet-identity keys ECDSA? SKS records are signed, 
aren't they? I
remember someone explaining it to me once, but I just couldn't hold it in my 

> The result of the ECDH is already a shared secret. In GNUnet, it is a 512-bit 
> hash.
> This could be used as an 512-bit AES key.
> But, usually you use that to derive a key by adding a salt, like 
> "my-application-salt".

So that Alice and Bob can't... have the same shared secret for two 
applications? Like if
I use "totallysecureapp1.exe" it won't start sending my shared secrets for
"actuallysecureapp.c" to the KGB? Wouldn't the two applications have different 
ECDSA keys
though? I guess they wouldn't be at first, if you always start from two known 
static keys.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]