{"id":22355418,"url":"https://github.com/anjildhamala/ionic-touch","last_synced_at":"2026-05-03T16:32:38.173Z","repository":{"id":53758997,"uuid":"140332845","full_name":"anjildhamala/ionic-touch","owner":"anjildhamala","description":"A tiny effort to bring together Apple's TouchID and FaceID, Android's fingerprint Auth to save and retrieve two strings.","archived":false,"fork":false,"pushed_at":"2021-05-14T20:45:24.000Z","size":18350,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-19T11:08:05.957Z","etag":null,"topics":["angular","cryptojs","faceid","fingerprint","ionic","touchid"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anjildhamala.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-09T19:29:03.000Z","updated_at":"2021-05-14T20:45:27.000Z","dependencies_parsed_at":"2022-09-02T21:01:44.785Z","dependency_job_id":null,"html_url":"https://github.com/anjildhamala/ionic-touch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anjildhamala/ionic-touch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anjildhamala%2Fionic-touch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anjildhamala%2Fionic-touch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anjildhamala%2Fionic-touch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anjildhamala%2Fionic-touch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anjildhamala","download_url":"https://codeload.github.com/anjildhamala/ionic-touch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anjildhamala%2Fionic-touch/sbom","scorecard":{"id":197104,"data":{"date":"2025-08-11","repo":{"name":"github.com/anjildhamala/ionic-touch","commit":"497f851642a8bc23a6fe52ffa6a5ff9968dd93be"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/anjildhamala/ionic-touch/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/anjildhamala/ionic-touch/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/anjildhamala/ionic-touch/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/anjildhamala/ionic-touch/codeql-analysis.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T22:00:24.522Z","repository_id":53758997,"created_at":"2025-08-16T22:00:24.522Z","updated_at":"2025-08-16T22:00:24.522Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32577121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["angular","cryptojs","faceid","fingerprint","ionic","touchid"],"created_at":"2024-12-04T14:06:25.936Z","updated_at":"2026-05-03T16:32:38.149Z","avatar_url":"https://github.com/anjildhamala.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Installation\n```\nnpm install ionic-touch-module\n```\n\nAdditional Installations\nIonic Native \u0026 Cordova Plugins\n```\nAndroid Fingerprint https://ionicframework.com/docs/native/android-fingerprint-auth/\nIOS Touch https://ionicframework.com/docs/native/touch-id/\nSecure Storage https://ionicframework.com/docs/native/secure-storage/\n```\n\nUsage\nAdd the TouchModule to your App Module's imports as in\n\n```\nimport {TouchModule} from 'ionic-touch-module';\n\n@NgModule()\nexport class AppModule {\nimports: [TouchModule]\n}\n```\n\nInject the TouchDriver in your service or component wherever you want to set up your touch logic.\n```\nconstructor(private touchDriver: TouchDriver){}\n```\n\nThere are only 3 public methods to use from this library.\n\n```\nisAvailable(): Promise\u003cstring\u003e;\n```\nIt returns a promise that resolves or rejects with a string that describes the availability.\n\n```\nsave(param1, param2): Promise\u003cany\u003e;\n```\nThis method takes two params to encrypt, save, retrieve and decrypt. For my specific purpose, I used it to save username and password. It could store any two params that may or may not have any relationship between each other.\n\n```\nretrieve(): Promise\u003cany\u003e;\n```\nIt retrieves the saved two strings after an appropriate (TouchID, FaceID or pin) authentication.\n\nAll the errors that are thrown from the module can be viewed in the source code under src/constants\n\nQuick Test:\nIn your app.component.ts, inject TouchDriver and then copy paste the following:\n\n```\nthis.touchDriver.isAvailable()\n.then(() =\u003e this.save('firstname', 'lastname'))\n.then(() =\u003e this.retrieve())\n.then((response) =\u003e { \n//This will report as such: {user:'firstname', pass: 'lastname'}\n    console.log(response)\n})\n.catch((error) =\u003e { console.log(error) });\n```\n\nOne Final Piece:\nYou might need to include\n```\n\"node_modules/ionic-touch-module\"\n```\nin your\n```\ntsconfig \"include\"\n```\nas I wasn't quite sure how to make it typescript compatible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanjildhamala%2Fionic-touch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanjildhamala%2Fionic-touch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanjildhamala%2Fionic-touch/lists"}