p2-sum is a CLI tool for printing the canonical hash of a P2 pod manifest.
The SHA visible in other tools and logs isn't a straight hash of the manifest's contents. Instead, the manifest is parsed and re-serialized into a standard form before being hashed with SHA256. This command does the same thing to its inputs, letting the user see the same thing that P2 does. Results are printed in a similar format to the standard utilities "md5sum" and "shasum".