{"id":15634938,"url":"https://github.com/nodesocket/cryptr","last_synced_at":"2025-04-09T17:32:39.271Z","repository":{"id":142535620,"uuid":"105502556","full_name":"nodesocket/cryptr","owner":"nodesocket","description":"A simple shell utility for encrypting and decrypting files using OpenSSL.","archived":false,"fork":false,"pushed_at":"2024-08-01T13:37:29.000Z","size":32,"stargazers_count":138,"open_issues_count":2,"forks_count":37,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-23T19:39:11.335Z","etag":null,"topics":["aes-256","aes-256-cbc","aes-encryption","bash","bash-script","bash-scripting","cryptography","decryption","encryption","openssl","shell-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nodesocket.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-02T05:59:36.000Z","updated_at":"2025-03-21T08:46:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"254971e4-c72d-43be-b60e-68c3245e6b17","html_url":"https://github.com/nodesocket/cryptr","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesocket%2Fcryptr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesocket%2Fcryptr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesocket%2Fcryptr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesocket%2Fcryptr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodesocket","download_url":"https://codeload.github.com/nodesocket/cryptr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248077547,"owners_count":21043981,"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":["aes-256","aes-256-cbc","aes-encryption","bash","bash-script","bash-scripting","cryptography","decryption","encryption","openssl","shell-script"],"created_at":"2024-10-03T10:59:30.321Z","updated_at":"2025-04-09T17:32:39.089Z","avatar_url":"https://github.com/nodesocket.png","language":"Shell","readme":"# cryptr\n\n#### A simple shell utility for encrypting and decrypting files using OpenSSL.\n\n## Installation\n\n```\ngit clone https://github.com/nodesocket/cryptr.git\nln -s \"$PWD\"/cryptr/cryptr.bash /usr/local/bin/cryptr\n```\n\n### Bash tab completion\n\nAdd `tools/cryptr-bash-completion.bash` to your tab completion file directory.\n\n## API/Commands\n\n### encrypt\n\n\u003e encrypt \\\u003cfile\\\u003e - Encryptes file with OpenSSL AES-256 cipher block chaining. Writes an encrypted file out *(ciphertext)* appending `.aes` extension.\n\n```\n➜ cryptr encrypt ./secret-file\nenter aes-256-cbc encryption password:\nVerifying - enter aes-256-cbc encryption password:\n```\n\n```\n➜ ls -alh\n-rw-r--r--  1 user  group   1.0G Oct  1 13:33 secret-file\n-rw-r--r--  1 user  group   1.0G Oct  1 13:34 secret-file.aes\n```\n\nYou may optionally define the password to use when encrypting using the `CRYPTR_PASSWORD` environment variable. This enables non-interactive/batch operations.\n\n```\n➜ CRYPTR_PASSWORD=A1EO7S9SsQYcPChOr47n cryptr encrypt ./secret-file\n```\n\n### decrypt\n\n\u003e decrypt \\\u003cfile.aes\\\u003e - Decrypt encrypted file using OpenSSL AES-256 cipher block chaining. Writes a decrypted file out *(plaintext)* removing `.aes` extension.\n\n```\n➜ ls -alh\n-rw-r--r--  1 user  group   1.0G Oct  1 13:34 secret-file.aes\n```\n\n```\n➜ cryptr decrypt ./secret-file.aes\nenter aes-256-cbc decryption password:\n```\n\n```\n➜ ls -alh\n-rw-r--r--  1 user  group   1.0G Oct  1 13:35 secret-file\n-rw-r--r--  1 user  group   1.0G Oct  1 13:34 secret-file.aes\n```\n\nYou may optionally define the password to use when decrypting using the `CRYPTR_PASSWORD` environment variable. This enables non-interactive/batch operations.\n\n```\n➜ CRYPTR_PASSWORD=A1EO7S9SsQYcPChOr47n cryptr decrypt ./secret-file.aes\n```\n\n### help\n\n\u003e help - Displays help\n\n```\n➜ cryptr help\nUsage: cryptr command \u003ccommand-specific-options\u003e\n\n  encrypt \u003cfile\u003e       Encrypt file\n  decrypt \u003cfile.aes\u003e   Decrypt encrypted file\n  help                 Displays help\n  version              Displays the current version\n\n```\n\n### version\n\n\u003e version - Displays the current version\n\n```\n➜ cryptr version\ncryptr 2.3.0\n```\n\n### default\n\n\u003e default - Displays the current version and help\n\n```\n➜ cryptr\ncryptr 2.3.0\n\nUsage: cryptr command \u003ccommand-specific-options\u003e\n\n  encrypt \u003cfile\u003e       Encrypt file\n  decrypt \u003cfile.aes\u003e   Decrypt encrypted file\n  help                 Displays help\n  version              Displays the current version\n\n```\n\n## Changelog\n\nhttps://github.com/nodesocket/cryptr/blob/master/CHANGELOG.md\n\n## Support, Bugs, And Feature Requests\n\nCreate issues here in GitHub (https://github.com/nodesocket/cryptr/issues).\n\n## Versioning\n\nFor transparency and insight into the release cycle, and for striving to maintain backward compatibility, cryptr will be maintained under the semantic versioning guidelines.\n\nReleases will be numbered with the follow format:\n\n`\u003cmajor\u003e.\u003cminor\u003e.\u003cpatch\u003e`\n\nAnd constructed with the following guidelines:\n\n+ Breaking backward compatibility bumps the major (and resets the minor and patch)\n+ New additions without breaking backward compatibility bumps the minor (and resets the patch)\n+ Bug fixes and misc changes bumps the patch\n\nFor more information on semantic versioning, visit http://semver.org/.\n\n## License \u0026 Legal\n\nCopyright 2024 Justin Keller\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodesocket%2Fcryptr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodesocket%2Fcryptr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodesocket%2Fcryptr/lists"}