-
Notifications
You must be signed in to change notification settings - Fork 217
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: example oob url encoding #849
fix: example oob url encoding #849
Conversation
Signed-off-by: James Ebert <jamesebert.k@gmail.com>
Does this reflect what is being done in pratice? Otherwise it might be beneficial to use unpadded (I think Credo uses unpadded when doing base64 url by default) |
I believe the guidance that we’ve given in the past is that the sender should NOT add padding, but the receiver should accept and process with and without padding (e.g., assuming the sender doesn’t follow rules). That last part is in the RFC. That said, I’m not sure how that impacts this PR. |
Signed-off-by: James Ebert <jamesebert.k@gmail.com>
@TelegramSam — can you add this to the agenda for the next Aries Working Group Meeting? Or @JamesKEbert — add it to the agenda when the call for topics is made at the start of the call? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed at the Aries Working Group Call on 20240828.
ACA-Py to be fixed to remove sending a padding character. |
This is a fairly pedantic fix to the URL encoding of the example OOB invitation in the OOB RFC.
Given in the OOB Aries RFC 0434 it references RFC 4648 for Base64URL encoding, we should be using padding (as the invitation length is not implicitly known) and the trailing '=' should be percent-encoded as '%3D', as described here and here.
From RFC 4648:
Is additional language in RFC 0434 describing padding and formatting of the URI beneficial?