Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #6016

Closed
Open
Created Jan 09, 2014 by Administrator@rootOwner

gems fog and jwt giving trouble 6-4-stable

Created by: spieiga

In 6-4-stable, when I do db::migrate I get

"Digest::Digest is deprecated; use Digest"

I searched the dir for "Digest::Digest" and found them in the fog and jwt gems

/home/git/gitlab/log/unicorn.stderr.log:Digest::Digest is deprecated; use Digest
/home/git/gitlab/log/sidekiq.log:Digest::Digest is deprecated; use Digest
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/fog-1.3.1/lib/fog/core/hmac.rb:      @digest = OpenSSL::Digest::Digest.new('sha1')
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/fog-1.3.1/lib/fog/core/hmac.rb:        @digest = OpenSSL::Digest::Digest.new('sha256')
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/fog-1.3.1/lib/fog/cloudstack.rb:    @@digest  = OpenSSL::Digest::Digest.new('sha1')
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/jwt-0.1.8/lib/jwt.rb:    private_key.sign(OpenSSL::Digest::Digest.new(algorithm.sub('RS', 'sha')), msg)
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/jwt-0.1.8/lib/jwt.rb:    public_key.verify(OpenSSL::Digest::Digest.new(algorithm.sub('RS', 'sha')), signature, signing_input)
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/jwt-0.1.8/lib/jwt.rb:    OpenSSL::HMAC.digest(OpenSSL::Digest::Digest.new(algorithm.sub('HS', 'sha')), key, msg)

latest fog fixes this and is on 1.19.0, can we update the Gemfile?

for jwt, https://github.com/progrium/ruby-jwt has been updated in the master, but not released yet :(

Assignee
Assign to
Time tracking