9069 libfru: comparison between pointer and zero character constant
[unleashed.git] / usr / src / man / man1m / ickey.1m
blob10a01df8917c8ecdcc0215bbfad77b362e1acea4
1 '\" te
2 .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH ICKEY 1M "April 9, 2016"
7 .SH NAME
8 ickey \- install a client key for WAN boot
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/usr/lib/inet/wanboot/ickey\fR [\fB-d\fR] [\fB-o\fR type=3des]
13 .fi
15 .LP
16 .nf
17 \fB/usr/lib/inet/wanboot/ickey\fR [\fB-d\fR] [\fB-o\fR type=aes]
18 .fi
20 .LP
21 .nf
22 \fB/usr/lib/inet/wanboot/ickey\fR [\fB-d\fR] [\fB-o\fR type=sha1]
23 .fi
25 .SH DESCRIPTION
26 .LP
27 The \fBickey\fR command is used to install WAN boot keys on a running UNIX
28 system so that they can be used the next time the system is installed. You can
29 store three different types of keys: 3DES and AES for encryption and an HMAC
30 SHA-1 key for hashed verification.
31 .sp
32 .LP
33 \fBickey\fR reads the key from standard input using \fBgetpassphrase\fR(3C) so
34 that it does not appear on the command line. When installing keys on a remote
35 system, you must take proper precautions to ensure that any keying materials
36 are kept confidential. At a minimum, use \fBssh\fR(1) to prevent interception
37 of data in transit.
38 .sp
39 .LP
40 Keys are expected to be presented as strings of hexadecimal digits; they can
41 (but need not) be preceded by a \fB0x\fR or \fB0X\fR.
42 .sp
43 .LP
44 The \fBickey\fR command has a single option, described below. An argument of
45 the type \fB-o\fR\ \fBtype=\fR\fIkeytype\fR is required.
46 .SH OPTIONS
47 .LP
48 The \fBickey\fR command the following option.
49 .sp
50 .ne 2
51 .na
52 \fB\fB-d\fR\fR
53 .ad
54 .RS 6n
55 Delete the key specified by the \fIkeytype\fR argument.
56 .RE
58 .SH EXIT STATUS
59 .LP
60 On success, \fBickey\fR exits with status 0; if a problem occurs, a diagnostic
61 message is printed and \fBickey\fR exits with non-zero status.
62 .SH FILES
63 .ne 2
64 .na
65 \fB\fB/dev/openprom\fR\fR
66 .ad
67 .RS 17n
68 WAN boot key storage driver
69 .RE
71 .SH ATTRIBUTES
72 .LP
73 See \fBattributes\fR(5) for descriptions of the following attributes:
74 .sp
76 .sp
77 .TS
78 box;
79 c | c
80 l | l .
81 ATTRIBUTE TYPE  ATTRIBUTE VALUE
83 Interface Stability     Unstable
84 .TE
86 .SH SEE ALSO
87 .LP
88 \fBssh\fR(1), \fBopenprom\fR(7D),  \fBattributes\fR(5)