Differences
This shows you the differences between the selected revisions of the page.
| library_session_scanfingerprint 2020-04-01 | library_session_scanfingerprint 2023-05-24 (current) | ||
| Line 19: | Line 19: | ||
| ==== [[parameters]] Parameters ==== | ==== [[parameters]] Parameters ==== | ||
| ^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
| - | | [[library_sessionoptions|SessionOptions]] ==sessionOptions== | Defines a server to scan the fingerprint of. \\ The ''[[library_sessionoptions#protocol|Protocol]]'' property must be ''Protocol.Sftp'' or ''Protocol.Scp'', or ''Protocol.Ftp'' with ''[[library_sessionoptions#ftpsecure|FtpSecure]]'' being ''FtpSecure.Implicit'' or ''FtpSecure.Explicit'', or ''Protocol.Webdav'' with ''[[library_sessionoptions#webdavsecure|WebdavSecure]]'' being true, or ''Protocol.S3''. Other than that only the ''[[library_sessionoptions#hostname|HostName]]'' needs to be set. The ''[[library_sessionoptions#portnumber|PortNumber]]'', ''[[library_sessionoptions#timeout|Timeout]]'' and few [[rawsettings|raw session settings]] can be set, if necessary. The other properties are ignored. | | + | | [[library_sessionoptions|SessionOptions]] ==sessionOptions== | Defines a server to scan the fingerprint of. \\ The ''[[library_sessionoptions#protocol|Protocol]]'' property must be ''Protocol.Sftp'' or ''Protocol.Scp'', or ''Protocol.Ftp'' with ''[[library_sessionoptions#ftpsecure|FtpSecure]]'' being ''FtpSecure.Implicit'' or ''FtpSecure.Explicit'', or ''Protocol.Webdav'' or ''%%Protocol.S3%%'' with ''[[library_sessionoptions#secure|Secure]]'' being true (default for ''%%S3%%''). Other than that only the ''[[library_sessionoptions#hostname|HostName]]'' needs to be set. The ''[[library_sessionoptions#portnumber|PortNumber]]'', ''[[library_sessionoptions#timeout|Timeout]]'' and few [[rawsettings|raw session settings]] can be set, if necessary. The other properties are ignored. | | 
| - | | string ==algorithm== | Fingerprint algorithm to use. \\ Supported algorithms are ''SHA-256'' (recommended) and ''MD5'' for SSH ([[SFTP]] and [[SCP]] protocols) and ''SHA-1'' for TLS/SSL ([[ftps|FTPS]], [[webdav|WebDAVS]] and [[S3]]). | | + | | string ==algorithm== | Fingerprint algorithm to use. \\ The recommended algorithm is ''SHA-256''. You can also use obsolete ''MD5'' for SSH ([[SFTP]] and [[SCP]] protocols) and ''SHA-1'' for TLS/SSL ([[ftps|FTPS]], [[webdav|WebDAVS]] and [[S3]]). | | 
| ==== Return Value ==== | ==== Return Value ==== | ||
| Line 34: | Line 34: | ||
| ===== [[example]] Examples ===== | ===== [[example]] Examples ===== | ||
| + | |||
| ==== Real-Life Examples ==== | ==== Real-Life Examples ==== | ||
| - | * [[library_example_known_hosts|Implementing SSH host key cache (known hosts)]]. | + | * [[library_example_known_hosts|*]]. |