Exception: ActiveSupport::EncryptedFile::InvalidKeyLengthError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/encrypted_file.rb

Instance Method Summary collapse

Constructor Details

#initializeInvalidKeyLengthError

Returns a new instance of InvalidKeyLengthError.



24
25
26
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/encrypted_file.rb', line 24

def initialize
  super "Encryption key must be exactly #{EncryptedFile.expected_key_length} characters."
end