1 .\" 2 .\" CDDL HEADER START 3 .\" 4 .\" The contents of this file are subject to the terms of the 5 .\" Common Development and Distribution License (the "License"). 6 .\" You may not use this file except in compliance with the License. 7 .\" 8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 .\" or http://www.opensolaris.org/os/licensing. 10 .\" See the License for the specific language governing permissions 11 .\" and limitations under the License. 12 .\" 13 .\" When distributing Covered Code, include this CDDL HEADER in each 14 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 .\" If applicable, add the following below this CDDL HEADER, with the 16 .\" fields enclosed by brackets "[]" replaced with your own identifying 17 .\" information: Portions Copyright [yyyy] [name of copyright owner] 18 .\" 19 .\" CDDL HEADER END 20 .\" 21 .\" Copyright 2007 Sun Microsystems, Inc. All rights reserved. 22 .\" Use is subject to license terms. 23 .\" 24 .TH signit 1ONBLD "13 June 2007" 25 .SH NAME 26 .I signit 27 \- sign files using code signing server 28 .SH SYNOPSIS 29 \fBsignit [-q] [-i dir] [-o dir] [-l user]\fP 30 .LP 31 .SH DESCRIPTION 32 .IX "OS-Net build tools" "signit" "" "\fBsignit\fP" 33 .LP 34 .I signit 35 is the client program for use with Sun's code signing server. It 36 reads a list of signing credential names and relative pathnames 37 from standard input. Each file is read from the input directory, 38 sent to the signing server, signed with the specified credential, 39 and written to the output directory. 40 .LP 41 .SH OPTIONS 42 .LP 43 The following options are supported: 44 .TP 4 45 .B \-q 46 Quiet operation: This option suppresses printing the names of files 47 that are signed successfully. 48 .LP 49 .TP 4 50 .B -i \fIdir\fP 51 Specifies the base input directory from which the relative pathnames 52 of files to be signed are interpreted. If not specified, the 53 input directory defaults to the current directory. 54 .LP 55 .TP 4 56 .B -o \fIdir\fP 57 Specifies the base output directory to which signed files 58 are written. If not specified, the 59 output directory matches the input directory. 60 .LP 61 .TP 4 62 .B -l \fIuser\fP 63 Specifies the user login name on the code signing server. If not 64 specified, the login name of the user running 65 .I signit 66 is used. 67 .LP 68 .SH ENVIRONMENT 69 .LP 70 .TP 4 71 .B CODESIGN_SERVER 72 Specifies the hostname or IP address of the code signing server. If 73 this variable is not set, it defaults to quill.sfbay. 74 .LP 75 .SH EXIT STATUS 76 .LP 77 The following exit status values are returned: 78 .IP "\fB0\fR" 4 79 .IX Item "0" 80 All specified files were signed successfully. 81 .IP "\fB1\fR" 4 82 .IX Item "1" 83 One or more files were not signed successfully. 84 .LP 85 .SH SEE ALSO 86 .LP 87 signproto(1ONBLD)