=head1 NAME bos_listkeys - Displays the server encryption keys from the KeyFile file =head1 SYNOPSIS =for html
B S<<< B<-server> > >>> [B<-showkey>] S<<< [B<-cell> >] >>> [B<-noauth>] [B<-localauth>] [B<-help>] B S<<< B<-se> > >>> [B<-sh>] S<<< [B<-c> >] >>> [B<-n>] [B<-l>] [B<-h>] =for html
=head1 DESCRIPTION The B command formats and displays the list of server encryption keys from the F file on the server machine named by the B<-server> argument. To edit the list of keys, use the B and B commands. =head1 CAUTIONS Displaying actual keys on the standard output stream (by including the B<-showkey> flag) is a security exposure. Displaying a checksum is sufficient for most purposes. =head1 OPTIONS =over 4 =item B<-server> > Indicates the server machine from which to display the KeyFile file. Identify the machine by IP address or its host name (either fully-qualified or abbreviated unambiguously). For details, see L. For consistent performance in the cell, the output must be the same on every server machine. The B reference page explains how to keep the machines synchronized. =item B<-showkey> Displays the octal digits that constitute each key. =item B<-cell> > Names the cell in which to run the command. Do not combine this argument with the B<-localauth> flag. For more details, see L. =item B<-noauth> Assigns the unprivileged identity C to the issuer. Do not combine this flag with the B<-localauth> flag. For more details, see L. =item B<-localauth> Constructs a server ticket using a key from the local F file. The B command interpreter presents the ticket to the BOS Server during mutual authentication. Do not combine this flag with the B<-cell> or B<-noauth> options. For more details, see L. =item B<-help> Prints the online help for this command. All other valid options are ignored. =back =head1 OUTPUT The output includes one line for each server encryption key listed in the F file, identified by its key version number. If the B<-showkey> flag is included, the output displays the actual string of eight octal numbers that constitute the key. Each octal number is a backslash and three decimal digits. If the B<-showkey> flag is not included, the output represents each key as a checksum, which is a decimal number derived by encrypting a constant with the key. Following the list of keys or checksums, the string C indicates when a key was last added to the F file. The words C indicate the end of the output. For mutual authentication to work properly, the output from the command C must match the key or checksum with the same key version number in the output from this command. =head1 EXAMPLES The following example shows the checksums for the keys stored in the F file on the machine C. % bos listkeys fs3.abc.com key 1 has cksum 972037177 key 3 has cksum 2825175022 key 4 has cksum 260617746 key 6 has cksum 4178774593 Keys last changed on Mon Apr 12 11:24:46 1999. All done. The following example shows the actual keys from the F file on the machine C. % bos listkeys fs6.abc.com -showkey key 0 is '\040\205\211\241\345\002\023\211' key 1 is '\343\315\307\227\255\320\135\244' key 2 is '\310\310\255\253\326\236\261\211' Keys last changed on Wed Mar 31 11:24:46 1999. All done. =head1 PRIVILEGE REQUIRED The issuer must be listed in the F file on the machine named by the B<-server> argument, or must be logged onto a server machine as the local superuser C if the B<-localauth> flag is included. =head1 SEE ALSO L, L, L, L, L, L =head1 COPYRIGHT IBM Corporation 2000. All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.