Signify (OpenBSD)
signify is a free and open source tool developed by OpenBSD to generate and verify signatures.[1] It makes use of Ed25519 and was created to enable the OpenBSD project to sign releases while not having to use GnuPG since its code complexity didn't comply with OpenBSD's standards for security and maintainability.[2] Contrary to OpenPGP keys, signify keys are meant to be rotated frequently and are not tied to an identity.[2] OpenBSD for example includes the next signing public key in each release. When version 5.6 was released, the keys for version 5.8 were generated to be included in version 5.7.[2] BackgroundThe creator of the Format
The key and signature formats are prepended with an untrusted comment that can be manipulated and shouldn't be relied on.[7][1] ExamplesPublic keyuntrusted comment: signify public key RWT8aOqwyEbFcBqOgENsuEDD2h8uBCWKxcX+Fv1QQk7IGUrKhbcZUY09 Private keyuntrusted comment: signify secret key RWRCSwAAAAARy9ex6GaxBnbYJirsxcF6LGvFOt5iF+n8aOqwyEbFcORd11nFXvrzBLfyRObCJ+JlSh7CKVBgOE3t108hAl9AGo6AQ2y4QMPaHy4EJYrFxf4W/VBCTsgZSsqFtxlRjT0= Signatureuntrusted comment: verify with key.pub RWT8aOqwyEbFcNswGh6YdUTl1JQ4ifAzmNjGQQVkcH2MIfH6In3xVgishY1k9JjL7TLMuUDsLGXNfXxIFHTZpSZ58qk5SJVy/gQ= Signature with embedded messageuntrusted comment: verify with key.pub RWT8aOqwyEbFcLj0u4//hJEOZBa3+e1FFhv8d1HUwgZDcG0PgL5lBO9veYucAn5NxuPc9qCSIaXZ6PoUX4GBcp Ds0Pup81YhqA0= Hello world! Usage
signify -G [-n] [-c comment] -p pubkey -s seckey to generate a new keypair and save the public part in a file named "pubkey" and the secret part in a file named "seckey" signify -S [-enz] [-x sigfile] -s seckey -m message to sign a file named "message" with the private key saved in "seckey" and store the signature in a file named "sigfile. Specifying -e embeds the message after the signature. signify -V [-eqz] [-p pubkey] [-t keytype] [-x sigfile] -m message to verify a file named "message" with the public keys stored in a file named "pubkey" and the signature stored in a file called "sigfile. Specifying -e extracts the embedded message from the signature and writes it into the message file. signify -C [-q] [-p pubkey] [-t keytype] -x sigfile [file ...] to verify a list of signed files with the "sigfile" being a signed list with the embedded output of the sha256 command. UsageApart from the obvious usage in OpenBSD, other projects also use signify:
In contrast, other Free Software operating systems and security-focused software tend to use OpenPGP for release verification, and as of 2024 continue to do so, including: Debian, a prominent operating system that's also used as a base for other operating systems, including Ubuntu;[10] Kali Linux, a specialized operating system for penetration testing, security research, digital forensics, and reverse engineering;[11] Qubes OS, a security-focused operating system;[12] Tor Browser, an anonymous Web browser;[13] SecureDrop, a software package for journalists and whistleblowers to exchange information securely and anonymously over the Internet;[14] and VeraCrypt, a software program for on-the-fly encryption and full disk encryption.[15] References
|