Skip to content
Snippets Groups Projects
  • Richard T. Carback III's avatar
    ee16f8f5
    Fix issue with test using DeepEqual in backup module. The data structure... · ee16f8f5
    Richard T. Carback III authored
    Fix issue with test using DeepEqual in backup module. The data structure should be a plain old object (no underlying structures) but it was too big of a fix to correct. Instead, we just encrypt with the same RNG/key/etc to make sure we get the same result after a round trip of encrypt->decrypt. There might be issues with serialization that this doesn't catch but we are at least checking that it's reproducible.
    ee16f8f5
    History
    Fix issue with test using DeepEqual in backup module. The data structure...
    Richard T. Carback III authored
    Fix issue with test using DeepEqual in backup module. The data structure should be a plain old object (no underlying structures) but it was too big of a fix to correct. Instead, we just encrypt with the same RNG/key/etc to make sure we get the same result after a round trip of encrypt->decrypt. There might be issues with serialization that this doesn't catch but we are at least checking that it's reproducible.