/mandos/release

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

« back to all changes in this revision

Viewing changes to mandos-ctl.xml

  • Committer: Teddy Hogeborn
  • Date: 2018-08-15 09:26:02 UTC
  • mto: (237.7.594 trunk)
  • mto: This revision was merged to the branch mainline in revision 368.
  • Revision ID: teddy@recompile.se-20180815092602-xoyb5s6gf8376i7u
mandos-client: Set system clock if necessary

* plugins.d/mandos-client.c (init_gpgme/import_key): If the system
  clock is not set, or set to january 1970, set the system clock to
  the more plausible value that is the mtime of the key file.  This is
  required by GnuPG to be able to import the keys.  (We can't pass the
  --ignore-time-conflict or the --ignore-valid-from options though
  GPGME.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3
3
        "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4
4
<!ENTITY COMMANDNAME "mandos-ctl">
5
 
<!ENTITY TIMESTAMP "2019-03-07">
 
5
<!ENTITY TIMESTAMP "2018-02-08">
6
6
<!ENTITY % common SYSTEM "common.ent">
7
7
%common;
8
8
]>
40
40
      <year>2016</year>
41
41
      <year>2017</year>
42
42
      <year>2018</year>
43
 
      <year>2019</year>
44
43
      <holder>Teddy Hogeborn</holder>
45
44
      <holder>Björn Påhlsson</holder>
46
45
    </copyright>
78
77
        <sbr/>
79
78
        <group>
80
79
          <arg choice="plain"><option>--start-checker</option></arg>
 
80
        </group>
 
81
        <sbr/>
 
82
        <group>
81
83
          <arg choice="plain"><option>--stop-checker</option></arg>
82
84
        </group>
83
85
        <sbr/>
84
86
        <group>
 
87
          <arg choice="plain"><option>--remove</option></arg>
 
88
          <arg choice="plain"><option>-r</option></arg>
 
89
        </group>
 
90
        <sbr/>
 
91
        <group>
85
92
          <arg choice="plain"><option>--checker
86
93
          <replaceable>COMMAND</replaceable></option></arg>
87
94
          <arg choice="plain"><option>-c
125
132
        </group>
126
133
        <sbr/>
127
134
        <group>
 
135
          <arg choice="plain"><option>--interval
 
136
          <replaceable>TIME</replaceable></option></arg>
 
137
          <arg choice="plain"><option>-i
 
138
          <replaceable>TIME</replaceable></option></arg>
 
139
        </group>
 
140
        <sbr/>
 
141
        <group>
128
142
          <arg choice="plain"><option>--host
129
143
          <replaceable>STRING</replaceable></option></arg>
130
144
          <arg choice="plain"><option>-H
158
172
    <cmdsynopsis>
159
173
      <command>&COMMANDNAME;</command>
160
174
      <group>
161
 
        <arg choice="plain"><option>--deny</option></arg>
162
 
        <arg choice="plain"><option>-D</option></arg>
163
 
      </group>
164
 
      <group choice="req">
165
 
          <arg choice="plain"><option>--remove</option></arg>
166
 
          <arg choice="plain"><option>-r</option></arg>
167
 
      </group>
168
 
      <group choice="req">
169
 
        <arg choice="plain"><option>--all</option></arg>
170
 
        <arg choice="plain"><option>-a</option></arg>
171
 
        <arg rep='repeat' choice='plain'>
172
 
          <replaceable>CLIENT</replaceable>
173
 
        </arg>
174
 
      </group>
175
 
    </cmdsynopsis>
176
 
    <cmdsynopsis>
177
 
      <command>&COMMANDNAME;</command>
178
 
      <group>
179
175
          <arg choice="plain"><option>--verbose</option></arg>
180
176
          <arg choice="plain"><option>-v</option></arg>
181
177
          <sbr/>