[Bug 27591] Must the reflected "publicExponent" for generated RSA keys exactly match input?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27591

jimsch <ietf@augustcellars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ietf@augustcellars.com

--- Comment #2 from jimsch <ietf@augustcellars.com> ---
I have do not know what is meant by the phrase "read from the API".  If I was
going to guess, I would say that it applies to any value returned to the user
from the API.  Thus in step 7 there would be an implied normalization of the
BigInteger value to remove any leading zero bytes.

Yes you are correct that the exponent could in theory have a leading zero value
if this is needed to make sure that it does not look like a negative number as
ASN.1 only encodes signed numbers.  I would assume that this leading byte would
be stripped in this case as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 4 March 2016 03:29:34 UTC