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

Check key at startup not during runtime in ch-app #91

Closed
schoenenberg opened this issue Nov 23, 2023 · 1 comment
Closed

Check key at startup not during runtime in ch-app #91

schoenenberg opened this issue Nov 23, 2023 · 1 comment
Assignees

Comments

@schoenenberg
Copy link

Feature Request

Which Areas Would Be Affected?

e.g., DPF, CI, build, transfer, etc.

CH-APP

Why Is the Feature Desired?

Are there any requirements?

CH-APP checks private key only during runtime first request not during startup. So it makes it difficult to check if the CH-APP started successfully.

Solution Proposal

If possible, provide a (brief!) solution proposal.

Check during startup

@schoenenberg schoenenberg self-assigned this Nov 23, 2023
schoenenberg added a commit that referenced this issue Jan 2, 2024
@schoenenberg
Copy link
Author

Implemented a check on startup, that opens the private key file and checks if the key is useable as a private key.

github-actions bot pushed a commit that referenced this issue Feb 3, 2024
# [1.0.0-alpha.8](v1.0.0-alpha.7...v1.0.0-alpha.8) (2024-02-03)

### Bug Fixes

* **ch-app:** Fix 3 vulnerabilitites: GHSA-rjhf-4mh8-9xjq, GHSA-xphf-cx8h-7q9g, GHSA-3mv5-343c-w2qg ([2ca4dfa](2ca4dfa))
* changed repository in package.json ([5b0b15c](5b0b15c))
* **ci:** change docker image tag to reflect new repo and impl job matrix ([60379b4](60379b4))
* GITHUB_TOKEN permissions for release job ([b2678aa](b2678aa))

### Features

