Commit graph

3 commits

Author SHA1 Message Date
David Vašek
f0db8f99d4 backup: check that the system CPU architecture and the backup data are compatible
Notes about the tests: many tests still relies on 64LE architecture.
This currently applies also to:
   zone/backup_lock
   dnssec/keytag_conflict
   dnssec/no_resign
   modules/geoip.
The 64BE-architecture backup is simulated by a modified 64LE backup in the test zone/backup_lock.
Test of restore of QUIC keys from incompatible architecture should be added to zone/backup_lock too.
2024-06-19 13:20:21 +02:00
David Vašek
87b5580177 backup: return KNOT_ENOTSUP when trying to restore from possible future backup format version
Returning KNOT_ENOTSUP makes more sense than returning KNOT_EMALF in such situations.
2021-07-12 19:39:11 +02:00
David Vašek
6427b806a1 tests/backup: test (im)possibility of backup/restore in situations 2021-07-12 19:39:11 +02:00