/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Teddy Hogeborn
  • Date: 2019-07-18 00:02:43 UTC
  • Revision ID: teddy@recompile.se-20190718000243-okz4s9xao1r1tfnx
Document bug in mandos-keygen which strips white space from passwords

Passwords, as read by mandos-keygen when given the --password or -p
options, are stripped of white space from the start and from the end
of the password.  This is because mandos-keygen is a shell script, and
the Bourne Shell "read" builtin does not seem to have a way to avoid
this.  Document this bug.

* manods-keygen.xml (OPTIONS): Document the white space-stripping
                               nature of the --password/-p option, and
                               also note in the description of
                               --passfile and -F that they avoid this
                               behavior.
  (BUGS): Again mention the problem with the --password and -p
          options, and suggest --passfile as a possible workaround.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    "man -l mandos.8".
39
39
    
40
40
*** Mandos Server
41
 
    + GnuTLS 3.3          http://www.gnutls.org/
 
41
    + GnuTLS 3.3          https://www.gnutls.org/
 
42
      (but not 3.6.0 or later, until 3.6.6, which works)
42
43
    + Avahi 0.6.16        http://www.avahi.org/
43
44
    + Python 2.7          https://www.python.org/
44
 
    + dbus-python 0.82.4  http://dbus.freedesktop.org/doc/dbus-python/
 
45
    + dbus-python 0.82.4 https://dbus.freedesktop.org/doc/dbus-python/
45
46
    + PyGObject 3.7.1     https://wiki.gnome.org/Projects/PyGObject
46
 
    + pkg-config  http://www.freedesktop.org/wiki/Software/pkg-config/
 
47
    + pkg-config https://www.freedesktop.org/wiki/Software/pkg-config/
47
48
    + Urwid 1.0.1         http://urwid.org/
48
49
      (Only needed by the "mandos-monitor" tool.)
49
50
    
56
57
    fping ssh-client
57
58
    
58
59
*** Mandos Client
59
 
    + GNU C Library 2.16 https://gnu.org/software/libc/
 
60
    + GNU C Library 2.17 https://gnu.org/software/libc/
60
61
    + initramfs-tools 0.85i
61
62
                        https://tracker.debian.org/pkg/initramfs-tools
62
 
    + GnuTLS 3.3        http://www.gnutls.org/
 
63
    + GnuTLS 3.3        https://www.gnutls.org/
 
64
      (but not 3.6.0 or later, until 3.6.6 which works)
63
65
    + Avahi 0.6.16      http://www.avahi.org/
64
66
    + GnuPG 1.4.9       https://www.gnupg.org/
65
67
    + GPGME 1.1.6       https://www.gnupg.org/related_software/gpgme/
66
 
    + pkg-config  http://www.freedesktop.org/wiki/Software/pkg-config/
 
68
    + pkg-config https://www.freedesktop.org/wiki/Software/pkg-config/
 
69
    + libnl-route 3     https://www.infradead.org/~tgr/libnl/
67
70
    
68
71
    Strongly recommended:
69
72
    + OpenSSH           http://www.openssh.com/
70
73
    
71
74
    Package names:
72
 
    initramfs-tools libgnutls-dev libavahi-core-dev gnupg
73
 
    libgpgme11-dev pkg-config ssh
 
75
    initramfs-tools libgnutls-dev gnutls-bin libavahi-core-dev gnupg
 
76
    libgpgme11-dev pkg-config ssh libnl-route-3-dev
74
77
 
75
78
* Installing the Mandos server
76
79
  
123
126
     
124
127
        # /usr/lib/mandos/plugins.d/mandos-client \
125
128
                --pubkey=/etc/keys/mandos/pubkey.txt \
126
 
                --seckey=/etc/keys/mandos/seckey.txt; echo
 
129
                --seckey=/etc/keys/mandos/seckey.txt \
 
130
                --tls-privkey=/etc/keys/mandos/tls-privkey.pem \
 
131
                --tls-pubkey=/etc/keys/mandos/tls-pubkey.pem; echo
127
132
     
128
133
     This command should retrieve the password from the server,
129
134
     decrypt it, and output it to standard output.