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 .\" ident "%Z%%M% %I% %E% SMI" 25 .TH signit 1 "13 June 2007" 26 .SH NAME 27 .I signit 28 \- sign files using code signing server 29 .SH SYNOPSIS 30 \fBsignit [-q] [-i dir] [-o dir] [-l user]\fP 31 .LP 32 .SH DESCRIPTION 33 .IX "OS-Net build tools" "signit" "" "\fBsignit\fP" 34 .LP 35 .I signit 36 is the client program for use with Sun's code signing server. It 37 reads a list of signing credential names and relative pathnames 38 from standard input. Each file is read from the input directory, 39 sent to the signing server, signed with the specified credential, 40 and written to the output directory. 41 .LP 42 .SH OPTIONS 43 .LP 44 The following options are supported: 45 .TP 4 46 .B \-q 47 Quiet operation: This option suppresses printing the names of files 48 that are signed successfully. 49 .LP 50 .TP 4 51 .B -i \fIdir\fP 52 Specifies the base input directory from which the relative pathnames 53 of files to be signed are interpreted. If not specified, the 54 input directory defaults to the current directory. 55 .LP 56 .TP 4 57 .B -o \fIdir\fP 58 Specifies the base output directory to which signed files 59 are written. If not specified, the 60 output directory matches the input directory. 61 .LP 62 .TP 4 63 .B -l \fIuser\fP 64 Specifies the user login name on the code signing server. If not 65 specified, the login name of the user running 66 .I signit 67 is used. 68 .LP 69 .SH ENVIRONMENT 70 .LP 71 .TP 4 72 .B CODESIGN_SERVER 73 Specifies the hostname or IP address of the code signing server. If 74 this variable is not set, it defaults to quill.sfbay. 75 .LP 76 .SH EXIT STATUS 77 .LP 78 The following exit status values are returned: 79 .IP "\fB0\fR" 4 80 .IX Item "0" 81 All specified files were signed successfully. 82 .IP "\fB1\fR" 4 83 .IX Item "1" 84 One or more files were not signed successfully. 85 .LP 86 .SH SEE ALSO 87 .LP 88 signproto(1)