.\" Copyright (c) 2003-2012 .\" Distributed Systems Software. All rights reserved. .\" See the file LICENSE for redistribution information. .\" $Id: copyright-nr 2564 2012-03-02 00:17:08Z brachman $ '\" t .\" Title: dacslist .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 02/19/2019 .\" Manual: DACS Commands Manual .\" Source: DACS 1.4.40 .\" Language: English .\" .TH "DACSLIST" "1" "02/19/2019" "DACS 1.4.40" "DACS Commands Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" dacslist \- list jurisdictions .SH "SYNOPSIS" .HP \w'\fBdacslist\fR\ 'u \fBdacslist\fR [\fI\m[blue]\fBdacsoptions\fR\m[]\&\s-2\u[1]\d\s+2\fR] [\fB\-f\fR] [\fB\-j\fR\ \fIjurisdiction\-name\fR] [\fB\-k\fR] .SH "DESCRIPTION" .PP This program is part of the \fBDACS\fR suite\&. .PP For a jurisdiction configured on the host where this program is run, the \fBdacslist\fR utility lists information about all known jurisdictions in the same federation\&. It can also display information about the federation\&. .PP This program is also available as a \fBDACS\fR web service, \m[blue]\fBdacs_list_jurisdictions(8)\fR\m[]\&\s-2\u[2]\d\s+2\&. .if n \{\ .sp .\} .RS 4 .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 .br .ps +1 \fBSecurity\fR .ps -1 .br .PP Because this program may access the federation and jurisdiction key files (item types federation_keys and jurisdiction_keys, respectively), only the \fBDACS\fR administrator should be able to run this command\&. .sp .5v .RE .SH "OPTIONS" .PP The program respects the \fB\-format\fR flag\&. Except for error messages, information is printed to the standard output\&. .PP \fB\-f\fR .RS 4 Only list information about the federation\&. Equivalent to \-j ""\&. .RE .PP \fB\-j\fR \fIjurisdiction\-name\fR .RS 4 Limit the output to the specified jurisdiction name\&. As a special case, if the argument is the empty string, only federation\-scoped information will be returned\&. .RE .PP \fB\-k\fR .RS 4 Only the federation\*(Aqs or a jurisdiction\*(Aqs public key (if known) will be displayed\&. If \fB\-j\fR is given and is not the empty string, that jurisdiction name is selected; if \fB\-j\fR is given and is the empty string, the federation is selected; and if the argument is absent, the current jurisdiction is selected\&. A PEM [\m[blue]\fBRFC 1421\fR\m[]\&\s-2\u[3]\d\s+2, \m[blue]\fBRFC 1422\fR\m[]\&\s-2\u[4]\d\s+2, \m[blue]\fBRFC 1423\fR\m[]\&\s-2\u[5]\d\s+2, \m[blue]\fBRFC 1424\fR\m[]\&\s-2\u[6]\d\s+2] formatted key is returned\&. .RE .if n \{\ .sp .\} .RS 4 .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 .br .ps +1 \fBNote\fR .ps -1 .br .PP In the current implementation, a jurisdiction\*(Aqs public key can only be provided by one of the jurisdictions configured on the same host\&. .sp .5v .RE .SH "EXAMPLES" .PP To list all jurisdictions in the same federation as jurisdiction J1, which must be configured on this host: .sp .if n \{\ .RS 4 .\} .nf % dacslist \-uj J1 .fi .if n \{\ .RE .\} .PP To copy the public encryption key for J1 to pubkey: .sp .if n \{\ .RS 4 .\} .nf % dacslist \-uj J1 \-k > pubkey .fi .if n \{\ .RE .\} .PP To display the public encryption key for J1\*(Aqs federation: .sp .if n \{\ .RS 4 .\} .nf % dacslist \-uj J1 \-f \-k .fi .if n \{\ .RE .\} .PP To retrieve the public encryption key for J1, which must be in the same federation as J2: .sp .if n \{\ .RS 4 .\} .nf % dacslist \-uj J2 \-k \-j J1 .fi .if n \{\ .RE .\} .PP To display information about the federation to which jurisdiction J1 belongs: .sp .if n \{\ .RS 4 .\} .nf % dacslist \-uj J1 \-f .fi .if n \{\ .RE .\} .sp .SH "DIAGNOSTICS" .PP The program exits 0 if everything was fine, 1 if an error occurred\&. Error messages are printed to stderr\&. .SH "SEE ALSO" .PP \m[blue]\fBdacs_list_jurisdictions(8)\fR\m[]\&\s-2\u[2]\d\s+2, \m[blue]\fBdacs\&.groups(5)\fR\m[]\&\s-2\u[7]\d\s+2 .SH "AUTHOR" .PP Distributed Systems Software (\m[blue]\fBwww\&.dss\&.ca\fR\m[]\&\s-2\u[8]\d\s+2) .SH "COPYING" .PP Copyright \(co 2003\-2012 Distributed Systems Software\&. See the \m[blue]\fBLICENSE\fR\m[]\&\s-2\u[9]\d\s+2 file that accompanies the distribution for licensing information\&. .SH "NOTES" .IP " 1." 4 dacsoptions .RS 4 \%http://dacs.dss.ca/man/dacs.1.html#dacsoptions .RE .IP " 2." 4 dacs_list_jurisdictions(8) .RS 4 \%http://dacs.dss.ca/man/dacs_list_jurisdictions.8.html .RE .IP " 3." 4 RFC 1421 .RS 4 \%http://www.rfc-editor.org/rfc/rfc1421.txt .RE .IP " 4." 4 RFC 1422 .RS 4 \%http://www.rfc-editor.org/rfc/rfc1422.txt .RE .IP " 5." 4 RFC 1423 .RS 4 \%http://www.rfc-editor.org/rfc/rfc1423.txt .RE .IP " 6." 4 RFC 1424 .RS 4 \%http://www.rfc-editor.org/rfc/rfc1424.txt .RE .IP " 7." 4 dacs.groups(5) .RS 4 \%http://dacs.dss.ca/man/dacs.groups.5.html .RE .IP " 8." 4 www.dss.ca .RS 4 \%http://www.dss.ca .RE .IP " 9." 4 LICENSE .RS 4 \%http://dacs.dss.ca/man/../misc/LICENSE .RE