PS.2 Verify software release integrity

PS.2 asks you to give software acquirers a way to check that a release is authentic and unaltered. This page explains what that takes, what evidence assessors accept, what it costs and which parts are worth outsourcing.

On this page

What PS.2 software release integrity asks of each release

A customer, contract or agency that receives your software usually wants proof that the file they installed is the file you built. PS.2 in the NIST Secure Software Development Framework asks you to provide a mechanism for verifying software release integrity, so acquirers can check that a release is authentic and unaltered. In SP 800-218, SSDF version 1.1 (published February 2022), that practice has one task, PS.2.1, which asks you to make software integrity verification information available to software acquirers. The practice does not dictate a tool. It asks you to decide, based on risk, cost and feasibility, how acquirers will get a reliable way to check each release.

The two common mechanisms are published cryptographic hashes and code signatures. A hash is a fingerprint of the file, so any change to the download, whether tampering in transit or corruption at rest on a mirror, produces a different value. A code signature goes further by binding the release to a signing key, so an acquirer can confirm who produced it. Hashes alone only prove the file matches what was published, so the hash must come from a channel the attacker cannot also change. Signatures shift the question to whether the acquirer trusts the key and how that key is identified.

PS.2 is usually harder than it looks because of three problems. The first is key custody: the signing key must be generated, stored and used under controls strong enough that a stolen key cannot quietly sign malicious builds. The second is publishing: the hashes or signatures must live somewhere the release does not, and the mirrors, package indexes and download pages must be consistent with each other. The third is getting verification material to acquirers, including the public key or certificate, a documented verification procedure and a way to learn about key rotation. Confirm with your own engineering and legal teams who owns each of these before you promise a customer a verification method.

Which releases, keys and teams fall under PS.2

PS.2 applies to whatever your organization ships, so the first job is deciding which releases, artifacts, keys, build systems and third parties sit in the release path. Each decision changes what verification material you must publish, who must be trained on it and which evidence an assessor will ask to see. NIST describes the SSDF as outcome-based, so these choices are yours to document with their risk rationale.

Products and release channels

Start by listing every product and channel that reaches an acquirer: installers, container images, libraries, firmware images and patch releases. Each channel can have its own signing path, distribution point and key, so a gap in one channel can leave the others looking verified. For PS.2.1, confirm that every channel publishes verification information, and record which channels you consider out of scope and why. Ask whether nightly builds or pre-release channels reach customers.

SP 800-218 text

Artifacts that receive verification material

Decide which artifacts get verification material: archives, checksums, code signatures, container image signatures and, if you publish them, SBOM attestations. A checksum published on the same server as the download proves little if an attacker can change both, so consider where the hashes are published and how they are kept separate. Document the artifact types and the verification method for each so an acquirer can check a download without contacting your team.

Owners of signing keys

Name who can create, use, rotate and revoke each signing key, and where the key material lives. Keys held by a single engineer or stored next to build scripts are hard to defend in an assessment. Options include hardware-backed keys, a managed key service or a secrets engine that signs without exposing the private key. Confirm that key custody, rotation and revocation procedures exist for each product line, and that the public verification keys are published through a channel acquirers trust.

Owners of build infrastructure

Identify who administers the build servers, runners and signing hosts that produce each release. The people who can change a build pipeline can often change what gets signed, so access to these systems is part of the PS.2 story even though PS.1 covers source access. Record administrators, approval steps for pipeline changes and the logs that show who ran a signing job. Ask whether separate teams hold build and signing duties.

Build vendors and CI services

Any hosted CI service, managed runner or build vendor that touches the release path must be known and assessed. If a vendor can inject code or read signing material, its controls become part of your release integrity. Document which vendor handles each build step, what access it holds and whether signing happens inside or outside its environment. Ask vendors for their own evidence of access control and logging, and confirm contract terms cover incident notification.

Mirrors and package registries

Mirrors, CDNs and package registries sit between your build output and the acquirer, and each one can serve a copy that differs from what you signed. Decide which registries are authoritative, whether mirrors only cache signed artifacts and how acquirers verify a copy they downloaded from a mirror. Confirm that the verification material travels with every copy and that mirror operators cannot replace artifacts without detection.

