{"id":19494729,"url":"https://github.com/ceejbot/octosecret","last_synced_at":"2025-10-19T22:15:58.730Z","repository":{"id":66234626,"uuid":"258294939","full_name":"ceejbot/octosecret","owner":"ceejbot","description":"given a public key, seal a secret value in a box","archived":false,"fork":false,"pushed_at":"2021-06-25T21:03:09.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"latest","last_synced_at":"2025-10-10T21:27:36.583Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/ceejbot.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":"2020-04-23T18:25:13.000Z","updated_at":"2021-06-25T21:03:11.000Z","dependencies_parsed_at":"2023-02-22T06:30:41.625Z","dependency_job_id":null,"html_url":"https://github.com/ceejbot/octosecret","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ceejbot/octosecret","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceejbot%2Foctosecret","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceejbot%2Foctosecret/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceejbot%2Foctosecret/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceejbot%2Foctosecret/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ceejbot","download_url":"https://codeload.github.com/ceejbot/octosecret/tar.gz/refs/heads/latest","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceejbot%2Foctosecret/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005464,"owners_count":26083902,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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":[],"created_at":"2024-11-10T21:32:40.165Z","updated_at":"2025-10-10T22:42:50.650Z","avatar_url":"https://github.com/ceejbot.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# octosecret\n\nEncrypt secrets using libsodium sealed boxes, via [sodiumoxide](https://docs.rs/sodiumoxide/0.2.5/sodiumoxide/). My use case is to set [Github secrets](https://developer.github.com/v3/actions/secrets/#create-or-update-a-secret-for-a-repository) in some automated workflows; you might find it similarly handy.\n\nTakes one argument: a base64-encoded public key. Reads the secret value from stdin. It sends to stdout the base64-encoded result of encrypting the input with the public key.\n\n```shell\nprintf \"it's a secret to everyone\" | octosecret \u003cb64-encoded-public-key\u003e\n```\n\nIf you have administrative access to a github repo plus an api token handy, you can fetch its public key like this:\n\n```shell\nhttp GET https://api.github.com/repos/ceejbot/octosecret/actions/secrets/public-key Authorization:\"token deadbeef\" | jq .key\n```\n\n## Installing\n\nDownloadable binaries for darwin \u0026 amd64 are provided on the releases page.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceejbot%2Foctosecret","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceejbot%2Foctosecret","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceejbot%2Foctosecret/lists"}