Skip to content

Sourcery refactored main branch #22

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

Open
wants to merge 57 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
a79fef7
Remove unnecessary whitespace
deepsource-autofix[bot] Jul 17, 2022
bda1c36
Merge pull request #1 from TheScriptGuy/deepsource-fix-b7b3e255
TheScriptGuy Jul 17, 2022
9b615c6
Remove blank lines after docstring
deepsource-autofix[bot] Jul 17, 2022
b0ef14c
Merge pull request #2 from TheScriptGuy/deepsource-fix-b66fb2dd
TheScriptGuy Jul 17, 2022
9b67e27
Fixing minor docstring syntax
Jul 17, 2022
b759b78
Fixing issue #3
Jul 17, 2022
27d0673
Merge pull request #4 from TheScriptGuy/mongodb-keyerror
TheScriptGuy Jul 17, 2022
468580c
MongoDB improvements
Jul 23, 2022
cc7ed7a
MongoDB improvements
Jul 23, 2022
fd4c590
Merge pull request #5 from TheScriptGuy/mongodb-improvements
TheScriptGuy Jul 23, 2022
c580ab7
Version 0.31. See CHANGELOG.md for updates.
Oct 23, 2022
d9bd4ca
Version 0.32 released. Resolve issue #6
Oct 27, 2022
67fdd18
Merge pull request #7 from TheScriptGuy/6-mongodb-upload-error
TheScriptGuy Oct 27, 2022
20476df
Version 0.33. See CHANGELOG.md
Nov 20, 2022
b5b7c39
Python coding syntax updates
Nov 20, 2022
07364d2
Updating python syntax
Nov 20, 2022
1657d25
Version 0.34. See CHANGELOG.md
Dec 4, 2022
000dba9
Fixing syntax.
Dec 4, 2022
3308b3b
Improving code syntax.
Dec 18, 2022
6ab0089
Improving code syntax.
Dec 18, 2022
9e36649
Improving code syntax.
Dec 18, 2022
98d5550
Adding LICENSE.md
Jan 3, 2023
4ed0b17
Adding LICENSE.md
Jan 3, 2023
0e44abd
Version 0.35. See CHANGELOG.md
Feb 6, 2023
c5aa789
Version 0.36. See CHANGELOG.md
Mar 26, 2023
d002a58
refactor: Remove unnecessary whitespace
deepsource-autofix[bot] Mar 26, 2023
af982be
Merge pull request #10 from TheScriptGuy/deepsource-autofix-259a3969
TheScriptGuy Mar 26, 2023
5002a49
Version 0.37. See CHANGELOG.md
Apr 15, 2023
1964676
Merge pull request #12 from TheScriptGuy/11-timestamp-error-message-m…
TheScriptGuy Apr 15, 2023
cb4b998
Version 0.38. See CHANGELOG.md
Apr 15, 2023
461bb9d
Version 0.38. See CHANGELOG.d
Apr 15, 2023
de8aa4d
Merge pull request #14 from TheScriptGuy/13-environment-variables
TheScriptGuy Apr 15, 2023
66c77fd
Fixing syntax
Apr 15, 2023
b5f5c87
Merge branch 'main' of github.com:TheScriptGuy/certificateChecker
Apr 15, 2023
d44bfcc
Fixing syntax
Apr 15, 2023
8239b55
Fixing syntax.
Apr 15, 2023
91dc9d4
Fixing syntax.
Apr 15, 2023
ade61a3
Version 0.39. See CHANGELOG.md
May 19, 2023
0a463c4
Merge pull request #16 from TheScriptGuy/15-mongodb-operationfailure
TheScriptGuy May 19, 2023
27bd806
Version 0.40. See CHANGELOG.md
May 22, 2023
122f057
Version 0.41. See CHANGELOG.md
May 22, 2023
c117a89
Minor bug fix with --hostname
May 22, 2023
9d0a92a
Version 0.42. See CHANGELOG.md
May 31, 2023
2b78d0e
fixing syntax.
May 31, 2023
1e3beb1
fixing syntax.
May 31, 2023
85be754
Version 0.43. See CHANGELOG.md
Jun 24, 2023
8a868cf
Version 0.43. See CHANGELOG.md
Jun 24, 2023
e13148b
Merge pull request #18 from TheScriptGuy/17-socket-timeout-feature
TheScriptGuy Jun 24, 2023
b67d111
Version 0.44. See CHANGELOG.md
Jul 9, 2023
50932ed
Version 0.44. See CHANGELOG.md
Jul 9, 2023
6de8131
Merge pull request #20 from TheScriptGuy/19-traceback-untrusted-issuer
TheScriptGuy Jul 9, 2023
f525d6c
Version 0.44. See CHANGELOG.md
Jul 9, 2023
d36a65a
Merge pull request #21 from TheScriptGuy/19-traceback-untrusted-issuer
TheScriptGuy Jul 9, 2023
a8bb774
Version 0.45. See CHANGELOG.md
Jul 9, 2023
ee1b636
Version 0.46. See CHANGELOG.md
Jul 12, 2023
0b57489
Aligning to PEP standards
Jul 29, 2023
7c99437
'Refactored by Sourcery'
Jul 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
138 changes: 138 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,141 @@
# 2023/07/11
## Version 0.46
### Enhancements
* Aligning with some python better code practices.

