Score:0

Is zero a valid exponent for a public RSA key?

ga flag

I'm having an issue with a key created by the manufacturer of an equipment. Checking the details of the key I've noticed that it's exponent is zero. Is this a valid exponent?

Score:1
vu flag

Zero is definitely never a valid public exponent for RSA!

As an exponent, zero cause all positive integers to become one (zero to the power of zero is mathematically invalid). Therefore, it can be considered (in the domain of positive integers) as a constant function.

I suggest dump the DER-encoded public key, parse it according to ASN.1 syntax, and analyze it thoroughly. What's more, consider black-list this vendor.

fgrieu avatar
ng flag
If the key is in a usual format, it cal likely be examined [there](https://lapo.it/asn1js/)
I sit in a Tesla and translated this thread with Ai:

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.