-
Notifications
You must be signed in to change notification settings - Fork 10
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: add issuer component #18
Conversation
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
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.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
61c492f
to
2cc883f
Compare
5610db0
to
30638ba
Compare
30638ba
to
f35950f
Compare
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.
could you please rename from src/credentials/SsiCredentialIssuer.Expiry.App.app to src/credentials/SsiCredentialIssuer.Expiry.App?
and not sure if you saw the comment from codeql, could you please take care of the warnings? |
f35950f
to
3ef3048
Compare
src/credentials/SsiCredentialIssuer.Expiry.App/ExpiryCheckService.cs
Dismissed
Show dismissed
Hide dismissed
3a35c8e
to
d5e30ad
Compare
tests/issuer/SsiCredentialIssuer.Service.Tests/BusinessLogic/CredentialBusinessLogicTests.cs
Fixed
Show fixed
Hide fixed
tests/processes/Processes.Library.Tests/ManualProcessDataExtensionsTests.cs
Fixed
Show fixed
Hide fixed
tests/externalservices/Wallet.Service.Tests/Services/BasicAuthTokenServiceTests.cs
Dismissed
Show dismissed
Hide dismissed
tests/externalservices/Wallet.Service.Tests/Services/BasicAuthTokenServiceTests.cs
Dismissed
Show dismissed
Hide dismissed
tests/externalservices/Wallet.Service.Tests/Services/WalletServiceTests.cs
Dismissed
Show dismissed
Hide dismissed
tests/issuer/SsiCredentialIssuer.Service.Tests/BusinessLogic/CredentialBusinessLogicTests.cs
Fixed
Show fixed
Hide fixed
tests/issuer/SsiCredentialIssuer.Service.Tests/BusinessLogic/CredentialBusinessLogicTests.cs
Fixed
Show fixed
Hide fixed
tests/issuer/SsiCredentialIssuer.Service.Tests/BusinessLogic/CredentialBusinessLogicTests.cs
Fixed
Show fixed
Hide fixed
tests/processes/CredentialProcess.Library.Tests/CredentialProcessHandlerTests.cs
Fixed
Show fixed
Hide fixed
d5e30ad
to
0e4854a
Compare
0e4854a
to
603c7b4
Compare
I removed the [ExceludeFromCodeCoverage] attributes |
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.
I tested again on local and after ba75b66 everything worked fine 👍
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.
3f18571
to
93746d1
Compare
private async Task<string> GetHolderInformation(string didDocumentLocation, CancellationToken cancellationToken) | ||
{ | ||
var client = _clientFactory.CreateClient("didDocumentDownload"); | ||
var result = await client.GetAsync(HttpUtility.HtmlEncode(didDocumentLocation), cancellationToken) |
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.
HtmlEncode does translate special characters to their html-representation. E.g. & instead of &. This is not suitable for Urls
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.
adjusted the validation of the url
Quality Gate passedIssues Measures |
* feat: add issuer component * build: add helm chart for issuer component * feat(notification): adjust notification endpoint * fix(build): enable build of docker images (#21) * feat: add callback process step * chore: enable helm chart (#22) * fix: remove lint issue * fix: solve templating issues * chore: change setup of cronjobs: remove hooks * chore: change name setup of job resources * chore: add line breaks * chore: move placeholder value into resources * chore: change to unique templates for db subchart * chore: change secret setup * chore: move passwords from db dependency to according section * chore: remove upgrade env file * chore: change centralidp setup * chore: rearrange health checks * chore: rearrange values file * chore: change ingress to trg-5.04 * chore: fix container name and namespace * chore: change image tag retrieval * chore: change version * chore(db-dependency): change image tag to get latest minor updates * chore: set resource limits * chore: update readme files * chore: change credentialexpiry to camelcase * chore: fix helm chart, improve workflows and docs (#23) * chore(helm-test): fix image name and tag override at upgrade * chore: fix owasp scan * chore(helm-test and owasp): change set command * chore: re-arrange values file * chore(pre-checks): run only on changes to src/** * docs(CONTRIBUTING.md): update to contribution details * chore: fix db dependency secret name in cronjobs * chore(dependencies-check): align file naming and docs * chore: remove white space --------- Refs: #2 #3 #4 #5 #6 #7 #8 #9 #13 #21 #22 #23 Reviewed-by: Evelyn Gurschler <[email protected]> Reviewed-by: Norbert Truchsess <[email protected]> Co-authored-by: Evelyn Gurschler <[email protected]> Co-authored-by: Norbert Truchsess <[email protected]>
Description
Add the ssi issuer component
Why
To provide a api to create, sign and revoke credentials for wallets of an issuer and holder
Issue
#3 #4 #5 #6 #7 #8 #9 #13
Checklist
BEGIN_COMMIT_OVERRIDE
feat: establish a database to handle credential requests, verified credentials, document proof, and managing lifecycle
feat: establish a GET endpoint for retrieving own credential requests with their current status
feat: establish a GET endpoint to retrieve supported credential types, allowing customers to see all credentials that can be requested
feat: establish POST endpoints for credential requests for BPN (Business Partner Number), Membership, and Framework Agreement credentials
feat: establish an admin endpoint to retrieve credential requests for the purpose of approval or rejection
feat: establish endpoints to approve or reject customer credential requests
feat: establish a processes worker to create credentials and submit them for signature by the issuer wallet
feat: establish a job to store newly created verified credentials inside the holder wallet
feat: implement a job to run expiry validation and revocation of credentials
feat: establish a notification system for credential expiry to alert holders
END_COMMIT_OVERRIDE