1. 18 1月, 2017 1 次提交
  2. 17 1月, 2017 7 次提交
  3. 16 1月, 2017 1 次提交
  4. 14 1月, 2017 4 次提交
  5. 13 1月, 2017 6 次提交
  6. 12 1月, 2017 17 次提交
  7. 11 1月, 2017 4 次提交
    • P
      remote: do not check for an existing config dir · 1a5de3fe
      Pino Toscano 提交于
      When composing the path to the default known_hosts file (for the libssh
      and libssh2 drivers), do not check whether the configuration directory
      (determined by virGetUserConfigDirectory()) exists: both the drivers can
      handle non-existing files, and are able to create them (and their
      directories) in that case.
      
      This adds a small behaviour change: before, the key for an unknown host,
      and manually accepted, was saved only if the configuration directory
      existed -- a bit incoherent behaviour though.
      1a5de3fe
    • P
      remote: fix logic for known_hosts and keyfile checks · 45c4a70c
      Pino Toscano 提交于
      If any of them is specified for the libssh and libssh2 drivers, there is
      no need to depend on checks based on other paths: in particular, a
      specified path for known_hosts was ignored if the local config directory
      could not be determined, and the path for keyfile was ignored if the
      home could not be determined.
      
      Instead, lazily determine and use these two paths only in case they are
      needed.
      45c4a70c
    • P
      rpc: libssh: allow a NULL known_hosts file · 408a1ce5
      Pino Toscano 提交于
      Make sure that virNetLibsshSessionSetHostKeyVerification accepts a NULL
      value for the path to the known_hosts file:
      - call ssh_options_set(SSH_OPTIONS_KNOWNHOSTS) anyway, using /dev/null,
        otherwise libssh will use its default path
      - do not call ssh_write_knownhost when no known hosts file was set
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1406457
      408a1ce5
    • A
      NEWS: Add trailing periods to all sentences · 97dbf2b6
      Andrea Bolognani 提交于
      Suggested-by: NJohn Ferlan <jferlan@redhat.com>
      97dbf2b6