Fixed private key list using the new secretKeys property of the keyring.