Exception: Omnibus::ChecksumMissing

Inherits:
Error
  • Object
show all
Defined in:
lib/omnibus/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(software) ⇒ ChecksumMissing

Returns a new instance of ChecksumMissing.



218
219
220
221
222
223
224
225
226
# File 'lib/omnibus/exceptions.rb', line 218

def initialize(software)
  super <<~EOH
    Verification for #{software.name} failed due to a missing checksum.

    This added security check is used to prevent MITM attacks when downloading the
    remote file. You must specify a checksum for each version of software downloaded
    from a remote location.
  EOH
end