-
-
Save snipsnipsnip/6b4e34133a619d1e4dcc336d910e80ee to your computer and use it in GitHub Desktop.
htpasswd/htdigestファイルのままJenkinsのBasic認証をやめる ref: http://qiita.com/snipsnipsnip/items/6ee0d8cf8219fad2e696
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/ruby -rwebrick/httpauth/htdigest -e 'D = WEBrick::HTTPAuth::Htdigest.new(ARGV[0]); D.get_passwd(ARGV[1], ENV["U"], false) == D.make_passwd(ARGV[1], ENV["U"], ENV["P"]) or abort' /var/www/.htdigest realm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment