The paste is best kept refrigerated, preferably spread into sort of flat cake, and wrapped in plastic film. Keep the powder at room temperature in an airtight jar.
Remarks
You will note that this recipe, unlike many others, does not contain almonds, just pistachios and sugar.