-
Notifications
You must be signed in to change notification settings - Fork 70
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
feat: W3C credential support #792
Conversation
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
result = handle_vc_di_issuer(message) | ||
response = Response(result.serialize()) | ||
except ValidationError as err: | ||
response = Response(str(err), status=status.HTTP_422_UNPROCESSABLE_ENTITY) |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
Stack trace information
except ValidationError as err: | ||
response = Response(str(err), status=status.HTTP_422_UNPROCESSABLE_ENTITY) | ||
except Exception as err: | ||
response = Response(str(err), status=status.HTTP_500_INTERNAL_SERVER_ERROR) |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
Stack trace information
result = handle_vc_di_credential_type(message) | ||
response = Response(result.serialize()) | ||
except ValidationError as err: | ||
response = Response(str(err), status=status.HTTP_422_UNPROCESSABLE_ENTITY) |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
Stack trace information
except ValidationError as err: | ||
response = Response(str(err), status=status.HTTP_422_UNPROCESSABLE_ENTITY) | ||
except Exception as err: | ||
response = Response(str(err), status=status.HTTP_500_INTERNAL_SERVER_ERROR) |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
Stack trace information
result = handle_vc_di_credential(message) | ||
response = Response(result) | ||
except ValidationError as err: | ||
response = Response(str(err), status=status.HTTP_422_UNPROCESSABLE_ENTITY) |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
Stack trace information
except ValidationError as err: | ||
response = Response(str(err), status=status.HTTP_422_UNPROCESSABLE_ENTITY) | ||
except Exception as err: | ||
response = Response(str(err), status=status.HTTP_500_INTERNAL_SERVER_ERROR) |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
Stack trace information
@amanji how are you testing sending a W3C json credential? |
Testing with the BC Reg issuer I get errors when I try to issue credentials:
|
We can post directly to the agent webhook topic. We don't require a didcomm connection. |
@ianco I did modify the docker-compose configs a bit so the services might be waiting on debugpy |
Should that be optional? I just need to start all the services and post some credentials (usually thousands of them). |
This PR adds support for storing W3C credential formats in aries-vcr. A number of db migrations have been added to be able to store the raw JSON data in the db along with Django code and tests to support registering W3C credential issuers and to receive W3C credentials.