1
 
<?xml version='1.0' encoding='UTF-8'?>
 
2
 
<?xml-stylesheet type="text/xsl"
 
3
 
        href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"?>
 
4
 
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
 
5
 
        "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
6
 
<!ENTITY VERSION "1.0">
 
7
 
<!ENTITY COMMANDNAME "password-request">
 
8
 
<!ENTITY TIMESTAMP "2008-08-30">
 
13
 
    <title>Mandos Manual</title>
 
14
 
    <!-- NWalsh's docbook scripts use this to generate the footer: -->
 
15
 
    <productname>Mandos</productname>
 
16
 
    <productnumber>&VERSION;</productnumber>
 
17
 
    <date>&TIMESTAMP;</date>
 
20
 
        <firstname>Björn</firstname>
 
21
 
        <surname>Påhlsson</surname>
 
23
 
          <email>belorn@fukt.bsnet.se</email>
 
27
 
        <firstname>Teddy</firstname>
 
28
 
        <surname>Hogeborn</surname>
 
30
 
          <email>teddy@fukt.bsnet.se</email>
 
36
 
      <holder>Teddy Hogeborn & Björn Påhlsson</holder>
 
40
 
        This manual page is free software: you can redistribute it
 
41
 
        and/or modify it under the terms of the GNU General Public
 
42
 
        License as published by the Free Software Foundation,
 
43
 
        either version 3 of the License, or (at your option) any
 
48
 
        This manual page is distributed in the hope that it will
 
49
 
        be useful, but WITHOUT ANY WARRANTY; without even the
 
50
 
        implied warranty of MERCHANTABILITY or FITNESS FOR A
 
51
 
        PARTICULAR PURPOSE.  See the GNU General Public License
 
56
 
        You should have received a copy of the GNU General Public
 
57
 
        License along with this program; If not, see
 
58
 
        <ulink url="http://www.gnu.org/licenses/"/>.
 
64
 
    <refentrytitle>&COMMANDNAME;</refentrytitle>
 
65
 
    <manvolnum>8mandos</manvolnum>
 
69
 
    <refname><command>&COMMANDNAME;</command></refname>
 
77
 
      <command>&COMMANDNAME;</command>
 
79
 
        <arg choice="plain"><option>--connect
 
80
 
        <replaceable>IPADDR</replaceable><literal>:</literal
 
81
 
        ><replaceable>PORT</replaceable></option></arg>
 
82
 
        <arg choice="plain"><option>-c
 
83
 
        <replaceable>IPADDR</replaceable><literal>:</literal
 
84
 
        ><replaceable>PORT</replaceable></option></arg>
 
88
 
        <arg choice="plain"><option>--keydir
 
89
 
        <replaceable>KEYDIR</replaceable></option></arg>
 
90
 
        <arg choice="plain"><option>-d
 
91
 
        <replaceable>KEYDIR</replaceable></option></arg>
 
95
 
        <arg choice="plain"><option>--interface
 
96
 
        <replaceable>NAME</replaceable></option></arg>
 
97
 
        <arg choice="plain"><option>-i
 
98
 
        <replaceable>NAME</replaceable></option></arg>
 
102
 
        <arg choice="plain"><option>--pubkey
 
103
 
        <replaceable>FILE</replaceable></option></arg>
 
104
 
        <arg choice="plain"><option>-p
 
105
 
        <replaceable>FILE</replaceable></option></arg>
 
109
 
        <arg choice="plain"><option>--seckey
 
110
 
        <replaceable>FILE</replaceable></option></arg>
 
111
 
        <arg choice="plain"><option>-s
 
112
 
        <replaceable>FILE</replaceable></option></arg>
 
116
 
        <option>--priority <replaceable>STRING</replaceable></option>
 
120
 
        <option>--dh-bits <replaceable>BITS</replaceable></option>
 
124
 
        <option>--debug</option>
 
128
 
      <command>&COMMANDNAME;</command>
 
130
 
        <arg choice='plain'><option>-?</option></arg>
 
131
 
        <arg choice='plain'><option>--help</option></arg>
 
135
 
      <command>&COMMANDNAME;</command>
 
136
 
      <arg choice='plain'><option>--usage</option></arg>
 
139
 
      <command>&COMMANDNAME;</command>
 
141
 
        <arg choice='plain'><option>-V</option></arg>
 
142
 
        <arg choice='plain'><option>--version</option></arg>
 
