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

fix(java): length registration record should be OPAQUE_REGISTRATION_RECORD_LEN #40

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

krispypen
Copy link
Contributor

@krispypen krispypen commented Jul 10, 2024

The record received from opaque_FinalizeRequest and send to opaque_StoreUserRecord has length OPAQUE_REGISTRATION_RECORD_LEN

To give some context:
In our case we use the C solution (using length OPAQUE_REGISTRATION_RECORD_LEN) on client side and the java solution (using length OPAQUE_USER_RECORD_LEN) on backend side, so they expect a different size for the rec.

The record received from opaque_FinalizeRequest and send to opaque_StoreUserRecord has length OPAQUE_REGISTRATION_RECORD_LEN
@krispypen krispypen changed the title fix: length registration record should be OPAQUE_REGISTRATION_RECORD_LEN fix(java): length registration record should be OPAQUE_REGISTRATION_RECORD_LEN Jul 10, 2024
@stef
Copy link
Owner

stef commented Jul 10, 2024

huh, that looks like a stupid error of mine. thanks for catching it! running CI, and if that (why should it not?) passes, i'll merge it. do you want also a new release with this?

@krispypen
Copy link
Contributor Author

yes please 🙏

@stef stef merged commit 2ee006c into stef:master Jul 10, 2024
3 checks passed
@stef
Copy link
Owner

stef commented Jul 10, 2024

https://github.com/stef/libopaque/releases/tag/v0.99.5

thank you for your fine and quick contribution!

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.

2 participants