libsshpp v0.1.7
Modern C++17 wrapper for libssh
Loading...
Searching...
No Matches
host_key_verifier.hpp File Reference
#include <sshpp/config.hpp>
#include <sshpp/export.hpp>
#include <sshpp/fwd.hpp>
#include <sshpp/key.hpp>
#include <sshpp/known_hosts.hpp>
#include <cstdint>
#include <functional>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for host_key_verifier.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sshpp::InsecureOptIn
 
class  sshpp::HostKeyVerifier
 Policy object consulted by Session::verify_host_key(). See docs/design/04 ยง4.6. More...
 
struct  sshpp::HostKeyVerifier::Context
 
class  sshpp::StrictHostKeyPolicy
 Reject anything not already in known_hosts. The only safe default. More...
 
class  sshpp::TofuHostKeyPolicy
 Accept-and-remember on first use; reject on change (OpenSSH accept-new). More...
 
class  sshpp::AcceptAnyHostKeyPolicy
 Accept everything. Requires the i_understand_this_is_insecure() tag. More...
 
class  sshpp::PinnedHostKeyPolicy
 Pin one or more fingerprints; ignores known_hosts entirely. More...
 
class  sshpp::CallbackHostKeyPolicy
 Delegates to a user callback (e.g. a GUI prompt). More...
 

Namespaces

namespace  sshpp
 

Functions

InsecureOptIn sshpp::i_understand_this_is_insecure ()