147
 
  <refsect1 id="description">
 
148
 
    <title>DESCRIPTION</title>
 
150
 
      <command>&COMMANDNAME;</command> is a mandos plugin that works
 
151
 
      like a client program that through avahi detects mandos servers,
 
152
 
      sets up a gnutls connect and request a encrypted password. Any
 
153
 
      passwords given is automaticly decrypted and passed to
 
158
 
  <refsect1 id="options">
 
159
 
    <title>OPTIONS</title>
 
161
 
      Commonly not invoked as command lines but from configuration
 
162
 
      file of plugin runner.
 
167
 
        <term><literal>-c</literal>, <literal>--connect=<replaceable>
 
168
 
        IP</replaceable></literal></term>
 
171
 
            Connect directly to a specified mandos server
 
177
 
        <term><literal>-d</literal>, <literal>--keydir=<replaceable>
 
178
 
        KEYDIR</replaceable></literal></term>
 
181
 
            Directory where the openpgp keyring is
 
187
 
        <term><literal>-i</literal>, <literal>--interface=
 
188
 
        <replaceable>INTERFACE</replaceable></literal></term>
 
191
 
            Interface that Avahi will conntect through
 
197
 
        <term><literal>-p</literal>, <literal>--pubkey=<replaceable>
 
198
 
        PUBKEY</replaceable></literal></term>
 
201
 
            Public openpgp key for gnutls authentication
 
207
 
        <term><literal>-s</literal>, <literal>--seckey=<replaceable>
 
208
 
        SECKEY</replaceable></literal></term>
 
211
 
            Secret openpgp key for gnutls authentication
 
217
 
        <term><literal>--priority=<replaceable>PRIORITY</replaceable>
 
227
 
        <term><literal>--dh-bits=<replaceable>BITS</replaceable>
 
231
 
            dh-bits to use in gnutls communication
 
237
 
        <term><literal>--debug</literal></term>
 
246
 
        <term><literal>-?</literal>, <literal>--help</literal></term>
 
255
 
        <term><literal>--usage</literal></term>
 
258
 
            Gives a short usage message
 
264
 
        <term><literal>-V</literal>, <literal>--version</literal></term>
 
267
 
            Prints the program version
 
274
 
  <refsect1 id="exit_status">
 
275
 
    <title>EXIT STATUS</title>
 
280
 
  <refsect1 id="environment">
 
281
 
    <title>ENVIRONMENT</title>
 
298
 
  <refsect1 id="example">
 
299
 
    <title>EXAMPLE</title>
 
304
 
  <refsect1 id="security">
 
305
 
    <title>SECURITY</title>
 
310
 
  <refsect1 id="see_also">
 
311
 
    <title>SEE ALSO</title>
 
313
 
      <citerefentry><refentrytitle>mandos</refentrytitle>
 
314
 
      <manvolnum>8</manvolnum></citerefentry>,
 
315
 
      <citerefentry><refentrytitle>password-prompt</refentrytitle>
 
316
 
      <manvolnum>8mandos</manvolnum></citerefentry>,
 
317
 
      <citerefentry><refentrytitle>plugin-runner</refentrytitle>
 
318
 
      <manvolnum>8mandos</manvolnum></citerefentry>
 
322
 
        <ulink url="http://www.zeroconf.org/">Zeroconf</ulink>
 
326
 
        <ulink url="http://www.avahi.org/">Avahi</ulink>
 
331
 
            url="http://www.gnu.org/software/gnutls/">GnuTLS</ulink>
 
336
 
        url="http://www.gnupg.org/related_software/gpgme/">
 
341
 
        <citation>RFC 4880: <citetitle>OpenPGP Message
 
342
 
        Format</citetitle></citation>
 
346
 
        <citation>RFC 5081: <citetitle>Using OpenPGP Keys for
 
347
 
        Transport Layer Security</citetitle></citation>
 
351
 
        <citation>RFC 4291: <citetitle>IP Version 6 Addressing
 
352
 
        Architecture</citetitle>, section 2.5.6, Link-Local IPv6
 
353
 
        Unicast Addresses</citation>
 
359
 
<!-- Local Variables: -->
 
360
 
<!-- time-stamp-start: "<!ENTITY TIMESTAMP [\"']" -->
 
361
 
<!-- time-stamp-end: "[\"']>" -->
 
362
 
<!-- time-stamp-format: "%:y-%02m-%02d" -->