-
Notifications
You must be signed in to change notification settings - Fork 83
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
Handle messages with an empty ~thread decorator #875
Comments
FYI @usingtechnology @Jsyro @andrewwhitehead @TelegramSam @dbluhm Given the RFCs, is this a bug in ACA-Py? It should be easy to fix — adding a |
The RFC is ambiguous:
So we have the case where Thread is defined with and explicit not for what to do when If I look at aries-protocol-test-suite, it assumes that We can certainly populate |
Thanks, @usingtechnology — let’s get an issue into ACA-Py to do as you say and remove the empty We can do a quick PR to aries-rfc as a clarification — don’t put it in, but understand that implementations might. |
Added issue 2259 to ACA-Py. We will not send an empty |
Just a follow up PR 2261 is ready for review. The PR sets the Looking over the existing ACA-Py code, it is very defensive and always checks for a |
Just a follow up: ACA-Py PR 2261 is merged, on the main branch and will be in Release 0.8.2. |
I've found testing against ACA-py 0.8.1 that some ACA-py messages (particularly a new cred offer) will include a
~thread
decorator with no content:"~thread": {}
:Aries-vcx message create will fail to deserialize this message, as if
OfferCredentialDecorators
has athread
, then it expects there to be athid
.So I'm wondering; is this an ACA-py bug, or an aries_vcx bug?... The language of the threading RFC makes it difficult to know whether an
~thread
with nothing inside it is "valid" (despite being meaningless/useless); https://github.com/hyperledger/aries-rfcs/tree/main/concepts/0008-message-id-and-threading.And further question; if it is an ACA-py bug, should aries_vcx build some tolerance for the bug anyway?
The text was updated successfully, but these errors were encountered: