-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heartbleed for STARTTLS #1
Labels
Milestone
Comments
first PoC see 21119d6#diff-4f46f3dd9f33495139a2efc31fa3acd3 |
Implemented as EXPERIMENTAL, see eb49c37 |
closing after thorough testing and removed the experimental status in 3d277b5 |
dcooper16
referenced
this issue
in dcooper16/testssl.sh
Feb 9, 2016
This corrects the indentation within determine_trust() when there are multiple certificates and the output for "Chain of trust (experim.)" takes up more than one lines. In addition, it fixes the ID field of the JSON output for entries related to the certificate. At the moment, each ID string begins with a blank space. This changes it to remove the space if there is one certificate and to add "Server Certificate #X" at the beginning of each ID if there is more than one certificate. Perhaps there's a better way than just using, for example, "Server Certificate #1 key_size" as a way to distinguish multiple "key_size" entries in the JSON file. This is just one idea, and it can certainly be changed if those who intend to use the JSON output prefer something else.
torkelsson
pushed a commit
to torkelsson/testssl.sh
that referenced
this issue
Mar 1, 2016
This corrects the indentation within determine_trust() when there are multiple certificates and the output for "Chain of trust (experim.)" takes up more than one lines. In addition, it fixes the ID field of the JSON output for entries related to the certificate. At the moment, each ID string begins with a blank space. This changes it to remove the space if there is one certificate and to add "Server Certificate #X" at the beginning of each ID if there is more than one certificate. Perhaps there's a better way than just using, for example, "Server Certificate testssl#1 key_size" as a way to distinguish multiple "key_size" entries in the JSON file. This is just one idea, and it can certainly be changed if those who intend to use the JSON output prefer something else.
Closed
drwetter
added a commit
that referenced
this issue
Jan 22, 2018
The server default run had several JSON objects which weren't, looking at just the ID, either clear or contained a redundant explanation in "finding". Purely certificate related JSON objects are now having the id "cert_<object>" like cert_CN or cert_SAN. This commit changes all this, also it avoids another colon in finding (see #830). Also the implicit strategy "output for the screen s followed by only one output with fileout" has been relaxed -- which results on more, better parsable JSON objects. Some example of the changes: Old: ---- { "id" : "Server Certificate #1 fingerprint", "severity" : "INFO", "finding" : "Fingerprints / Serial: SHA1 2940BC13ECF7DAF30B9084CC734C3B971D73B3BB / 01BFD1DC15006E0ABBA7C670FF5E1101, SHA256 30BA61012FFE7CEAAF9A148A0CB0C5C852A9C04F4B1C27DB6 EFA9919C7F49CCF" } [..] { "id" : "Server Certificate #2 ocsp_stapling", "severity" : "OK", "finding" : "OCSP stapling : offered" } New: ---- { "id" : "cert_key_size <cert#1>", "severity" : "INFO", "finding" : "Server keys 2048 bits" },{ "id" : "cert_fingerprint_SHA1 <cert#1>", "severity" : "INFO", "finding" : "2940BC13ECF7DAF30B9084CC734C3B971D73B3BB" },{ "id" : "cert_fingerprint_SHA256 <cert#1>", "severity" : "INFO", "finding" : "30BA61012FFE7CEAAF9A148A0CB0C5C852A9C04F4B1C27DB6EFA9919C7F49CCF" },{ "id" : "cert_serial <cert#1>", "severity" : "INFO", "finding" : "01BFD1DC15006E0ABBA7C670FF5E1101" } [..] { "id" : "OCSP_stapling <cert#2>", "severity" : "OK", "finding" : "offered" } This PR also fixes the JSON output where for "OCSP must staple" the id was just 'id" : "OCSP must staple: ocsp_must_staple",' for multiple server certificates without the certificate number. As far as the code is concerned: $json_prefix should be a variable which is used for the id object. If there was more then one certificates for a single host detected, $json_postfix carries the certificate number. Unit tests need to be fixed -- if possible.
This was referenced Sep 17, 2019
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
needs to be done
The text was updated successfully, but these errors were encountered: