Sha256: 43d53cbfe63f045ae6830c51dbf67812d16742d05d47607f44ab96115ce8fe96
Contents?: true
Size: 412 Bytes
Versions: 4
Compression:
Stored size: 412 Bytes
Contents
module Slosilo class Error < RuntimeError # 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). class InsecureKeyStorage < Error def initialize msg = "can't store a private key in a plaintext storage" super end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
slosilo-2.0.1 | lib/slosilo/errors.rb |
slosilo-2.0.0 | lib/slosilo/errors.rb |
slosilo-1.1.0 | lib/slosilo/errors.rb |
slosilo-1.0.0 | lib/slosilo/errors.rb |