{"id":46732601,"url":"https://github.com/rickar/props","last_synced_at":"2026-03-09T15:37:02.821Z","repository":{"id":8981652,"uuid":"10727380","full_name":"rickar/props","owner":"rickar","description":"Go (golang) library for Java-style property files","archived":false,"fork":false,"pushed_at":"2025-03-21T01:03:34.000Z","size":46,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-13T18:43:34.461Z","etag":null,"topics":["go","golang","java-properties"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rickar.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}},"created_at":"2013-06-17T00:10:22.000Z","updated_at":"2025-03-21T00:58:31.000Z","dependencies_parsed_at":"2022-09-02T04:30:18.686Z","dependency_job_id":null,"html_url":"https://github.com/rickar/props","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rickar/props","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickar%2Fprops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickar%2Fprops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickar%2Fprops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickar%2Fprops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rickar","download_url":"https://codeload.github.com/rickar/props/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickar%2Fprops/sbom","scorecard":{"id":775717,"data":{"date":"2025-08-11","repo":{"name":"github.com/rickar/props","commit":"1abc1091dfd923f6bdd5c2e6246993d6ae7b34b5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Code-Review","score":1,"reason":"Found 1/9 approved changesets -- score normalized to 1","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.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":"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":"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":"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":"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/main.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/rickar/props/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/rickar/props/main.yml/master?enable=pin","Info:   0 out of   2 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":"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"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":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["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"}},{"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"}}]},"last_synced_at":"2025-08-23T03:31:47.450Z","repository_id":8981652,"created_at":"2025-08-23T03:31:47.451Z","updated_at":"2025-08-23T03:31:47.451Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30301117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T14:33:48.460Z","status":"ssl_error","status_checked_at":"2026-03-09T14:33:48.027Z","response_time":61,"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":["go","golang","java-properties"],"created_at":"2026-03-09T15:37:02.150Z","updated_at":"2026-03-09T15:37:02.812Z","avatar_url":"https://github.com/rickar.png","language":"Go","readme":"# props: Go (golang) library for handling Java-style property files and app configuration\n\nThis library provides compatibility with Java property files for Go.\n\nIt also provides additional features such as property expansion, configuration \nby convention, and encryption for use as application configuration. The approach\nis similar to that of the Environment classes of Spring Boot.\n\n## Important Types\nThere are three main types provided:\n* `Properties` - read and write property files in Java format\n* `Expander` - replaces property references wrapped by '${}' \n(or other custom prefix/suffix) at runtime (as found in Ant/Log4J/JSP EL/Spring)\n* `Configuration` - provides easy configuration by convention, parsing of\nproperty values into Go types, and encryption support\n\nThe full Java property file format including all comment types, line \ncontinuations, key-value separators, unicode escapes, etc. is supported.\n\n## Configuration by Convention\nThe standard convention supported provides for profile and environment specific\nproperty files along with command line arguments and environment variables.\n\nProperties are resolved in the following priority order:\n1. Command line arguments\n1. Environment variables\n1. `\u003cprefix\u003e-\u003cprofile\u003e.properties` for the provided prefix and profiles values \n(in order)\n1. `\u003cprefix\u003e.properties` for the provided prefix value\n\nThe first matching property value found will be returned.\n\n## Custom Configuration\nThe types provided can be included or excluded in any order to create an \nalternative configuration.\n* `Arguments`\n* `Environment`\n* `Expander`\n* `Properties`\n\nCombine multiple property source lookups with the `Combined` type.\n\n## Command Line Utility\nA command line utility is provided in the `cmd` directory. This app is used to\nencrypt, decrypt, or re-encrypt property files or individual values.\n\n## Encryption\nEncryption is handled by putting a marker prefix (`[enc:x]`) on encrypted \nvalues. The prefix indicates which algorithm was used for encryption and allows \nfor different algorithms to co-exist or be upgraded at different times in the \nsame file.\n\nThe standard approach is to update your property file with plaintext values\nwith the `[enc:0]` prefix, for example:\n\n`db.password=[enc:0]$ecr3t!`\n\nThen run the `encryptFile` command from app in the `cmd` dir to convert the\nresult into an encrypted value:\n\n`db.password=[enc:1]\u003cbase64 data\u003e`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickar%2Fprops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickar%2Fprops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickar%2Fprops/lists"}