{"id":20533963,"url":"https://github.com/anicolaspp/skeystore","last_synced_at":"2026-05-27T21:31:58.887Z","repository":{"id":95258190,"uuid":"165856874","full_name":"anicolaspp/skeystore","owner":"anicolaspp","description":"A small Java Key Store Wrapper in Scala","archived":false,"fork":false,"pushed_at":"2019-01-15T16:21:57.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T03:14:46.605Z","etag":null,"topics":["keystore","scala","security"],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anicolaspp.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}},"created_at":"2019-01-15T13:35:55.000Z","updated_at":"2019-01-15T16:21:58.000Z","dependencies_parsed_at":"2023-03-13T16:52:35.671Z","dependency_job_id":null,"html_url":"https://github.com/anicolaspp/skeystore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anicolaspp/skeystore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anicolaspp%2Fskeystore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anicolaspp%2Fskeystore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anicolaspp%2Fskeystore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anicolaspp%2Fskeystore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anicolaspp","download_url":"https://codeload.github.com/anicolaspp/skeystore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anicolaspp%2Fskeystore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33585203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["keystore","scala","security"],"created_at":"2024-11-16T00:24:35.721Z","updated_at":"2026-05-27T21:31:58.869Z","avatar_url":"https://github.com/anicolaspp.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# skeystore\nA small Java Key Store Wrapper in Scala\n\nThey Key Store Wrapper supports adding aliases to a `JCEKS` keystore. \n\nWe can create a keystore using the following command.\n\n```\nkeytool -keystore keystore -genkey -alias nico -storetype jceks     \n```\nNotice that not all types of keystores will support the required functionality. \n\nThe following test shows how our library is used. \n\n```\nobject SecureStoreTest extends Properties(\"KeyStore\") {\n\n  private val path = getClass.getResource(\"/keystore\").getPath\n\n  private val storePassword = \"randompass\"\n\n  private val entries = Gen.alphaStr\n\n  property(\"read and write entry\") = forAll(entries, entries) { (alias: String, pwd: String) =\u003e\n    val store = SecureStore.fromFile(path, storePassword)\n\n    (alias.length \u003e 0 \u0026\u0026 pwd.length \u003e 0) ==\u003e {\n      store.addEntry(alias, pwd)\n\n      store.readPasswordForEntry(alias, storePassword) == pwd\n    }\n  }\n}\n```\n`private val storePassword = \"randompass\"` is the keystore password we used when creating the keystore. Since this test is \nwritten using `ScalaCheck`, it will actually run `100` iterations with different combinations of `alias` and `pwd` and it\nmakes sure we can successfully read and write from the keystore. \n\n## Cross Building\n\nUse the following command to build.\n\n```\nsbt +assembly\n```\n\nThis command build against `scala 2.11.8` so it can be used on `Apache Spark` and `scala 2.12.8`. It will generate 2 `.jar` \noutputs, one for each version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanicolaspp%2Fskeystore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanicolaspp%2Fskeystore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanicolaspp%2Fskeystore/lists"}