Skip to content

Commit

Permalink
Analysis wording changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jvehent committed Oct 9, 2014
1 parent a722ad1 commit cc1230e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,16 +229,16 @@ and output a level and recommendations.
$ ./analyze.py -t jve.linuxwall.info
jve.linuxwall.info:443 has intermediate tls

Failed to pass old level. The following items are failing:
Changes needed to match the old level:
* consider enabling SSLv3
* add cipher DES-CBC3-SHA
* use a certificate with sha1WithRSAEncryption signature
* consider enabling OCSP Stapling

Failed to pass intermediate level. The following items are failing:
Changes needed to match the intermediate level:
* consider enabling OCSP Stapling

Failed to pass modern level. The following items are failing:
Changes needed to match the modern level:
* remove cipher AES128-GCM-SHA256
* remove cipher AES256-GCM-SHA384
* remove cipher AES128-SHA256
Expand All @@ -248,6 +248,7 @@ Failed to pass modern level. The following items are failing:
* disable TLSv1
* consider enabling OCSP Stapling
```

In the output above, `analyze.py` indicates that the target `jve.linuxwall.info`
matches the intermediate configuration level. If the administrator of this site
wants to reach the modern level, the items that failed under the modern tests
Expand Down
4 changes: 2 additions & 2 deletions analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,13 +258,13 @@ def process_results(data, level=None):
# print failures
if level:
if len(failures[level]) > 0:
print("\nFailed to pass " + level + " level. The following items are failing:")
print("\nChanges needed to match the " + level + " level:")
for failure in failures[level]:
print("* " + failure)
else:
for lvl in ['old', 'intermediate', 'modern']:
if len(failures[lvl]) > 0:
print("\nFailed to pass " + lvl + " level. The following items are failing:")
print("\nChanges needed to match the " + lvl + " level:")
for failure in failures[lvl]:
print("* " + failure)

Expand Down

0 comments on commit cc1230e

Please sign in to comment.