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

Add support for JWS signed messages #6

Open
mikuso opened this issue Apr 27, 2022 · 3 comments
Open

Add support for JWS signed messages #6

mikuso opened this issue Apr 27, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@mikuso
Copy link
Owner

mikuso commented Apr 27, 2022

Section 7.1 of the OCPP2.0.1J specification describes a "signed message format" which extends the RPC framework.

Support for this could be added with an option to the client.call() method.

e.g.

await client.call('MeterValues', {/** params **/}, { sign: true });`
@mikuso mikuso added the enhancement New feature or request label Apr 27, 2022
@ArvindKarthi
Copy link

Hi @mikuso , this enhancement is yet to be done?

@mikuso
Copy link
Owner Author

mikuso commented Apr 26, 2023

Yes. I feel like the spec isn't clear enough in how this should be implemented that I don't have confidence in my ability to implement it correctly. The biggest hurdle with this one is lack of a concrete example in the spec. I have asked the OCA for an example but didn't get any response.

I suppose my biggest worry is that I would accidentally release an implementation which wasn't compatible with other implementations.

Do you know of any other implementations that support this feature? It might be useful as a basis for me to test against.

@ArvindKarthi
Copy link

Yes, your point is understandable. Currently I have not seen other implementations with this feature but let me check, it'll be a good security feature.

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

No branches or pull requests

2 participants