# -*- coding: utf-8 -*- """ Legacy interoperability: deliberately removed. Until 4.2.6 the library could exchange key files and ciphertexts with the original single-file script. That interoperability was given up when the self-describing header was introduced: every artefact now begins with a magic value, two fixed markers and a configuration record, and a reader rejects anything without one. The break is intentional in both directions: * a key file written by this version cannot be read by the original script; * a ciphertext written by this version cannot be decrypted by the original script; * artefacts written before the header existed are rejected with ``E017 MissingMagicHeader``. Reading old material is still possible through the compatibility API, which synthesises a minimal header and then uses the ordinary path. That is covered by ``test_header.py``; there is nothing left to assert here. The original implementation is kept under ``legacy/`` for reference only. """ import pytest @pytest.mark.skip(reason="interoperability with pre-4.2.6 artefacts was " "intentionally dropped when the header was added; " "see the compatibility API instead") def test_legacy_interop_removed(): """Placeholder so the removal shows up in the test report.""" assert True