struct

Krikri::PluginHelpers::Pkey::LoadFailure

Inherits Struct < Value < Object

The failure message the Ansible module's load_privatekey produces for an unparsable key: Python's cryptography raises ValueError whose str() is the "(message, [OpenSSLError...])" tuple repr, and the module prefixes it. The message itself is cryptography's fixed text; the OpenSSLError entries come from libcrypto's error queue (same codes Ansible reports, since both link the target's libcrypto).

passphrase_problem is the module's TypeError branch instead - "Wrong or empty passphrase provided for private key" - used when the password/password-less attempt mismatch is the failure itself.

Constructors

new(passphrase_problem : Bool, message : String)
Source

Instance methods

clone
Source
copy_with(passphrase_problem _passphrase_problem = @passphrase_problem, message _message = @message)
Source
message
passphrase_problem