{"id":29675128,"url":"https://github.com/joknarf/targpg","last_synced_at":"2026-03-12T22:10:00.929Z","repository":{"id":341539092,"uuid":"1123899294","full_name":"joknarf/targpg","owner":"joknarf","description":"tar command extended with gpg encryption/decryption","archived":false,"fork":false,"pushed_at":"2026-03-02T08:11:33.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-02T12:24:22.335Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/joknarf.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-27T21:48:16.000Z","updated_at":"2026-03-02T08:11:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/joknarf/targpg","commit_stats":null,"previous_names":["joknarf/targpg"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/joknarf/targpg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joknarf%2Ftargpg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joknarf%2Ftargpg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joknarf%2Ftargpg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joknarf%2Ftargpg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joknarf","download_url":"https://codeload.github.com/joknarf/targpg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joknarf%2Ftargpg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30446431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T21:31:01.033Z","status":"ssl_error","status_checked_at":"2026-03-12T21:30:43.161Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["command-line-tool","encrpytion","gpg","linux","macos","password","tar"],"created_at":"2025-07-22T23:06:02.548Z","updated_at":"2026-03-12T22:10:00.921Z","avatar_url":"https://github.com/joknarf.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Joknarf Tools](https://img.shields.io/badge/Joknarf%20Tools-Visit-darkgreen?logo=github)](https://joknarf.github.io/joknarf-tools)\n[![Build and Release Packages](https://github.com/joknarf/targpg/actions/workflows/release.yml/badge.svg)](https://github.com/joknarf/targpg/actions/workflows/release.yml)\n[![bash](https://img.shields.io/badge/shell-bash%20-blue.svg)]()\n[![bash](https://img.shields.io/badge/OS-Linux%20|%20macOS%20|%20SunOS%20...-blue.svg)]()\n[![Licence](https://img.shields.io/badge/licence-MIT-blue.svg)](https://shields.io/)\n[![Packages](https://img.shields.io/badge/Packages-%20rpm%20|%20deb%20|%20pkg%20|%20apk%20|%20brew%20-darkgreen.svg)](https://github.com/joknarf/targpg/releases/latest)\n\n# targpg\ntar command extended with gpg encryption/decryption with password-file\n\n\u003e * Unlike `gpgtar` or other tools, just use `targpg` exactly like `tar` with all features and standard options of tar.  \n\u003e * `targpg` is just using `tar` `-I` options for `gpg` crypt/decrypt as a compression/decompression command.\n\u003e * The first option must be `-p \u003cpassword-file\u003e`\n\nuse `targpg.compat` if your tar command does not accept `-I \u003ccommand\u003e` but only `-I \u003cprog\u003e`\n\n## pre-requisites\n\n* bash\n* gnu tar\n* gpg\n\n## usage\n\n```\ntargpg [-p \u003cpassword-file\u003e] \u003ctar command options\u003e\n```\nif no `-p` option as first argument, will be prompted for password if using tty\n\n## examples\n\n```\n$ targpg -p ~/.mypass cvf secrets.tgp --exclude=.git secrets\n$ targpg -p \u003c(echo \"$pass\") cvf secrets.tgp --exclude=.git secrets \n$ targpg -p \u003c(echo \"$pass\") xvf secrets.tgp\n$ targpg xfv secrets.tgp\nPassword:\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoknarf%2Ftargpg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoknarf%2Ftargpg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoknarf%2Ftargpg/lists"}