|
|
|
|
|
by hannob
2353 days ago
|
|
That would make the attack plausible, but I wonder where these parameters are in practice. I tried creating a cert with custom curve parameters here:
http://dpaste.com/1Q2MYWF It seems the parameter block is all part of "Subject Public Key Info". The signature is just a binary blob at the bottom. But openssl doesn't really break that down, does this signature have its internal encoding that allows supplying additional parameters? And if that's the case: How does that make any sense? It sounds like just asking for trouble. (I mean... there never can be a situation where the parameters of the signature do not match the parameters of the key.) |
|
You can see all the parts in the blob:
This will help you understand the ASN.1 encoding of a cert: http://luca.ntop.org/Teaching/Appunti/asn1.html