How a release travels from build to a verifying acquirer

The flow starts in the build environment, where the build system produces the artifact and a hash is computed from it. A signature is then made with a key held in a signing key store, so the signing key never sits with the build job itself. The artifact and its verification material (hash, signature and public key or fingerprint) are published to a distribution channel. The acquirer environment checks the download against a key or fingerprint obtained through a separate trusted path, not from the same channel as the release. Check that each boundary has its own access controls and that the acquirer's trust anchor is not delivered alongside the artifact.

Trust boundaries from the build system through to the acquirer's verification step.

How an assessor tests PS.2 release integrity

This table lists the test steps an assessor is likely to run against PS.2.1, with the evidence each step asks for and the findings that come up most often. Read it as a preparation checklist: each row shows what the organization should be able to produce before an assessment begins. Assessors choose their own samples and depth, so the strongest takeaway is that verification must work end to end for every release, not only for the most recent one.

Test stepWhat the assessor doesEvidence requestedCommon findings
Trace recent releases to build recordsSelects a sample of recent public releases and follows each one back to the build record, source revision and build pipeline run that produced itRelease list from the public channel, matching build logs, source commit references and pipeline run identifiersPublic release cannot be matched to a build record, or build logs are kept for shorter periods than releases
Recompute hashes independentlyDownloads sampled artifacts and checksum files, computes hashes with their own tools and compares them to the published valuesPublished checksum files, hash algorithm stated in documentation, test notes showing the comparisonChecksum file missing for some artifacts, hash algorithm not stated, or checksums generated after publication
Verify signatures with the published keyChecks each sampled signature against the public key or fingerprint the organization publishes, through a path independent of the downloadPublic key or fingerprint, signature files, documented verification command, record of the assessor's own verificationSigning key fingerprint differs between documentation and artifacts, or signatures are missing from some release types
Review key generation, storage and accessExamines how the signing key was created, where it is held, who or what can use it and whether that access is loggedKey generation record, storage design, access control lists, signing service configuration, access logsSigning key stored on a general build runner, shared credentials, or no log of who triggered signing
Review key rotation and revocationChecks the rotation schedule, the procedure for replacing a key and how users learn that a key was retired or compromisedRotation policy, past rotation records, revocation notices, version history of published keysNo rotation has ever occurred, or old keys are removed without notice so older releases cannot be verified
Check verification instructions are currentReads the published verification guidance and tests whether the steps still work with the current release and toolingVerification guide with version date, change history, test run against current artifactsGuide describes an older file name, command or key, or it sits in a document no acquirer can find from the release page
Test whether releases can ship without verification materialAttempts to identify a path where a release is published without its hash, signature or provenance reference, including manual uploads and emergency patchesPipeline and publishing configuration, branch protection and release gate settings, sample of manual publication recordsManual upload route bypasses signing, or the release gate only checks that a build passed, not that verification material exists
Confirm acquirer access to integrity informationChecks that acquirers can obtain integrity information with each release, including for container images, packages and offline mediaRelease pages, package registry entries, distribution channel documentation, offline delivery procedureContainer images or offline packages ship without their checksum or signature, or only some distribution channels carry them

How to implement PS.2 in a release pipeline

