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

X509Credential: end-to-end test #3618

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

reinkrul
Copy link
Member

@reinkrul reinkrul commented Dec 18, 2024

Noteworthy:

  • The pre-generated certificate expires in 10 years
  • I'm using a custom build of the did:x509 issuer tool, can be changed when it's been generified and published to Docker Hub.

Fixes #3601

{
"id": "organization_name",
"path": [
"$.credentialSubject[0].O"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not as specified in nuts-foundation/uzi-did-x509-issuer#10

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test reflect the state of software as it currently is. There will be iterations on this.

I'm fine with waiting with merging until the referred issue has been merged and change the test after, or we can merge it to have more test coverage for upcoming changes. Either is fine with me.

{
"id": "organization_name",
"path": [
"$.credentialSubject[0].O"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

REQUEST="{\"registrationParameters\":{\"key\":\"value\"}}"
RESPONSE=$(echo $REQUEST | curl -s -o /dev/null -w "%{http_code}" -X POST --data-binary @- http://localhost:18081/internal/discovery/v1/e2e-test/vendorA)
if [ $RESPONSE -eq 200 ]; then
echo "Rregistered on Discovery Service"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

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.

Create end-to-end test for did:x509 with X509Credential
2 participants