Podcast integrity tag: verifying alternate media
Open a source-aware analysis with this article as the primary source.
Add us to your Preferred Sources.

The podcast integrity tag is optional RSS metadata that gives a client verification data for media inside a <podcast:alternateEnclosure>. Written as <podcast:integrity>, it carries either an SRI-compliant integrity string or a base64-encoded PGP signature so a supporting client can check whether the file has been tampered with.
How the podcast integrity tag works
The official Podcast Namespace integrity specification defines <podcast:alternateEnclosure> as the tag's parent. One integrity element is allowed inside that parent.
Both attributes are required:
| Attribute | Accepted content |
|---|---|
| `type` | `sri` or `pgp-signature` |
| `value` | The matching SRI string or base64-encoded PGP signature |
The specification marks SRI as the preferred method. The value must match the method named by type. An SRI value paired with type="pgp-signature" gives the client conflicting instructions.
Here is the SRI example from the specification:
<podcast:alternateEnclosure
type="video/mp4"
length="7924786"
bitrate="511276.52"
height="720">
<podcast:source uri="https://example.com/file-720.mp4" />
<podcast:source uri="ipfs://QmX33FYehk6ckGQ6g1D9D3FqZPix5JpKstKQKbaS8quUFb" />
<podcast:integrity
type="sri"
value="sha384-ExVqijgYHm15PqQqdXfW95x+Rs6C+d6E/ICxyQOeFevnxNLR/wtJNrNYTjIysUBo"
/>
</podcast:alternateEnclosure>The alternate enclosure describes the media and lists two sources. The integrity element does not belong beside the enclosure as a separate item-level tag.
The podcast episode tag also appears in episode metadata, but it supplies a structured episode number.
SRI and PGP signature values
For type="sri", the value contains an SRI-compliant integrity string. In the documented example, that string starts with the algorithm identifier sha384- followed by encoded data. Generate the value from the exact media file you publish and preserve the full string in the attribute.
For type="pgp-signature", the value contains a base64-encoded PGP signature. The specification names the accepted representation but does not define key distribution, trust decisions, or user-interface behavior. Those parts depend on the systems creating and checking the signature.
Treat the integrity value as coupled to the media bytes. Replacing, re-encoding, or otherwise changing the file requires a fresh value for the new file. Keeping an old value after a media change can cause a supporting verifier to reject the current asset because the published verification data describes different bytes.
The tag provides verification data for an alternate enclosure. It does not encrypt the media, hide its source URLs, or control who can retrieve it. Distribution instructions belong elsewhere in the feed. For example, the podcast block tag tells ingesting platforms whether they may use a feed for public display.
How to publish and check an integrity value
Build the alternate enclosure first and confirm that every <podcast:source> points to the intended media. Generate the SRI value or PGP signature from the final file, then add one <podcast:integrity> child with the matching type.
After publishing, inspect the raw RSS and confirm these points:
- The integrity element is inside the intended alternate enclosure.
- There is no more than one integrity element in that enclosure.
- Both
typeandvalueare present. - The type is exactly
sriorpgp-signature. - The value has survived XML generation without truncation or altered characters.
- A verifier using the published method accepts the retrieved file.
When verification fails, isolate whether the problem comes from the feed, the retrieved media, or the verification step. Copy the published value directly from the raw RSS rather than from a dashboard preview, then run the check against the downloaded file. If one source URI passes and another fails, compare the files served by those locations before changing the integrity element. If every source fails after a media update, generate verification data from the current final file and publish the replacement value. Recheck the raw feed after the update so an XML serializer or cache has not left the old value in place.
Repeat the verification against each source URI when an alternate enclosure offers several locations for the same media. The integrity value belongs to the enclosure, so every source presented as that enclosure should resolve to bytes that pass the same check. Save the verification command with your publishing notes so the next media update can repeat the same procedure.
A valid feed entry proves that the metadata was published in the expected shape. It does not prove that every podcast app retrieves alternate enclosures or verifies their integrity values. Test the clients relevant to your distribution and keep the ordinary episode experience usable where support is absent.
If an alternate enclosure also needs a labeled web destination, the podcast content link tag covers external content links rather than media verification.
For episode delivery context after your feed checks are complete, start with Podder Analytics.
FAQ
What is the podcast integrity tag?
The podcast:integrity tag is optional metadata inside a podcast:alternateEnclosure that gives a client an SRI string or base64-encoded PGP signature for media verification.
Which attributes does podcast:integrity require?
It requires type and value. Type must be sri or pgp-signature, and value contains the matching SRI string or base64-encoded PGP signature.
Can podcast:integrity appear directly under an RSS item?
No. The specification defines podcast:alternateEnclosure as its parent and allows a single integrity element within that parent.
See who's actually listening.
Podder gives you audience demographics, per-episode analytics, and chart tracking. The Chartable alternative that goes deeper.
Start free