This sequence turns PS.2 from a policy statement into a repeatable release process, so every published artifact carries integrity information that an acquirer can check independently. Each step produces a record or control that an assessor or acquirer can inspect.

  1. Inventory release channels and artifact types

    List every place a release reaches an acquirer, such as download pages, package registries, container image repositories, mirrors and offline media, along with each artifact type published through them, such as installers, archives, container images, packages and firmware. Assign an owner to each channel. The output is a release inventory that the team signs off, and it becomes the scope for every later step. If a channel is missing from the inventory, it will ship without verification information, so ask the release engineering lead to confirm the list against the actual publishing accounts and credentials.

  2. Choose and document a verification method per artifact

    For each artifact type, decide whether the release gets a published checksum, a detached code signature, or both. Checksums show that a file matches what the publisher produced, while signatures also tie the file to the holder of a private key, so many teams use both for downloadable installers and use signatures alone where a registry or tool already enforces them. Record the choice, the algorithm, and the file naming convention in a short verification standard owned by the product security lead. The output is an approved standard that names each artifact and its method.

  3. Establish signing key custody with separated roles

    Create dedicated signing keys, store them in a hardware security module or a managed key service, and restrict use to a named signing process rather than to individual developers. Keep the people who can trigger a build separate from the people who can approve and use the signing key, and log every signing operation. Document key generation, rotation, and revocation steps, and define who can authorize each. The output is a key custody record that shows the signing key location, its access list, its approvers and the audit log source. Confirm the exact role split and approval workflow with your own security team, since the SSDF leaves these decisions to the organization.

  4. Automate hash and signature generation in the pipeline

    Add a pipeline stage that runs after artifacts are built and tested, generates checksums and signatures for every artifact in the inventory, and fails the job if any artifact lacks them. Publish the hashes and signatures alongside the artifact, and store the job logs as release evidence. Enforce the gate so that a manual upload cannot bypass it, for example by restricting publishing credentials to the pipeline. The output is a pipeline run where every release artifact has a matching hash file and signature, and a failed run shows the gate working. Ask your engineering team to demonstrate a deliberately failed run before relying on the gate.

  5. Publish verification instructions and key fingerprints separately

    Write a short guide that tells acquirers how to compute a hash, how to verify a signature with the public key, and what to do if verification fails. Publish the public key or its fingerprint through a channel separate from the download itself, such as the vendor security page, a signed announcement, or a second hosting location, so that an attacker who replaces the download cannot also replace the key. Version the guide with each key change. The output is a published guide and a fingerprint that a reader can compare against an independent source. Confirm that the channel you choose is controlled by a different access path than the download host.

  6. Run a test verification by an outside person

    Ask someone who did not build the release, such as a QA engineer from another team, a contractor or a customer-side reviewer, to download a release from the public channels and verify it using only the published guide. Record each step, the commands used, any point where they got stuck, and the final result. Fix the guide or the pipeline where the test exposed a gap, then repeat the test on the next release. The output is a dated test record with the tester's role, the artifacts checked and the outcome, which serves as evidence that the verification process works for an acquirer.

Evidence that proves each release can be verified

PS.2 is tested by showing that a released artifact can be checked by the acquirer against information the organization publishes. The cards below cover the records that connect a release to its hash, its signature and the key that produced it, and the routine checks that keep those records current between assessments. Confirm the retention periods and review cadence you adopt with your assessor, since the SSDF does not set them.

Pipeline logs for each release

Build pipeline logs should show the hash and signature generated for every published artifact, with the commit, build identifier and time stamped. These logs show that signing happens as part of the release process rather than by hand. Check that each release in the public list has a matching log entry, and retain logs per release so an assessor can trace any version back to its build. Ask your assessor how long logs must be kept.

Signing key policy and custody records

The signing key policy states who may use the release signing key, where it is held, how it is rotated and what happens if it is compromised. Custody records show who has accessed the key or the signing service, with dates. Review key access quarterly and compare the access list against the approved signers. Confirm with your auditor which custody evidence they expect for keys held in a secrets manager or hardware module.

Published verification instructions

Verification instructions tell acquirers exactly how to check a download, including the hash algorithm, the command to run, and the expected output. Keep a version history so that instructions match the signing method used for each release, especially after a key rotation or a change in tooling. Test the instructions on a clean machine before each major release, and record the date of each revision.

Public key or fingerprint and its location

Acquirers need a trusted copy of the public key or its fingerprint to verify signatures. Record where the key is published, such as the project website, a release page or a keyserver, and make sure the same location is used for every release. Show when the key was created and, if rotated, keep retired keys listed with their validity dates so older releases stay verifiable.

Release records linking artifact, hash and signature

A release record ties one artifact to its SHA-256 or other hash value and its signature file, with the build reference and approver named. Sample several records across different releases and check that each link resolves to the correct file. Gaps usually appear when a hotfix or a rebuilt package skips the record step, so review the list for missing entries before each audit.

Test verification record

