Score:0

Deducing a secret key from two different public keys

ru flag

Show that if two different RSA public keys $p_k$s are known to an attacker for the same secret key $s_k$, then $s_k$ can be broken

I've deduced that that if the 2 public key exponents are $e_1,e_2$ then they have the same remainder modulo $\phi$, but that still doesn't help me determine $d$.

Score:0
my flag

This is a homework question, and so I'll give you a hint, not the answer.

The intended approach to take is not to recover $d$ directly; instead, it is to factor the modulus $n$ (and once you have that, recovering $d$ is easy).

So, if you have the value $n$ and the value $k \phi(n)$ for some unknown integer $k$, how could you factor?

One simple approach would work if you assume $k$ isn't too large. There are fancier approaches where you don't have to make that assumption, but why don't you start with the simplifying assumption...

(BTW: you actually have the value $k \lambda(n)$ for $\lambda(n) = \text{lcm}(p-1, q-1)$, however that doesn't really matter for this question...)

Score:0
hk flag

You should take a look at how $p_{k_1}$ and $p_{k_2}$ are derived from $s_k$ (or more concretely how $e_1$, $e_2$ are derived from $d$). Once You understand it, see if there is a way to deduce the modulus of this operation and from this compute the $s_k$.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.