Skip to content

This project contains tools to recover files that have been encrypted with the Nextcloud End-to-End Encryption or Nextcloud Server-Side Encryption.

License

Notifications You must be signed in to change notification settings

nextcloud/encryption-recovery-tools

Repository files navigation

encryption-recovery-tools

End-to-End Encryption

The 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.

For further information have a look at the README of the script.

Server-Side Encryption

The 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). It 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.

For further information have a look at the README of the script.

Testing

The compatibility with Nextcloud releases is tested with PHPUnit. For every major release there is a separate set of files that has been generated by the corresponding Nextcloud release. To test the support of legacy encryption schemes, additional sets of files have been generated with older Owncloud releases. Due to their size the test data are located in the separate repositories nextcloud/end-to-end-encryption-testdata and nextcloud/server-side-encryption-testdata.

All test suites can be executed as follows:

./phpunit.sh

License

The encryption-recovery-tools are licensed under the GNU Affero General Public License 3.0. This does not include third party content contained in this repository. The third party content is licensed under the respective license as described in the corresponding license files. When you contribute content to this repository you acknowledge that you provide your contributions under the GNU Affero General Public License 3.0.

Origins

The encryption-recovery-tools were originally developed by SysEleven as the nextcloud-tools project but have since been moved to the Nextcloud Github space.

About

This project contains tools to recover files that have been encrypted with the Nextcloud End-to-End Encryption or Nextcloud Server-Side Encryption.

Resources

License

Security policy

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •