SIGNIFY(1)
π SIGNIFY(1) π
okay bestie, welcome to the signify page from the General Commands Manual β yes it's a real section of the manual, and yes it's giving main character energy π
β¨ NAME β¨
signify β cryptographically sign and verify files π
πΈ SYNOPSIS πΈ
signify -C [-q] [-p pubkey] [-t keytype] -x sigfile [file ...]
signify -G [-n] [-c comment] -p pubkey -s seckey
signify -S [-enz] [-x sigfile] -s seckey -m message
signify -V [-eqz] [-p pubkey] [-t keytype] [-x sigfile] -m message
π¦ DESCRIPTION π¦
signify is the utility that creates and verifies cryptographic signatures. A signature verifies the integrity of a message β so like, if somebody touched your file, the signature is gonna know, periodt π
You pick the mode of operation with these options:
-Cβ Verify a signed checksum list, and then verify the checksum for each file. If you don't specify any files, all of them get checked. The sigfile should be the signed output ofsha256(1). π§Ύ-Gβ Generate a new key pair. Keynames should follow the convention of keyname.puband keyname.secfor the public and secret keys, respectively. πβ¨-Sβ Sign the specified message file and create a signature. βοΈ-Vβ Verify the message and signature match. β
The other options are as follows:
-ccomment β Specify the comment to be added during key generation. π¬-eβ When signing, embed the message after the signature. When verifying, extract the message from the signature. (This requires that the signature was created using-eand creates a new message file as output.) π¦-mmessage β When signing, the file containing the message to sign. When verifying, the file containing the message to verify. When verifying with-e, the file to create. π-nβ When generating a key pair, do not ask for a passphrase. Otherwise,signifywill prompt the user for a passphrase to protect the secret key. When signing with-z, store a zero time stamp in thegzip(1)header. π-ppubkey β Public key produced by-G, and used by-Vto check a signature. π-qβ Quiet mode. Suppress informational output. π€«-sseckey β Secret (private) key produced by-G, and used by-Sto sign a message. π-tkeytype β When deducing the correct key to check a signature, make sure the actual key matches/etc/signify/*-keytype.pub. π―-xsigfile β The signature file to create or verify. The default is message.sig. ποΈ-zβ Sign and verifygzip(1)archives, where the signing data is embedded in thegzip(1)header. ποΈ
π« the file format tea π«
The key and signature files created by signify have the same format. The first line of the file is a free form text comment that may be edited, so long as it does not exceed a single line. Signature comments will be generated based on the name of the secret key used for signing. This comment can then be used as a hint for the name of the public key when verifying. The second line of the file is the actual key or signature base64 encoded. π§¬
π₯ EXIT STATUS π₯
The signify utility exits 0 on success, and >0 if an error occurs. It may fail because of one of the following reasons:
- Some necessary files do not exist. π
- Entered passphrase is incorrect. π
- The message file was corrupted and its signature does not match. π
- The message file is too large. π
π EXAMPLES π
Create a new key pair:
$ signify -G -p newkey.pub -s newkey.sec
Sign a file, specifying a signature name:
$ signify -S -s key.sec -m message.txt -x msg.sig
Verify a signature, using the default signature name:
$ signify -V -p key.pub -m generalsorders.txt
Verify a release directory containing SHA256.sig and a full set of release files:
$ signify -C -p /etc/signify/openbsd-80-base.pub -x SHA256.sig
Verify a bsd.rd before an upgrade:
$ signify -C -p /etc/signify/openbsd-80-base.pub -x SHA256.sig bsd.rd
Sign a gzip archive:
$ signify -Sz -s key-arc.sec -m in.tgz -x out.tgz
Verify a gzip pipeline:
$ ftp url | signify -Vz -t arc | tar ztf -
π SEE ALSO π
gzip(1), pkg_add(1), sha256(1), fw_update(8), sysupgrade(8)
π HISTORY π
The signify command first appeared in OpenBSD 5.5. π°οΈ
π«Ά AUTHORS π«Ά
Ted Unangst <tedu@openbsd.org> and Marc Espie <espie@openbsd.org>.
and that's the whole page, bestie β this one came from the Debian build, dated March 11, 2026, so if you're citing it, that's the version and date you're working with πβ¨ go forth and verify your files, no cap π¦
π¦ where this page comes from
- arch rolling: signify 33-1 Β· BSD
- epel 10: signify 33-1.el10_3 Β· ISC AND Beerware AND BSD-3-Clause AND MIT AND LicenseRef-Fedora-Public-Domain
- epel 9: signify 33-1.el9 Β· ISC AND Beerware AND BSD-3-Clause AND MIT AND LicenseRef-Fedora-Public-Domain
- fedora 43: signify 33-1.fc43 Β· ISC AND Beerware AND BSD-3-Clause AND MIT AND LicenseRef-Fedora-Public-Domain
- fedora 44: signify 33-1.fc44 Β· ISC AND Beerware AND BSD-3-Clause AND MIT AND LicenseRef-Fedora-Public-Domain
- Copyright (c) 2013 Marc Espie <espie@openbsd.org>
- Copyright (c) 2013 Ted Unangst <tedu@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms