Skip to content

Digest::Base Error #261

@youreddy

Description

@youreddy

Hello,

I'm getting a Digest::Base cannot be directly inherited in Ruby when using this the fog-aws storage. Here's the stack trace from the error:

  "Request failed: 500: {\"code\"=>10001, \"description\"=>\"Digest::Base cannot be directly inherited in Ruby\", \"backtrace\"=>[
  \"vendor/bundle/ruby/2.3.0/gems/fog-aws-0.9.1/lib/fog/aws/storage.rb:588:in `digest'\", 
  \"vendor/bundle/ruby/2.3.0/gems/fog-aws-0.9.1/lib/fog/aws/storage.rb:588:in `hexdigest'\", 
  \"vendor/bundle/ruby/2.3.0/gems/fog-aws-0.9.1/lib/fog/aws/storage.rb:588:in `request'\",
   \"vendor/bundle/ruby/2.3.0/gems/fog-aws-0.9.1/lib/fog/aws/requests/storage/get_bucket.rb:43:in `get_bucket'\",
   \"vendor/bundle/ruby/2.3.0/gems/fog-aws-0.9.1/lib/fog/aws/models/storage/directories.rb:21:in `get'\",

From a quick google search, it looks like this is a reoccurring issue in Digest that others have solved used OpenSSL::Digest instead.

Here are some links to related issues that might be helpful:
aws/aws-sdk-ruby#663
chef/chef#1807

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions