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

Change AuthorizationKey encoding to hex #4

Merged
merged 5 commits into from
May 21, 2024
Merged

Change AuthorizationKey encoding to hex #4

merged 5 commits into from
May 21, 2024

Conversation

matth-x
Copy link
Owner

@matth-x matth-x commented Dec 29, 2023

In the Security Profile 2 (TLS with Basic Authentication), the CSMS can update the WebSocket Secret (i.e. AuthorizationKey) via ChangeConfiguration command. This PR fixes the encoding of the Configuration with the Secret to hex, as specified in the standard. Furthermore, base64-encoding is migrated to Mongoose.

Upcoming changes: the AuthorizationKey will change to hex-encoding in the programming API too. This affects

  • new constructorMOcppMongooseClient
  • setAuthKey(...)
  • getAuthKey()

@matth-x matth-x merged commit e47edff into main May 21, 2024
@matth-x matth-x deleted the fix/basic-auth branch May 21, 2024 12:02
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