{"id":21833194,"url":"https://github.com/rwstauner/secret-toss","last_synced_at":"2025-03-21T13:45:45.165Z","repository":{"id":137297584,"uuid":"420156098","full_name":"rwstauner/secret-toss","owner":"rwstauner","description":"A small clojure script for tossing secrets between commands","archived":false,"fork":false,"pushed_at":"2021-10-22T15:49:07.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T10:12:01.606Z","etag":null,"topics":["clojure","encryption"],"latest_commit_sha":null,"homepage":"","language":null,"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/rwstauner.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-22T15:47:24.000Z","updated_at":"2021-12-04T17:06:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"c6e4b47a-372f-465c-85ec-c3e07d28f4db","html_url":"https://github.com/rwstauner/secret-toss","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwstauner%2Fsecret-toss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwstauner%2Fsecret-toss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwstauner%2Fsecret-toss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwstauner%2Fsecret-toss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwstauner","download_url":"https://codeload.github.com/rwstauner/secret-toss/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244807513,"owners_count":20513649,"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":["clojure","encryption"],"created_at":"2024-11-27T19:29:13.117Z","updated_at":"2025-03-21T13:45:45.128Z","avatar_url":"https://github.com/rwstauner.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# secret-toss\n\nA small clojure script for tossing secrets between commands.\n\n## Usage\n\n### read / write\n\nStore a secret named \"foo\" encrypted:\n\n    secret-toss write foo\n\nIt will prompt you for the secret\nand print the key to stdout.\n\nTo decrypt the secret pass the name and the key\nprinted from the write command:\n\n    secret-toss read foo $key_from_write_command\n\n### wrap / unwrap\n\nFor single use secrets you can avoid tracking the encryption key\nby wrapping the command and then having the subsequent command\ncall unwrap:\n\n    secret-toss wrap bar sh -c 'secret-toss unwrap bar'\n\nThis calls `write` and `read` and stores the key in the environment\nthat is passed to the wrapped commands.\n\nMultiple secrets can be wrapped to allow for nesting commands:\n\n    secret-toss wrap foo secret-toss wrap bar sh -c 'secret-toss unwrap bar; secret-toss unwrap foo'\n\n# License\n\nCopyright © 2021 Randy Stauner\n\nDistributed under the Eclipse Public License version 1.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwstauner%2Fsecret-toss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwstauner%2Fsecret-toss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwstauner%2Fsecret-toss/lists"}