A test verification record shows that someone independent of the release team downloaded a published artifact and verified its signature and hash successfully. Run this test on a schedule and after any change to signing tools or keys, and file the output with the date, tester and version tested. A failed test is also evidence, so keep it with the corrective action taken.

What it costs to make releases verifiable

This table compares the cost components of giving acquirers a way to verify release integrity under PS.2, showing who is paid, whether each cost is one-time or recurring, and what moves it. Figures depend on your own scope and written quotes, so use the table to structure the request rather than to budget. The main takeaway is that open-source signing tools reduce license spend, but key custody, pipeline work and publishing upkeep remain the larger and recurring effort.

Cost componentOne-time or recurringWho is paid, and what drives it up or down
Signing tooling and key managementMostly recurring (hosting, upkeep, rotation)Open-source signing and secrets tools can be self-hosted within your infrastructure, which can remove license spend. Costs rise with the number of signing keys, release channels and any commercial support or hosting you add. Ask each quote to separate licensed products from installation and upkeep.
Engineering time to wire signing into pipelinesOne-time build, then recurring maintenanceInternal engineers or an implementation partner integrate hash generation and signing into build jobs. Cost rises with the number of build systems, artifact types and languages. Reduce it by standardizing one build pipeline template before adding projects.
Key ceremony and custody setupOne-time, with recurring rotationSecurity engineers, the key custodians and sometimes an independent witness perform key generation, split custody and documented procedures. Cost rises with the number of signing roles and the need for hardware-backed storage. Keep it down by limiting signing keys to a small set of release roles.
Publishing and documentation upkeep per release channelRecurring with every releaseRelease managers and technical writers publish hashes, signatures, verification instructions and public keys for each channel, such as package registries, download pages and mirrors. Cost rises with each channel and each product version still supported. Keep it down with automated publishing and one verification guide shared across channels.
External review or test verificationRecurring per assessment or release cycleIndependent testers or your own security team check that published signatures verify and that keys are not exposed. Cost rises with scope and the number of release artifacts reviewed. Ask providers to state whether testing covers verification steps as well as key handling.
Auditor or assessor sampling timeRecurring per assessment cycleIndependent auditors or assessors, who issue any report, sample releases and ask for signing records and key custody evidence. Cost rises with the number of releases sampled and gaps in logs. Keep it down by retaining signed release records and verification logs in a consistent, searchable form.

Which self-hosted open-source tools support release integrity evidence

PS.2 asks an organization to give acquirers a way to verify that a release is authentic and unaltered, but it does not prescribe a tool. The four components below each cover a different part of that job, from signing keys and internal certificate identities to transport security and artifact storage, and none of them replaces a documented release process on its own.

OpenBao for signing keys

OpenBao (MPL-2.0) is a self-hosted secrets service. Its transit secrets engine can sign and verify data and supports versioned encryption keys with key rotation, so signing keys can stay inside your infrastructure with an audit trail of use. The caveat is fit: confirm that the signature format your release pipeline and acquirers need is supported, and write down a key policy covering who may sign, rotation intervals and key retirement before you rely on it for PS.2 evidence.

OpenBao transit docs

FreeIPA for signing identities

FreeIPA (GPL-3.0-or-later) includes an integrated certificate authority based on Dogtag that issues and manages certificates. That makes it a candidate for internal signing identities, so an acquirer can trace a release signature back to a named, managed certificate rather than a loose key file. The caveat is profile fit: confirm that the CA can issue certificates with the code-signing extensions your signing tool expects, and define who approves issuance and how revoked certificates are published.

FreeIPA project site

cert-manager for transport only

cert-manager (Apache-2.0) creates TLS certificates for workloads in Kubernetes or OpenShift from issuers such as ACME, a CA key pair, HashiCorp Vault, CyberArk or self-signed, stores them in Kubernetes Secrets and renews them before expiry. It protects the channel over which artifacts are downloaded, which is useful, but it is not a code signing tool. A TLS certificate does not prove who built a release or that its contents are unchanged, so keep it out of your PS.2 claim unless a separate signing step exists.

cert-manager issuer docs

Nextcloud for artifact storage

