EnglishFrenchSpanish

OnWorks favicon

signify-openbsd - Online in the Cloud

Run signify-openbsd in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command signify-openbsd that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


signify-openbsd — cryptographically sign and verify files

SYNOPSIS


signify-openbsd -C [-q] -p pubkey -x sigfile [file ...]
signify-openbsd -G [-n] [-c comment] -p pubkey -s seckey
signify-openbsd -S [-e] [-x sigfile] -s seckey -m message
signify-openbsd -V [-eq] [-x sigfile] -p pubkey -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. sigfile should be the signed
output of sha256(1).

-G Generate a new key pair.

-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 -e and 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 Do not ask for a passphrase during key generation. Otherwise, signify-openbsd
will prompt the user for a passphrase to protect the secret key.

-p pubkey Public key produced by -G, and used by -V to check a signature.

-q Quiet mode. Suppress informational output.

-s seckey Secret (private) key produced by -G, and used by -S to sign a message.

-x sigfile The signature file to create or verify. The default is message.sig.

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. 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.

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-56-base.pub -x SHA256.sig
Note that for non-OpenBSD operating systems, you will have to get the
signing key yourself.

Verify a bsd.rd before an upgrade:
$ signify-openbsd -C -p /etc/signify/openbsd-56-base.pub -x SHA256.sig bsd.rd

HISTORY


The signify-openbsd command first appeared in OpenBSD 5.5, but was renamed to
signify-openbsd for Debian because another binary named signify already existed in Debian's
repositories.

AUTHORS


Ted Unangst <[email protected]>

Use signify-openbsd online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 2
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 3
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • 4
    iReport-Designer for JasperReports
    iReport-Designer for JasperReports
    NOTE: iReport/Jaspersoft Studio Support
    Announcement: As of version 5.5.0,
    Jaspersoft Studio will be the official
    design client for JasperReports. iReport
    will...
    Download iReport-Designer for JasperReports
  • 5
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 6
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • More »

Linux commands

Ad