Exception: SshTresor::NoMatchingSlot
- Defined in:
- lib/ssh_tresor/error.rb
Overview
Raised when no loaded agent key can decrypt any slot in a tresor.
Constant Summary
Constants inherited from Error
Error::EXIT_AGENT_CONNECTION_FAILED, Error::EXIT_DECRYPTION_FAILED, Error::EXIT_GENERAL_ERROR, Error::EXIT_KEY_NOT_FOUND
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize ⇒ NoMatchingSlot
constructor
A new instance of NoMatchingSlot.
Constructor Details
#initialize ⇒ NoMatchingSlot
Returns a new instance of NoMatchingSlot.
40 41 42 43 44 45 46 47 |
# File 'lib/ssh_tresor/error.rb', line 40 def initialize super( "No matching slot found\n" \ "Hint: Decryption requires a matching SSH agent signing capability, " \ "not just the public key", exit_code: EXIT_KEY_NOT_FOUND ) end |