Nextcloud (AGPL-3.0-only) offers server-side encryption that protects file contents at rest on local and external storage, with keys kept on the server. It does not encrypt file names or folder structure, so release names and directory layouts remain visible to anyone with storage access. Use it for distributing release artifacts only if that exposure is acceptable, store checksums and signatures alongside the files, and confirm where the server-side keys are held relative to the storage they protect.

Nextcloud encryption docs

Who owns release integrity work, who helps and where the auditor stops

Your organization owns PS.2 in full. NIST SP 800-218 describes the SSDF as outcome-based, so deciding how task PS.2.1 is met, meaning how integrity verification information reaches software acquirers, is a risk decision that leadership should sign off. That decision covers the method, the audience and the cost trade-off.

  • Signing policy: Define which releases are signed, which artifacts receive hashes or signatures, and what an acquirer must do to verify them.
  • Key ownership: Hold the release signing keys, approve who may use them and decide where custody sits, whether in a managed secrets engine or hardware-backed storage. Confirm the choice with your security team before work starts.
  • Release decisions: Choose which builds are published and approve exceptions, such as emergency patches that skip normal review.
  • Publication: Own the channels where hashes, signatures and verification instructions appear, and keep them current with each release.
  • Operating the controls: Run signing after handover and keep the logs that show each signature was made under approved procedures.

Check that a named owner in your organization can explain the signing policy and key custody model without consulting the vendor.

Where release integrity programs usually fall short

Most PS.2 gaps are not missing tools. They are weak links between the signing key, the artifact, the published verification material and the record of what was released. Each card below names one gap and the step that closes it, so an acquirer can actually verify what they download.

Signing keys on a laptop or shared CI secret

When the release signing key sits on a developer workstation or in a shared CI variable readable by every pipeline, anyone with that access can sign a build that looks authentic. The key is the root of trust for PS.2, so its location matters as much as the signature itself. Close it by moving signing into a controlled release job, holding the key in a managed key store with access limited to that job, and logging every signing operation. OpenBao's transit secrets engine is one option for keeping the key server-side and signing data without exposing the key material, but confirm it fits your pipeline.

OpenBao transit docs

Verification material on the download channel

If the checksum file and the signature sit on the same server and path as the artifact, an attacker who replaces the download can replace the checksum too. Acquirers then verify against a value the attacker controlled. Close it by publishing the public key or checksum through a separate, pre-announced channel, such as a signed release page, a second hosting location or a project site the acquirer already trusts, and by documenting which channel is authoritative.

Hashes generated after upload

A hash computed from the file already sitting in a public bucket only proves the file matches itself at that moment. If the artifact was modified between build and upload, the published hash reflects the modified file. Close it by generating hashes and signatures inside the build job, immediately after the artifact is produced and before any upload step, and by having the release job compare the uploaded object's hash with the value recorded at build time.

No record linking release to hash

A checksum file with no record of which build, source revision and approver produced it cannot support a dispute or an investigation. Acquirers and assessors ask for the trail from a shipped version back to its build. Close it by writing a release record for every version that captures the artifact name, hash, signature identity, source commit, build identifier and approver, and by keeping that record with the archived release so PS.3 provenance data lines up with it.

Verification steps nobody has tested

Instructions that say to run a command and compare output are only useful if they work for a stranger on a clean machine. Expired keys, wrong key IDs, renamed files and missing tools break them quietly. Close it by having someone outside the release team follow the published steps on a fresh system for each release line, record the result, and fix any step that fails before the instructions are linked from the download page.

No documented key rotation or revocation

When a signing key is compromised or reaches end of life, acquirers need to know which signatures to trust and which to reject. Without a written procedure, teams improvise, and old releases may stay verifiable against a key that should be retired. Close it by documenting who can authorize rotation, how the new key is announced through the same trusted channel, how a revoked key is marked, and how previously signed releases are handled. Confirm the procedure with your security team before you need it.

What buyers ask about PS.2 before hiring help

How much effort does PS.2 take for a small team?

