Sortase D forms the covalent bond that links BcpB to the tip of Bacillus cereus pili.