MDL-36580 backup: General support for encrypted contents in backups
commitd070c63237038620201c55045ace5ebb55949a4b
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 27 Jun 2016 00:32:09 +0000 (27 02:32 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 19 Oct 2017 08:17:07 +0000 (19 10:17 +0200)
tree36d8cded5fd2a7edbf1d7dc556db794d27f7eb64
parent6ba05a7368a3ede149dc38f6ef15a2717b9dcc90
MDL-36580 backup: General support for encrypted contents in backups

- Built using standard backup custom fields.
- Can be applied potentially everywhere.
- Automatically addded 'encrypted' attribute.
- Defaults to site generated key.
- Enforces key robutness / provides authentication (hmac integrity)
- Covered with unit tests.
backup/backup.class.php
backup/moodle2/backup_custom_fields.php
backup/moodle2/tests/backup_encrypted_content_test.php [new file with mode: 0644]