bcgov / traction

Traction is designed with an API-first architecture layered on top of Hyperledger Aries Cloud Agent Python (ACA-Py) and streamlines the process of sending and receiving digital credentials for governments and organizations.
https://digital.gov.bc.ca/digital-trust/tools/traction/
Apache License 2.0
52 stars 50 forks source link

UTF-8 encoding support for credential attributes #844

Closed esune closed 1 year ago

esune commented 1 year ago

When submitting a credential offer using uncommon characters (such as an emoji, as in the provided example), the Traction tenant responds with a 400 error and hangs the issuance process. Private Zenhub Image

This might be indicative of incorrect handling of character encoding, and should be verified. In particular with Traction, things to check are:

This issue is to validate and understand the current situation, and determine next steps.

It is a feature required, specifically, by BC Wallet: https://github.com/bcgov/bc-wallet-mobile/issues/1503

esune commented 1 year ago

I used the Traction Tenant UI to issue myself a credential and assigned one of the attributes as 😅 - everything went as expected and I was able to correctly store the credential in the BC Wallet.

loneil commented 1 year ago

Was just trying this myself too, at least through the Tenant UI > Traction Proxy > My BC Wallet I got other characters transferred through in both the Attribute Name and the Attribute values

image

Something with the scripting language being used to POST to the API in the example maybe?

esune commented 1 year ago

Closing as it doesn't seem to be an issue, please feel free to reopen if necessary @jleach