digital signature
A value computed from data and a secret key that lets anyone with the matching verification key confirm the data came from the key holder and was not changed.
In more detail
Certificate authorities sign certificates, distributions sign repository metadata and SSH servers sign handshake data with their host key. Verifying the signature proves origin and integrity, not that the content is safe.
Examples
openssl pkeyutl -sign -rawin -inkey alice.key -in order.txt -out order.sigSignature Verified SuccessfullyIn Terraform: Every provider in the public registry is signed by its publisher, and terraform init checks that signature before installing it. Its output says whether the provider was signed by HashiCorp, by a partner or self-signed by the community.Related terms
- JSON Web Token — A compact signed token made of three base64url parts separated by dots: a header, a payload of claims and a signature.
- HMAC — A way of combining a secret key with a hash function to produce a tag that shows a message came from someone holding the key and was not changed.
- signing key — The secret key used to sign tokens or messages, together with the key used to verify them, which may be the same secret or the public half of a pair.
- public-key cryptography — Cryptography that uses a pair of keys: a private key kept secret to sign or decrypt, and a public key that can be shared to verify or encrypt.
- identity provider — A service that vouches for who a user or workload is, by issuing signed tokens that others can verify.
- Cosign — Sigstore's tool for signing and verifying container images and attaching signed attestations such as SBOMs.
- log file integrity validation — A CloudTrail feature that writes an hourly signed digest of every log file's hash, so edits and deletions can be proven later.
- private key — The secret half of a key pair, which proves its holder's identity and must never be shared.
- public key — The shareable half of a key pair, used by others to verify your signatures or encrypt data only you can read.
- non-repudiation — Proof strong enough that the sender of a message or the author of an action cannot credibly deny it later.
- Ed25519 — A modern public-key signature algorithm with small, fast keys, the recommended type for new SSH keys.
- RS256 — A JSON Web Token signing algorithm that uses an RSA key pair with SHA-256.
- certificate authority — A trusted party that signs certificates, so anyone who trusts it can trust the certificates it issued.
- package signing — The use of cryptographic signatures on packages or repository metadata so a package manager can reject software that did not come from a trusted publisher.
- host key — The key pair an SSH server uses to prove its identity to every client that connects.
- provenance attestation — A signed record, attached to an image, of how, where and from what source it was built.
- hash — A short fixed-length fingerprint calculated from data, which changes completely if even one byte of the data changes.
- terraform init — The command that prepares a directory for Terraform: it downloads providers, fetches modules, connects the backend and writes the lock file.
- Terraform Registry — HashiCorp's public website where providers and reusable modules are published, with the documentation for each.
Taught in
- JSON Web Tokens — Modern API Architecture: REST, GraphQL & gRPC
- Scopes And Key Rotation — Modern API Architecture: REST, GraphQL & gRPC
- Webhooks Versus Polling — Modern API Architecture: REST, GraphQL & gRPC
- Keyless Authentication: OIDC to the Cloud — Continuous Integration & Continuous Delivery Pipelines
- Cloud IAM Architecture & Permission Boundaries — Cloud Security & DevSecOps Engineering
- Workload Identity Federation: Eliminating Static Keys — Cloud Security & DevSecOps Engineering
- Zero-Trust Network Access & IdP Federation — Cloud Security & DevSecOps Engineering
- Supply Chain Security: SBOMs & Cosign Signing — Cloud Security & DevSecOps Engineering
- Runtime Anomaly Detection with Falco & eBPF — Cloud Security & DevSecOps Engineering
- Securing the Kubernetes Control Plane & Node Components — Cloud Security & DevSecOps Engineering
- Policy-as-Code Architecture: OPA & Rego Syntax — Cloud Security & DevSecOps Engineering
- CloudTrail Logging, Integrity Validation & Athena — Cloud Security & DevSecOps Engineering
- CIA Triad, Non-Repudiation & Parkerian Hexad — Cybersecurity Fundamentals, GRC & Cryptography
- Social Engineering, Phishing & Human Defense — Cybersecurity Fundamentals, GRC & Cryptography
- Vendor & Third-Party Risk Management Programs — Cybersecurity Fundamentals, GRC & Cryptography
- Asymmetric Cryptography: RSA, ECC & Diffie-Hellman — Cybersecurity Fundamentals, GRC & Cryptography
- Cryptographic Hashing: SHA-256, SHA-3 & Passwords — Cybersecurity Fundamentals, GRC & Cryptography
- Public Key Infrastructure: X.509 Certificates & CAs — Cybersecurity Fundamentals, GRC & Cryptography
- Post-Quantum Cryptography & Key Lifecycles — Cybersecurity Fundamentals, GRC & Cryptography
- Privacy Principles, GDPR Subject Rights & Minimization — Cybersecurity Fundamentals, GRC & Cryptography
- Enterprise Risk Registers & Treatment Plans — Cybersecurity Fundamentals, GRC & Cryptography
- Security Capstone Review & Certification — Cybersecurity Fundamentals, GRC & Cryptography
- OAuth2 & OpenID Connect: Social Auth & PKCE Flows — Production Full-Stack Engineering
- JWT Verification: Asymmetric Keys & Refresh Rotation — Production Full-Stack Engineering
- Certificates, Chains And What A Handshake Proves — Linux Fundamentals & Systems Administration
- Provenance And Signing — Application Security & Threat Modeling for Engineers
- How To Stop Drowning In Findings — Application Security & Threat Modeling for Engineers
- Providers And The required_providers Block — Infrastructure as Code with Terraform
- Initialising The Working Directory — Infrastructure as Code with Terraform
- The Terraform Registry And Public Modules — Infrastructure as Code with Terraform
- Collaboration And Governance: Teams, Policies, Registry And Health — HashiCorp Terraform Associate (004) Exam Prep
References
- NIST FIPS 186-5: Digital Signature Standard
- RFC 7515: JSON Web Signature (JWS)
- NIST glossary: digital signature
- MDN Glossary: Signature (security)
- Publishing providers: signing