Skip to content

Commit

Permalink
[fix] linting
Browse files Browse the repository at this point in the history
  • Loading branch information
grindsa committed Nov 28, 2024
1 parent 0275801 commit c642de5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and pick the appropriate release branch.

**Features and Improvements**:

- refactored [NCLM ca handler](docs/nclm.md) using the external REST-API
- [ca handler](docs/digicert.md) using the [DigiCert CertCentral API](https://dev.digicert.com/en/certcentral-apis.html)
- [ca handler](docs/entrust.md) using the Entrust ECS Enterprise APIl
- [EAB Profiling support](docs/eab_profiling.md) in Microsoft CA handlers
Expand Down
1 change: 1 addition & 0 deletions acme_srv/challenge.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def _challenge_validate(self, pub_key: Dict[str, str], challenge_name: str, chal
for _ele in range(0, 5):

result, invalid = self._challenge_validate_loop(challenge_name, challenge_dic, payload, jwk_thumbprint)
# pylint: disable=r1723
if result or invalid:
# break loop if we got any good or bad response
break
Expand Down
3 changes: 2 additions & 1 deletion acme_srv/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1862,7 +1862,8 @@ def eab_profile_string_check(logger, cahandler, key, value):

logger.debug('Helper.eab_profile_string_check() ended')

def request_operation(logger: logging.Logger, headers: Dict[str, str] = {}, proxy: Dict[str, str] = {}, timeout: int = 20, url: str = None, session=requests, method: str = 'GET', payload: Dict[str, str] = None):

def request_operation(logger: logging.Logger, headers: Dict[str, str] = None, proxy: Dict[str, str] = None, timeout: int = 20, url: str = None, session=requests, method: str = 'GET', payload: Dict[str, str] = None):
""" check if a for a string value taken from profile if its a variable inside a class and apply value """
logger.debug('Helper.api_operation(): method: %s', method)

Expand Down
3 changes: 2 additions & 1 deletion docs/nclm.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

## Pre-requisites

- NCLM 19.0.0 or higher needs to be up and running
- NCLM 24.2.0 or higher needs to be up and running
- the external REST-API needs to be enabled
- username and password to access NCLM via REST-Service
- is a container created in NCLM which can be used to store the certificates

Expand Down

0 comments on commit c642de5

Please sign in to comment.