Skip to content
  • Matthijs Mekking's avatar
    Fix bug in keymgr_key_has_successor · 168d362b
    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.
    
    (cherry picked from commit 0d578097)
    168d362b
To find the state of this project's repository at the time of any of these versions, check out the tags.