• Matthijs Mekking's avatar
    Test keymgr2kasp state from timing metadata · c40c1ebc
    Matthijs Mekking authored
    Add two test zones that migrate to dnssec-policy. Test if the key
    states are set accordingly given the timing metadata.
    
    The rumoured.kasp zone has its Publish/Active/SyncPublish times set
    not too long ago so the key states should be set to RUMOURED. The
    omnipresent.kasp zone has its Publish/Active/SyncPublish times set
    long enough to set the key states to OMNIPRESENT.
    
    Slightly change the init_migration_keys function to set the
    key lifetime to "none" (legacy keys don't have lifetime). Then in the
    test case set the expected key lifetime explicitly.
    c40c1ebc
setup.sh 5.03 KB