A number of crypto related fixes, as well as improvements to XMP archive for dealing with (very old) archives which are missing x:xmpmeta.