{"id":19756042,"url":"https://github.com/antomfdez/securetarvault","last_synced_at":"2026-01-24T18:31:55.307Z","repository":{"id":257976281,"uuid":"873163907","full_name":"antomfdez/SecureTarVault","owner":"antomfdez","description":"SecureTarVault is a simple yet powerful command-line tool that enables encryption and decryption of multiple files.","archived":false,"fork":false,"pushed_at":"2024-10-15T20:00:35.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T15:01:58.261Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","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/antomfdez.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":"2024-10-15T17:50:59.000Z","updated_at":"2025-01-09T13:41:46.000Z","dependencies_parsed_at":"2024-10-18T02:17:06.092Z","dependency_job_id":null,"html_url":"https://github.com/antomfdez/SecureTarVault","commit_stats":null,"previous_names":["antomfdez/securetarvault"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/antomfdez/SecureTarVault","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antomfdez%2FSecureTarVault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antomfdez%2FSecureTarVault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antomfdez%2FSecureTarVault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antomfdez%2FSecureTarVault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antomfdez","download_url":"https://codeload.github.com/antomfdez/SecureTarVault/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antomfdez%2FSecureTarVault/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28734307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T17:51:25.893Z","status":"ssl_error","status_checked_at":"2026-01-24T17:50:48.377Z","response_time":89,"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":[],"created_at":"2024-11-12T03:14:34.551Z","updated_at":"2026-01-24T18:31:55.291Z","avatar_url":"https://github.com/antomfdez.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# SecureTarVault\n\n**SecureTarVault** is a simple yet powerful command-line tool that enables encryption and decryption of multiple files. It creates a `tar` archive from the specified file paths, then encrypts it using GPG. You can also decrypt `.gpg` files and restore the original files. It offers flexible options to specify the output file for encryption with the `-o` flag.\n\n## Features\n\n- **Encrypt Multiple Files**: Select multiple files to compress and encrypt into a single `.gpg` archive.\n- **Decrypt Encrypted Files**: Decrypt a `.gpg` file and restore its original contents.\n- **Flexible Output**: Specify the output filename for the encrypted `.gpg` file using the `-o` flag at any position in the command line.\n- **Automatic Cleanup**: Automatically removes temporary files after encryption or decryption to ensure a tidy process.\n\n## Usage\n\n### Encrypt Files\n\nTo encrypt one or more files using a public key:\n\n```bash\n./securetarvault c \u003cpublic_key_id\u003e -o \u003coutput_file\u003e \u003cfile_path1\u003e [file_path2] ...\n```\n\nYou can specify the -o \u003coutput_file\u003e at any position. For example:\n\n```bash\n./securetarvault c \u003cpublic_key_id\u003e file1.txt -o encrypted_output.gpg file2.txt\n./securetarvault c -o encrypted_output.gpg \u003cpublic_key\u003e file1.txt file2.txt\n```\n\nThis will create a tar archive containing the specified files and encrypt it using the provided public key. The encrypted output will be saved as the specified \u003coutput_file\u003e (e.g., encrypted_output.gpg).\nDecrypt Files\n\nTo decrypt an encrypted .gpg file and extract the contents:\n\n```bash\n./securetarvault d \u003cencrypted_file.gpg\u003e\n```\n\nThis will decrypt the provided .gpg file, extract the contents from the embedded .tar archive, and restore the original files.\nCleanup\n\n  -  After Encryption: The intermediate files.tar file is automatically deleted after encryption is complete.\n  -  After Decryption: The files.tar file is automatically removed after extraction of the original files.\n\n## Build\n\nTo compile the project, use gcc:\n\n```bash\ngcc -o securetarvault securetarvault.c\n```\n\n## Example\n\nEncrypt files using a public key:\n\n```bash\n./securetarvault c my_public_key_id -o encrypted_data.gpg file1.txt file2.txt\n```\n\n### Decrypt a file:\n\n```bash\n./securetarvault d encrypted_data.gpg\n```\n\n### Requirements\n\n    GPG: Ensure GPG is installed on your system.\n    tar: The tar utility is used to archive files before encryption.\n\n# License\n\nThis project is licensed under the [MIT License](https://opensource.org/licenses/MIT).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantomfdez%2Fsecuretarvault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantomfdez%2Fsecuretarvault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantomfdez%2Fsecuretarvault/lists"}