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: return tag_value if no value_key #12

Merged

Conversation

dbluhm
Copy link
Contributor

@dbluhm dbluhm commented Mar 2, 2023

This fixes what seems to have been a bug in the handling of plaintext tags.

@andrewwhitehead this line was one we happened to inherit 🙂 I believe these changes captured the intended function of this method but a double check from you would be appreciated, if you get a chance.

Plaintext tags are not well used (I don't think they're used at all in ACA-Py) which let this bug slip past our testing which operates exclusively on ACA-Py wallets.

@blu3beri this also relates to a TODO line I noticed in openwallet-foundation/askar#104 where you asked what tag[1] represented. I wasn't sure which lead to the discovery of this bug 🙂

This fixes what seems to have been a bug in the handling of plaintext tags

Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
@andrewwhitehead andrewwhitehead merged commit deacaa0 into openwallet-foundation:main Mar 2, 2023
@dbluhm dbluhm deleted the fix/plaintext-tags branch March 2, 2023 19:07
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.

3 participants