Skip to content
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

Update version and improve logging in klap_protocol #180

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

BayernMuller
Copy link

This PR includes two primary changes to the plugp100 library:

Version Update in init.py: The version number has been incremented from 4.0.3 to 4.0.4. This change signifies an incremental improvement or fix in the library, adhering to semantic versioning principles.

Logging Improvement in klap_protocol.py: We've made a modification in the logging statement within the KlapProtocol class. Previously, the logging of a specific error message used string concatenation to include the IP address in the message. This has been updated to use f-string formatting, which is more efficient and readable. The revised message now provides clearer insight when the server's response does not match the expected hash but matches an authentication with blank credentials.

Motivation:

The motivation behind these changes is twofold. First, incrementing the version number allows users of the library to distinguish this new set of changes from previous versions. Second, improving the logging statement enhances the debuggability of the library by providing more concise and readable logs, especially in scenarios where authentication anomalies occur.

Impact:

These changes are expected to improve the overall user experience of the library by providing clearer logs and marking an incremental update that may include fixes or minor enhancements. The update in versioning also helps in better managing the library's versions and dependencies for users and developers alike.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant