Search bar offers the following options:
Term presence. The below example searches for documents that
must contain “foo”, might contain “bar” and must not contain “baz”:
+foo bar -baz
Wildcards. The below example searches for documents with words beginning with “foo”:
Search in specific fields. The following search matches all objects
in "twisted.mail" that matches “search”:
Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.
Fuzzy matches. The following search matches all documents
that have a word within 1 edit distance of “foo”:
Results provided by Lunr.js
class HashedEntry(_BaseEntry, FancyEqMixin): (source)
HashedEntry(hostSalt, hostHash, keyType, publicKey, comment)
HashedEntry is a representation of an entry in a known_hosts file where the hostname has been hashed and salted.
||Load a hashed entry from a string representing a line in a known_hosts file.|
||the 'hash magic' string used to identify a hashed line in a known_hosts file as opposed to a plaintext one.|
||the hashed representation of the hostname.|
||the salt to combine with a hostname for hashing.|
||Check to see if this entry matches a given key object.|
||Trailing garbage after the key line.|
||The type of the key; either ssh-dss or ssh-rsa.|
||The server public key indicated by this line.|
def fromString(cls, string): (source) ¶
Load a hashed entry from a string representing a line in a known_hosts file.
|string:||A complete single line from a known_hosts file, formatted as defined by OpenSSH.|
|The newly created |
|if the key, the hostname, or the is not valid encoded as valid base64|
|if the entry does not have the right number of elements and is therefore invalid, or the host/hash portion contains more items than just the host and hash.|
|if the key, once decoded from base64, is not actually an SSH key.|
IKnownHostEntry.matchesHost to compare the hash of the input to the stored hash.
|hostname:||A hostname or IP address literal to check against this entry.|
|True if this entry is for the given hostname or IP address, False otherwise.|
IKnownHostEntry.toString by base64-encoding the salt, host hash, and key.
|The string representation of this entry, with the hostname part hashed.|
the 'hash magic' string used to identify a hashed line in a known_hosts file as opposed to a plaintext one.