Differences

This shows you the differences between the selected revisions of the page.

faq_passphrase 2018-01-18 faq_passphrase 2022-10-21 (current)
Line 8: Line 8:
You can specify the passphrase using ''[[scriptcommand_open#passphrase|-passphrase]]'' switch of ''[[scriptcommand_open|open]]'' command in scripting and using ''[[library_sessionoptions#privatekeypassphrase|SessionOptions.PrivateKeyPassphrase]]'' in .NET assembly. You can specify the passphrase using ''[[scriptcommand_open#passphrase|-passphrase]]'' switch of ''[[scriptcommand_open|open]]'' command in scripting and using ''[[library_sessionoptions#privatekeypassphrase|SessionOptions.PrivateKeyPassphrase]]'' in .NET assembly.
-===== Unprotected Private Key =====+===== [[unprotected]] Unprotected Private Key =====
Alternatively you can store the private key unprotected (without a passphrase). Note that this imposes a security risk, if someone gains access to the key. Alternatively you can store the private key unprotected (without a passphrase). Note that this imposes a security risk, if someone gains access to the key.
-When using unprotected key with scripting, you should consider restricting access to the unprotected private key file to the local account that runs the script only (using [[https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc770962(v=ws.11)|Windows file system permissions]]).+When using unprotected key with scripting, you should consider restricting access to the unprotected private key file to the local account that runs the script only (using [[https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc770962(v=ws.11)|Windows file system permissions]]).

Last modified: by martin