{"id":15051314,"url":"https://github.com/nextcloud/encryption-recovery-tools","last_synced_at":"2025-10-19T23:31:41.349Z","repository":{"id":152742121,"uuid":"626913870","full_name":"nextcloud/encryption-recovery-tools","owner":"nextcloud","description":"This project contains tools to recover files that have been encrypted with the Nextcloud End-to-End Encryption or Nextcloud Server-Side Encryption. ","archived":false,"fork":false,"pushed_at":"2025-08-22T12:38:39.000Z","size":753,"stargazers_count":74,"open_issues_count":4,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-11T11:29:47.116Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nextcloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-04-12T12:12:52.000Z","updated_at":"2025-09-21T18:14:25.000Z","dependencies_parsed_at":"2024-01-20T14:29:44.366Z","dependency_job_id":"d61dca9b-c4fc-4a95-b71f-61264ded6da3","html_url":"https://github.com/nextcloud/encryption-recovery-tools","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/nextcloud/encryption-recovery-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2Fencryption-recovery-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2Fencryption-recovery-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2Fencryption-recovery-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2Fencryption-recovery-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextcloud","download_url":"https://codeload.github.com/nextcloud/encryption-recovery-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2Fencryption-recovery-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279941855,"owners_count":26248369,"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-19T02:00:07.647Z","response_time":64,"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-09-24T21:33:17.467Z","updated_at":"2025-10-19T23:31:41.343Z","avatar_url":"https://github.com/nextcloud.png","language":"PHP","readme":"# Nextcloud Encryption Recovery Tools\n\n## End-to-End Encryption\n\nThe script located at `./end-to-end-encryption/recover.php` can recover your precious files if you encrypted them with the **Nextcloud End-to-End Encryption** and still have access to the data directory and the user mnemonics.\n\nFor further information have a look at the [**README**](./end-to-end-encryption/README.md) of the script.\n\n## Server-Side Encryption\n\nThe script located at `./server-side-encryption/recover.php` can recover your precious files if you encrypted them with the **Nextcloud Server-Side Encryption** and still have access to the data directory and the Nextcloud configuration file (`config/config.php`).\nIt supports the master-key encryption, the user-key encryption and can even use the rescue key if it had been enabled as well as the public sharing key for files that had been publicly shared.\n\nFor further information have a look at the [**README**](./server-side-encryption/README.md) of the script.\n\n## Security Warning\n\nThe main goal of the Nextcloud Encryption Recovery Tools is to recover the contents of encrypted files in case there is a catastrophic failure.\nFor that reason, the recovery scripts **do not** cryptographically verify the integrity of the files while processing them in order to be able to recover the contents of as many encrypted files as possible.\n\n## Testing\n\nThe compatibility with Nextcloud releases is tested with [PHPUnit](https://phpunit.de).\nFor every major release there is a separate set of files that has been generated by the corresponding Nextcloud release.\nTo test the support of legacy encryption schemes, additional sets of files have been generated with older Owncloud releases.\nDue to their size the test data are located in the separate repositories [nextcloud/end-to-end-encryption-testdata](https://github.com/nextcloud/end-to-end-encryption-testdata) and [nextcloud/server-side-encryption-testdata](https://github.com/nextcloud/server-side-encryption-testdata).\n\nAll test suites can be executed as follows:\n\n```\n./phpunit.sh\n```\n\n## License\n\nThe encryption-recovery-tools are licensed under the GNU Affero General Public License 3.0.\nThis does not include third party content contained in this repository.\nThe third party content is licensed under the respective license as described in the corresponding license files.\nWhen you contribute content to this repository you acknowledge that you provide your contributions under the GNU Affero General Public License 3.0.\n\n## Origins\n\nThe **encryption-recovery-tools** were originally developed by [SysEleven](https://www.syseleven.de/) as the [nextcloud-tools](https://github.com/syseleven/nextcloud-tools) project but have since been moved to the [Nextcloud](https://nextcloud.com) Github space.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextcloud%2Fencryption-recovery-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextcloud%2Fencryption-recovery-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextcloud%2Fencryption-recovery-tools/lists"}