/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 plugins.d/mandos-client.xml

  • Committer: Teddy Hogeborn
  • Date: 2018-08-15 09:26:02 UTC
  • 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-client">
5
 
<!ENTITY TIMESTAMP "2016-02-28">
 
5
<!ENTITY TIMESTAMP "2018-02-08">
6
6
<!ENTITY % common SYSTEM "../common.ent">
7
7
%common;
8
8
]>
40
40
      <year>2014</year>
41
41
      <year>2015</year>
42
42
      <year>2016</year>
 
43
      <year>2017</year>
 
44
      <year>2018</year>
43
45
      <holder>Teddy Hogeborn</holder>
44
46
      <holder>Björn Påhlsson</holder>
45
47
    </copyright>
693
695
    </variablelist>
694
696
  </refsect1>
695
697
  
696
 
<!--   <refsect1 id="bugs"> -->
697
 
<!--     <title>BUGS</title> -->
698
 
<!--     <para> -->
699
 
<!--     </para> -->
700
 
<!--   </refsect1> -->
 
698
  <refsect1 id="bugs">
 
699
    <title>BUGS</title>
 
700
    <xi:include href="../bugs.xml"/>
 
701
  </refsect1>
701
702
  
702
703
  <refsect1 id="example">
703
704
    <title>EXAMPLE</title>
843
844
      </varlistentry>
844
845
      <varlistentry>
845
846
        <term>
846
 
          <ulink url="http://www.gnu.org/software/gnutls/"
847
 
          >GnuTLS</ulink>
 
847
          <ulink url="https://www.gnutls.org/">GnuTLS</ulink>
848
848
        </term>
849
849
      <listitem>
850
850
        <para>
856
856
      </varlistentry>
857
857
      <varlistentry>
858
858
        <term>
859
 
          <ulink url="http://www.gnupg.org/related_software/gpgme/"
 
859
          <ulink url="https://www.gnupg.org/related_software/gpgme/"
860
860
                 >GPGME</ulink>
861
861
        </term>
862
862
        <listitem>
900
900
      </varlistentry>
901
901
      <varlistentry>
902
902
        <term>
903
 
          RFC 4346: <citetitle>The Transport Layer Security (TLS)
904
 
          Protocol Version 1.1</citetitle>
 
903
          RFC 5246: <citetitle>The Transport Layer Security (TLS)
 
904
          Protocol Version 1.2</citetitle>
905
905
        </term>
906
906
      <listitem>
907
907
        <para>
908
 
          TLS 1.1 is the protocol implemented by GnuTLS.
 
908
          TLS 1.2 is the protocol implemented by GnuTLS.
909
909
        </para>
910
910
      </listitem>
911
911
      </varlistentry>
922
922
      </varlistentry>
923
923
      <varlistentry>
924
924
        <term>
925
 
          RFC 5081: <citetitle>Using OpenPGP Keys for Transport Layer
 
925
          RFC 6091: <citetitle>Using OpenPGP Keys for Transport Layer
926
926
          Security</citetitle>
927
927
        </term>
928
928
      <listitem>