Exception: Slosilo::Error::InsecureKeyStorage
- Inherits:
-
Slosilo::Error
- Object
- RuntimeError
- Slosilo::Error
- Slosilo::Error::InsecureKeyStorage
- Defined in:
- lib/slosilo/errors.rb
Overview
An error thrown when attempting to store a private key in an unecrypted storage. Set Slosilo.encryption_key to secure the storage or make sure to store just the public keys (using Key#public).
Instance Method Summary collapse
-
#initialize(msg = "can't store a private key in a plaintext storage") ⇒ InsecureKeyStorage
constructor
A new instance of InsecureKeyStorage.
Constructor Details
#initialize(msg = "can't store a private key in a plaintext storage") ⇒ InsecureKeyStorage
Returns a new instance of InsecureKeyStorage.
7 8 9 |
# File 'lib/slosilo/errors.rb', line 7 def initialize msg = "can't store a private key in a plaintext storage" super end |