Do not assume that homemade mayonnaise or aioli made from raw eggs has the same shelf life as store-bought mayonnaise.