
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.
Name | Last commit | Last update |
---|---|---|
.. | ||
backup.go | ||
backupRestore.go | ||
backup_test.go | ||
jsonStorage.go | ||
jsonStorage_test.go | ||
keyStorage.go | ||
utils_test.go |