* **ch-app:** Add postgres implementation ([#96](#96)) ([842ff00](842ff00))
* **ch-app:** Implement [#91](#91) ([965b4c2](965b4c2))
github-actions bot pushed a commit that referenced this issue Feb 19, 2024
# [1.0.0-beta.2](v1.0.0-beta.1...v1.0.0-beta.2) (2024-02-19)

### Bug Fixes

* **ch-app:** copy migrations in Dockerfile ([b91926c](b91926c))
* **ch-app:** Fix 3 vulnerabilitites: GHSA-rjhf-4mh8-9xjq, GHSA-xphf-cx8h-7q9g, GHSA-3mv5-343c-w2qg ([2ca4dfa](2ca4dfa))
* **ch-app:** Fixed uuid <-> str mismatch in document, which resulted in failed query ([0571bd1](0571bd1))
* changed repository in package.json ([5b0b15c](5b0b15c))
* **ci:** change docker image tag to reflect new repo and impl job matrix ([60379b4](60379b4))
* disable tokenFormat check ([c920b82](c920b82))
* GITHUB_TOKEN permissions for release job ([b2678aa](b2678aa))

### Features

* **ch-app:** Add postgres implementation ([#96](#96)) ([842ff00](842ff00))
* **ch-app:** Implement [#91](#91) ([965b4c2](965b4c2))
github-actions bot pushed a commit that referenced this issue Sep 30, 2024
# 1.0.0 (2024-09-30)

### Bug Fixes

* **app:** Fix build on development branch ([32bfea3](32bfea3))
* **app:** Fix build on development branch ([851146e](851146e))
* **app:** Fix warnings and build on development branch ([ef8bf76](ef8bf76))
* **app:** Fix warnings and build on development branch ([89f39f7](89f39f7))
* **ch-app:** Add error log and removed assert ([0d07fe5](0d07fe5))
* **ch-app:** Bump dependencies ([6f273bb](6f273bb))
* **ch-app:** copy migrations in Dockerfile ([b91926c](b91926c))
* **ch-app:** Fix 3 vulnerabilitites: GHSA-rjhf-4mh8-9xjq, GHSA-xphf-cx8h-7q9g, GHSA-3mv5-343c-w2qg ([2ca4dfa](2ca4dfa))
* **ch-app:** Fix all clippy warnings ([812f3e8](812f3e8))
* **ch-app:** Fix integration test case log ([bcc6a56](bcc6a56))
* **ch-app:** Fix security issue through updating dependencies ([2613559](2613559))
* **ch-app:** Fixed uuid <-> str mismatch in document, which resulted in failed query ([0571bd1](0571bd1))
* **ch-app:** Reenable new serde crates, due to resolved issues with precompiled binaries ([e2784b9](e2784b9))
* **ch-app:** Updated dependencies to fix security vulnerability ([fe19cdf](fe19cdf))
* **ch-edc:** add missing vault filesystem ([e845269](e845269))
* **ch-edc:** add multistage dockerfile ([8e8026e](8e8026e))
* change tests for `referringConnector` test ([25cd379](25cd379))
* changed repository in package.json ([5b0b15c](5b0b15c))
* **ci:** change docker image tag to reflect new repo and impl job matrix ([60379b4](60379b4))
* **ci:** Delete .github/workflows/rust.yml to fix failing CI ([3a8d5a1](3a8d5a1))
* **ci:** disable rust workflow (dublicate build) ([9af75cf](9af75cf))
* **ci:** Fix rust.yml workflow ([0a474c0](0a474c0))
* **ci:** Fix unauthorized push ([57d4e02](57d4e02))
* **ci:** Fix unauthorized push ([453ce88](453ce88))
* **ci:** simplified ch-edc docker build ([f0cb1e1](f0cb1e1))
* **ci:** updated test job to run from root ([04cecce](04cecce))
* **config:** Fixed config and added unit test to verify correct functionality ([76765e6](76765e6))
* **core:** Disable integration tests, fix warnings and make the build reproducible ([ecd3078](ecd3078))
* **core:** Disable integration tests, fix warnings and make the build reproducible ([c69b246](c69b246))
* disable tokenFormat check ([c920b82](c920b82))
* GITHUB_TOKEN permissions for release job ([b2678aa](b2678aa))
* quick start docker-compose.yml snytax ([0d83989](0d83989))
* removed workingdir since cd is used ([34e2b9a](34e2b9a))
* **tests:** add __ENV for hostname and token ([209244c](209244c))
* updating .gitignore to exclude vscode files ([1ce073f](1ce073f))

### Features

* AppSender, LoggingMessageDelegate, LogMessageHandler tests implemented ([5127591](5127591))
* basic endpoint functions working ([f1726e7](f1726e7))
* **ch-app:** Add and debug integration test ([cef068b](cef068b))
* **ch-app:** Add create_process test and fix an issue ([8cfb5e1](8cfb5e1))
* **ch-app:** Add CreateProcessResponse as JSON ([002845a](002845a))
* **ch-app:** add Dockerfile and GH action ([f64aa14](f64aa14))
* **ch-app:** Add docs for installation of ch-app ([293500d](293500d))
* **ch-app:** Add postgres implementation ([#96](#96)) ([842ff00](842ff00))
* **ch-app:** Add testcontainers for Integration tests with database ([679b06b](679b06b))
* **ch-app:** Added tests, refactored unwrap ([b3f8ede](b3f8ede))
* **ch-app:** Bump Cargo edition to 2021 and remove unused imports ([007281f](007281f))
* **ch-app:** Bump Cargo edition to 2021 and remove unused imports ([6a3934e](6a3934e))
* **ch-app:** Created services for Keyring- and Document-Service inside logging service and adjusted the handlers ([4bb512f](4bb512f))
* **ch-app:** Created services for Keyring- and Document-Service inside logging service and adjusted the handlers ([f1a8e59](f1a8e59))
* **ch-app:** feature flag sentry ([918a903](918a903))
* **ch-app:** Finished error-handling in keyring service and introduces 'doc_type' feature ([387498c](387498c))
* **ch-app:** Finished refactoring document-service error-handling ([8965f5e](8965f5e))
* **ch-app:** Implement [#91](#91) ([965b4c2](965b4c2))
* **ch-app:** Refactor logging-api to use a service as well ([4259c65](4259c65))
* **ch-app:** Refactor logging-api to use a service as well ([f1beee0](f1beee0))
* **ch-app:** Remove Blockchain, add integration tests ([ffdfbad](ffdfbad))
* **ch-app:** Removed ApiResponse, fixed warnings and hid more doc_type related functions ([fc710b7](fc710b7))
* **ch-app:** Removed certs folder ([2779f6c](2779f6c))
* **ch-app:** Setup tracing as logger and replace rocket as logger; setup config ([c9d8e6f](c9d8e6f))
* **ch-app:** Setup tracing as logger and replace rocket as logger; setup config ([356665a](356665a))
* **ch-app:** Use JWKS from endpoint to validate receipt ([11a7314](11a7314))
* **ci:** add test job for CH app ([807bcdf](807bcdf))
* create connector and extension modules ([fa47ff8](fa47ff8))
* Create TestUtils with mock and start to create application tests ([f1612e0](f1612e0))
* **doc:** Add internal description to docs ([4e89ba6](4e89ba6))
* **docker:** Optimised docker image with distroless image ([d046826](d046826))
* **docs:** add d2 diagramming integration to workflow ([24e87ef](24e87ef))
* **docs:** add mdbook for documentation ([0cf4ada](0cf4ada))
* **docs:** Enable GitHub Pages generation ([36bfaa3](36bfaa3))
* enable pedantic linter and fix clippy findings where appropiate ([df0a5d4](df0a5d4))
* externalization of environments variables ([f8e187e](f8e187e))
* readme added ([4d382b5](4d382b5))
* release action ([98f1448](98f1448))
* release action ([4710fc0](4710fc0))
* **release:** add more release types ([cd59461](cd59461))
* semantic-release ([6fb29ff](6fb29ff))
* starting create objects and method ([f13f15e](f13f15e))
* **tests:** add load tests ([a88175b](a88175b))
* **tests:** add smoke tests ([e31f806](e31f806))
* uses now `referringConnector` instead of `SKI:AKI` ([b472344](b472344))
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

No branches or pull requests

1 participant