SIGNIFY-OPENBSD(1)
π SIGNIFY-OPENBSD(1) β General Commands Manual π
okay bestie, gather round, because this is signify-openbsd and she is literally the moment. she cryptographically signs and verifies files. a signature verifies the integrity of a message β that's it, that's the whole vibe. π
the mode of operation is selected with the following options, so pick your fighter:
-Cβ Verify a signed checksum list, and then verify the checksum for each file. If no files are specified, all of them are checked.sigfileshould be the signed output ofsha256(1). β¨-Gβ Generate a new key pair. keynames should follow the convention ofkeyname.pubandkeyname.secfor the public and secret keys, respectively. π-Sβ Sign the specified message file and create a signature. π-Vβ Verify the message and signature match. π«Ά
β¨ SYNOPSIS β¨
signify-openbsd -C [-q] [-p pubkey] [-t keytype] -x sigfile [file ...]
signify-openbsd -G [-n] [-c comment] -p pubkey -s seckey
signify-openbsd -S [-enz] [-x sigfile] -s seckey -m message
signify-openbsd -V [-eqz] [-p pubkey] [-t keytype] [-x sigfile] -m
message
πΈ DESCRIPTION πΈ
The signify-openbsd utility creates and verifies cryptographic signatures. A signature verifies the integrity of a message. The mode of operation is selected with the following options:
-Cβ Verify a signed checksum list, and then verify the checksum for each file. If no files are specified, all of them are checked.sigfileshould be the signed output ofsha256(1).-Gβ Generate a new key pair. Keynames should follow the convention ofkeyname.pubandkeyname.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:
-c commentβ 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.) π-m messageβ 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,signify-openbsdwill prompt the user for a passphrase to protect the secret key. When signing with-z, store a zero time stamp in thegzip(1)header. π-p pubkeyβ Public key produced by-G, and used by-Vto check a signature. π-qβ Quiet mode. Suppress informational output. π€«-s seckeyβ Secret (private) key produced by-G, and used by-Sto sign a message. π€-t keytypeβ When deducing the correct key to check a signature, make sure the actual key matches/etc/signify/*-keytype.pub.-x sigfileβ The signature file to create or verify. The default ismessage.sig. π-zβ Sign and verifygzip(1)archives, where the signing data is embedded in thegzip(1)header. ποΈ
The key and signature files created by signify-openbsd 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-openbsd 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.
ngl bestie, that last one is giving "your file is doing too much" π
π¦ EXAMPLES π¦
Create a new key pair:
$ signify-openbsd -G -p newkey.pub -s newkey.sec
Sign a file, specifying a signature name:
$ signify-openbsd -S -s key.sec -m message.txt -x msg.sig
Verify a signature, using the default signature name:
$ signify-openbsd -V -p key.pub -m generalsorders.txt
Verify a release directory containing SHA256.sig and a full set of release files:
$ signify-openbsd -C -p /etc/signify/openbsd-80-base.pub -x SHA256.sig
Verify a bsd.rd before an upgrade:
$ signify-openbsd -C -p /etc/signify/openbsd-80-base.pub -x SHA256.sig bsd.rd
Sign a gzip archive:
$ signify-openbsd -Sz -s key-arc.sec -m in.tgz -x out.tgz
Verify a gzip pipeline:
$ ftp url | signify-openbsd -Vz -t arc | tar ztf -
π SEE ALSO π
gzip(1), pkg_add(1), sha256(1), fw_update(8), sysupgrade(8)
π HISTORY π
The signify-openbsd command first appeared in OpenBSD 5.5. she's been iconic since day one, no cap. β
π AUTHORS π
Ted Unangst <tedu@openbsd.org> and Marc Espie <espie@openbsd.org>. absolute legends, we stan. π«Ά
okay that's the whole page bestie, go forth and verify literally everything. this one came to you from the Debian crew, dated March 11, 2026, and it is β say it with me β SIGNIFY-OPENBSD(1) π β¨π
π¦ where this page comes from
- ubuntu stonking: signify-openbsd 33-1 Β· MIT
- 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