The effort depends mainly on how many release channels you publish through, how many artifact types each channel produces, and how mature your build pipeline already is. A team that ships one product as a single container image and a signed archive has a small job. A team that ships packages to several registries, desktop installers and offline bundles has many more release points to cover, and each one needs its own verification information. Pipeline maturity matters as much as volume: if builds are reproducible and signing is already automated, the remaining work is mostly documentation and checks. If releases are assembled by hand, expect the first pass to include pipeline work. Ask any provider to break the estimate down by channel and artifact type in a written scope.

Can our own team implement PS.2 without outside help?

Yes, if your team already has two skills: release pipeline engineering and key custody. Pipeline skills let you publish checksums and signatures automatically on every release rather than by hand. Key custody skills let you generate, store, rotate and revoke the signing keys without exposing them to build jobs that do not need them. Check three things before deciding: whether someone owns each release channel, whether signing keys sit in a managed store with access logs, and whether a customer can find and verify the published information without asking your staff. If any of these is missing, an implementation partner can prepare the systems, but your organization still owns the keys, the policy and the release decisions.

How long does a PS.2 implementation take?

The timeline depends on the number of release channels, the state of your pipeline and how often you release. A single product with automated builds may need a short engagement, while several products with manual steps and multiple distribution points will take longer. Release cadence also shapes the schedule, because changes to signing and publishing need to be tested on real releases, and frequent releases give more chances to test them. Ask for a written timeline that lists each channel, the milestones, the dependencies on your staff, and the point at which a sample release is verified end to end. Avoid providers who quote a duration without first reviewing your release process.

What does the work need from our team?

The engagement needs three kinds of input from your side. First, access to the build and release pipelines, the artifact repositories and the places where releases are published, with enough permissions to change how they sign and publish. Second, named release owners who can confirm which artifacts ship, where they go and who consumes them. Third, decisions that only your organization can make, including which key management approach to use, who may sign a release, how keys are rotated and revoked, and which verification information customers should receive. Plan for these people to be available during the build and test phases, not only at kickoff.

Does PS.2 alone satisfy an SSDF attestation?

No. PS.2 is one practice among the many in NIST SP 800-218, and it covers only making integrity verification information available to acquirers. An SSDF attestation draws on the organization's whole secure development program, including the Prepare the Organization, Produce Well-Secured Software and Respond to Vulnerabilities groups. NIST describes the framework as outcome-based rather than a checklist, so your organization decides how each practice is met based on risk, cost and feasibility. Whether and how you attest is decided with your customer or agency, and it should be reviewed against the version they require. Treat PS.2 as one input to that decision, not the decision itself.

What evidence does an auditor need for PS.2?

An auditor or assessor will usually ask to see sample releases and the records that show how each one was verified. Expect to provide a selection of past releases with their published hashes or signatures, the procedure used to generate and check them, and proof that the signing keys were controlled, such as access logs and rotation records. They may also ask who is authorized to sign, how verification information reaches customers, and what happens when a key is compromised. Keep these records as part of the normal release workflow so they can be produced on request. Confirm the exact sample size and evidence list with the assessor you engage, since they set the test procedures and issue any report.

How DeployOpen prepares release integrity for assessment

DeployOpen works on PS.2 by setting up the release signing, verification and key management that your organization owns, inside your own infrastructure. We prepare the systems and evidence an assessor or customer needs to check, while your organization decides how the task is met and who attests to it.

How we scope

  • The written scope names the release pipelines, artifact types and repositories that PS.2.1 covers.
  • We agree which integrity information goes to acquirers, such as hashes, signatures or certificates.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • We configure signing of release artifacts with keys held in a self-hosted secrets engine within your infrastructure.
  • We set up key versioning, rotation and access controls so signing keys are not broadly accessible.
  • We test that a downloaded artifact can be verified against the published hash or signature.

How we hand over

  • You receive documentation of the verification steps, key ownership and the rotation procedure.
  • We provide sample verification records and configuration exports that an assessor can review.
  • Your team gets a walkthrough so it can repeat the release verification process without us.

How we support

  • Ongoing support, upgrades and continuous testing of the signing setup are available as retainers.
  • We can retest verification after changes to pipelines, keys or release formats.
  • Independent auditors or certification bodies issue any report or certificate, not DeployOpen.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.