{"id":21543378,"url":"https://github.com/mosip/esignet-mock-services","last_synced_at":"2025-06-19T17:39:57.212Z","repository":{"id":88912262,"uuid":"589861440","full_name":"mosip/esignet-mock-services","owner":"mosip","description":"Repository contains mock implementation of auth for e-signet","archived":false,"fork":false,"pushed_at":"2025-06-19T06:25:17.000Z","size":12215,"stargazers_count":2,"open_issues_count":14,"forks_count":71,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-19T07:33:07.781Z","etag":null,"topics":["oidc-client"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mosip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-17T05:32:48.000Z","updated_at":"2025-02-19T06:03:12.000Z","dependencies_parsed_at":"2023-10-16T22:33:14.672Z","dependency_job_id":"31a1cdb6-fd01-4585-aed2-79abf256b7ef","html_url":"https://github.com/mosip/esignet-mock-services","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/mosip/esignet-mock-services","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosip%2Fesignet-mock-services","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosip%2Fesignet-mock-services/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosip%2Fesignet-mock-services/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosip%2Fesignet-mock-services/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mosip","download_url":"https://codeload.github.com/mosip/esignet-mock-services/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosip%2Fesignet-mock-services/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260797677,"owners_count":23064839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["oidc-client"],"created_at":"2024-11-24T05:14:14.809Z","updated_at":"2025-06-19T17:39:52.182Z","avatar_url":"https://github.com/mosip.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eSignet mock implementations\nRepository contains mock implementations for eSignet. Only for non-production use.\n\n## Installing in k8s cluster using helm\n### Pre-requisites\n1. Set the kube config file of the Esignet K8 cluster having dependent services.\n1. Below are the dependent services required for Mock Identity Services deployment:\n   | Chart | Chart version |\n   |---|---|\n   |[Postgres](https://github.com/mosip/mosip-infra/tree/v1.2.0.1-B3/deployment/v3/external/postgres) | 10.16.2 |\n   |[Postgres Init](https://github.com/mosip/mosip-infra/tree/v1.2.0.1-B3/deployment/v3/external/postgres) | 12.0.1-B3 |\n   |[mock-identity-softhsm](https://github.com/mosip/esignet/blob/v1.0.0/helm/install-all.sh) | 12.0.1-B2 |\n\n\n### Install Pe-requisites for mock services\n* Install `kubectl` and `helm` utilities.\n* Run `prereq.sh` to setup below mentioned pre-requisites for mock services.\n  * Setup softhsm for mock-identity in `Softhsm` namespace.\n  * Copy required `configmaps` and `secrets` to `mockid` namespace.\n  * Initialise mock Identity DB. \n  * Create empty secret for `client-private-key` and `jwe-userinfo-key` for mock relying party service.\n  ```\n  cd deploy\n  ./prereq.sh\n  ```\n### Install esignet mock services\n* Install `kubectl` and `helm` utilities.\n* setup `KUBECONFIG` variable to point to esignet k8 cluster kubeconfig file.\n  ```\n  export KUBECONFIG=path/to/kubeconfig.config\n  ```\n* Execute installation script:\n  ```\n  ./install-mock.sh\n  ```\n* During installation of each module a prompt appears requesting information regarding the presence of a public domain and a valid SSL certificate on the server. \n  * Opt (y,Y) : In case the Domain is mapped publically and valid SSL certificate is present.\n  * Ops (n,N) : If the server lacks a public domain and a valid SSL certificate, it is advisable to select the `n` option.\n    * Opting it will enable the `init-container` with an `emptyDir` volume and include it in the deployment process.\n    * The init-container will proceed to download the server's self-signed SSL certificate and mount it to the specified location within the container's Java keystore (i.e., `cacerts`) file.\n    * This particular functionality caters to scenarios where the script needs to be employed on a server utilizing self-signed SSL certificates.\n* During Installation a prompt is there to confirm if prometheus service monitor is already deployed.\n  * Opt (y,Y) : In case Monitoring is installed with prometheus service monitor.\n  * Ops (n,N) : In case Monitoring is not installed or prometheus service monitor is not available.\n\n### Delete\n* Run `delete-mock.sh` to remove esignet services.\n  ```\n  cd deploy\n  ./delete-mock.sh\n  ```\n\n### Restart\n* Run `restart-mock.sh` to restart esignet services.\n  ```\n  cd deploy\n  ./restart-mock.sh\n  ```\n\n## Partner onboarder\n* Perform Partner onboarding for esignet mock relying party using [steps](partner-onboarder/README.md) only if mosip-identity plugin is used.\n\n## License\nThis project is licensed under the terms of [Mozilla Public License 2.0](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmosip%2Fesignet-mock-services","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmosip%2Fesignet-mock-services","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmosip%2Fesignet-mock-services/lists"}