xref: /titanic_50/usr/src/tools/codesign/signit.1onbld (revision 174bc6499d233e329ecd3d98a880a7b07df16bfa)

CDDL HEADER START

The contents of this file are subject to the terms of the
Common Development and Distribution License (the "License").
You may not use this file except in compliance with the License.

You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions
and limitations under the License.

When distributing Covered Code, include this CDDL HEADER in each
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying
information: Portions Copyright [yyyy] [name of copyright owner]

CDDL HEADER END

Copyright 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.

SIGNIT 1ONBLD "Jun 13, 2007"
NAME
signit - sign files using code signing server
SYNOPSIS
signit [-q] [-i dir] [-o dir] [-l user]
DESCRIPTION

signit is the client program for use with Sun's code signing server. It reads a list of signing credential names and relative pathnames from standard input. Each file is read from the input directory, sent to the signing server, signed with the specified credential, and written to the output directory.

OPTIONS

The following options are supported:

4 -q Quiet operation: This option suppresses printing the names of files that are signed successfully.

4 -i dir Specifies the base input directory from which the relative pathnames of files to be signed are interpreted. If not specified, the input directory defaults to the current directory.

4 -o dir Specifies the base output directory to which signed files are written. If not specified, the output directory matches the input directory.

4 -l user Specifies the user login name on the code signing server. If not specified, the login name of the user running signit is used.

ENVIRONMENT

4 CODESIGN_SERVER Specifies the hostname or IP address of the code signing server. If this variable is not set, it defaults to quill.sfbay.

EXIT STATUS

The following exit status values are returned:

"0" 4
All specified files were signed successfully.
"1" 4
One or more files were not signed successfully.
SEE ALSO

signproto(1ONBLD)