MDL-36580 backup: General support for decrypted contents in restore
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 17 Oct 2017 22:40:54 +0000 (00:40 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 19 Oct 2017 08:11:47 +0000 (10:11 +0200)
commit00e557a15d6e1fcd4dee4ef1353d4aca6aebdd12
tree78aa13d9941059a18d95e34516d3af953739eb43
parent4a7afd2bb93efa99e42cc6eb68e9aa4a56ba2b8c
MDL-36580 backup: General support for decrypted contents in restore

- Uses site generated (on backup) key.
- Can be applied potentially everywhere in the restore process.
- Covered with unit tests.
- Authentication / integrity aware so can be used between any 2 servers
  (just requires matching key).
backup/util/plan/restore_step.class.php
backup/util/plan/tests/step_test.php