# 2023/07/09
## Version 0.45
### Fixes
* Fixed a minor bug with the certificate chain retrieval.

# 2023/07/08
## Version 0.44
### Fixes
* [traceback untrusted issuer](https://github.com/TheScriptGuy/certificateChecker/issues/19).

# 2023/06/24
## Version 0.43
### Enhancements
* [Socket timeout value](https://github.com/TheScriptGuy/certificateChecker/issues/17).

# 2023/05/31
## Version 0.42
### Fixes
* A left over print statement from the previous build.

# 2023/05/22
## Version 0.41
### Feature Additions/Enhancements
* Add the ability to ignore ssl warnings on a host by host basis. See examples here - [Example of queryFile structure](https://github.com/TheScriptGuy/certificateChecker/blob/main/README-queryFile.md)

## Version 0.40
### Feature Additions/Enhancements
* Adding the ability to use unsafe legacy method of connection. See examples here - [Example of queryFile structure](https://github.com/TheScriptGuy/certificateChecker/blob/main/README-queryFile.md)

## Version 0.39
### Fixes
* [MongoDB bugfix](https://github.com/TheScriptGuy/certificateChecker/issues/15)

# 2023/04/15
## Version 0.38
### Feature additions
* [Allow environment variables usage](https://github.com/TheScriptGuy/certificateChecker/issues/13)

## Version 0.37
### Feature additions
* [Adding time to output when error occurs](https://github.com/TheScriptGuy/certificateChecker/issues/11)

# 2023/03/25
## Version 0.36
### Feature additions
* [MongoDB enhancement](https://github.com/TheScriptGuy/certificateChecker/issues/9)

# 2023/02/05
## Version 0.35
### Feature additions
* Added the ability to load the context flags from contextVariables.json file.

# 2022/12/04
## Version 0.34
### Additions
* Added the ability to retry attempts if a connection fails.
* `--retryAttempts x`, where x is the number of attempts. Defaults to 1 attempt.
* `--timeBetweenRetries y` where y is the number of seconds between attempts. Defaults to 1 second.

### Fixes
* Fixed an error when calculating statistics for a single host that didn't exist.

# 2022/10/26
## Version 0.33
### Changes
* When using --mongoDB argument, the output will include the timestamp of the result being uploaded.

## Version 0.32
### Fixes
* Resolving [issue](https://github.com/TheScriptGuy/certificateChecker/issues/6)

# 2022/10/23
## Version 0.31
### Changes
* updated dataFormatVersion to 20:
* added new fields - `lowestTemplateTime`, `lowestTemplateTimeHumanReadable`, `highestTemplateTime`, `highestTemplateTimeHumanReadable`
* added Certificate Authority Common Name count field - `commonCAIssuersCount`
* added Common Cipher Information Connection Count - `commonCipherInfoCount`
* Example new json structure (to see more, please see [here](https://github.com/TheScriptGuy/certificateChecker/blob/main/README-json.md)):
```json
"queryStatistics":
{
"scriptStartTime": "2022-10-23T22:50:12.830321",
"scriptEndTime": "2022-10-23T22:50:14.251425",
"scriptExecutionTime": 1421.1,
"averageQueryTime": 282.82,
"averageCertificateUtilization": 38.05,
"averageTemplateTime": 22584959,
"averageTemplateTimeHumanReadable": "8 months, 18 days, 2 hours, 35 minutes, 59 seconds",
"lowestCertificateTemplateTime": 7775999,
"lowestCertificateTemplateTimeHumanReadable": "2 months, 30 days, 15 hours, 59 minutes, 59 seconds",
"highestCertificateTemplateTime": 34127999,
"highestCertificateTemplateTimeHumanReadable": "1 year, 29 days, 15 hours, 59 minutes, 59 seconds",
"commonCAIssuersCount":
{
"Apple Public EV Server ECC CA 1 - G1": 1,
"Cloudflare Inc ECC CA-3": 1,
"COMODO RSA Organization Validation Secure Server CA": 1,
"R3": 2
},
"commonCipherInfoCount":
{
"bits":
{
"128": 2,
"256": 3
},
"cipher":
{
"TLS_AES_128_GCM_SHA256": 1,
"TLS_AES_256_GCM_SHA384": 3,
"ECDHE-RSA-AES128-GCM-SHA256": 1
},
"version":
{
"TLSv13": 4,
"TLSv12": 1
}
},
"numberofTests":
{
"success": 5,
"failed": 1
}
}
```

# 2022/07/22
## Version 0.30
### Changes
* improved MongoDB connection string handling.
* improved MongoDB error handling.

# 2022/07/17
## Version 0.30
### Changes
Expand Down
10 changes: 10 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# LICENSE AGREEMENT

Free for personal/non-commercial use.

By downloading this code:
* You are responsible for validating what you run in your environment (whether it be on personal/work/other device, or in a home/corporate/public/other network)
* All liabilities, responsibilities, and actions fall onto whomever/whatever runs this code.
* No warranty provided.

Custom software license agreements available on request.
Loading