Skip to content
  • Matthijs Mekking's avatar
    Fix bug in keymgr_key_has_successor · 0d578097
    Matthijs Mekking authored
    The logic in `keymgr_key_has_successor(key, keyring)` is flawed, it
    returns true if there is any key in the keyring that has a successor,
    while what we really want here is to make sure that the given key
    has a successor in the given keyring.
    
    Rather than relying on `keymgr_key_exists_with_state`, walk the
    list of keys in the keyring and check if the key is a successor of
    the given predecessor key.
    0d578097
To find the state of this project's repository at the time of any of these versions, check out the tags.