//ECCRSAKeySize is used to translate ECC keys length to their corresponding RSA ones
var ECCRSAKeySize = map[float64]float64{
160: 1024,
224: 2048,
256: 3072,
384: 7680,
512: 15360,
}
I'm not sure.
I think that instead of value 512 it is necessary to put the value 521
It seems to me that the possible values are:
//ECCRSAKeySize is used to translate ECC keys length to their corresponding RSA ones
var ECCRSAKeySize = map[float64]float64{
160: 1024,
224: 2048,
256: 3072,
384: 7680,
521: 15360,
}
Description
File: https://github.com/mozilla/tls-observatory/blob/cf43108d68808f5db37116cb54b7b42341db4cab/worker/mozillaGradingWorker/keyexchangeGrading.go
I'm not sure. I think that instead of value 512 it is necessary to put the value 521 It seems to me that the possible values are:
Example:
massmailer.io
getBitsForKeyExchange return probably -1
Ref:
In the curves file, there is no curve that is equal to 512: (https://github.com/mozilla/tls-observatory/blob/cf43108d68808f5db37116cb54b7b42341db4cab/constants/curves.go)