Security of quantum key distribution from generalised entropy accumulation | Synapse