summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [CLOUD-319] Make mixlib-log an optional dependencyryan/cloud-319Ryan Cragun2017-04-199-27/+117
| | | | | | | | | | This change makes mixlib-log an optional dependency. When it's available in the LOAD_PATH it will be used by default, otherwise, all logging will will be forwarded to a null logger that does nothing. This is useful for cases where small utilities can consume mixlib-authentication and not have to pull in additional gems. Signed-off-by: Ryan Cragun <me@ryan.ec>
* ninja fixLamont Granquist2016-12-062-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Merge pull request #20 from chef/updatesThom May2016-12-065-16/+24
|\ | | | | Test on modern ruby / use rake 11
| * and use matrix and allow_failure for ruby-headLamont Granquist2016-12-061-4/+8
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * bump the rubies and add some bundle/rubygems updatingLamont Granquist2016-12-061-3/+10
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * fix Struct.new issueLamont Granquist2016-12-061-4/+4
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * Chefstyle fixesTim Smith2016-10-133-6/+4
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Use rake 11Tim Smith2016-10-131-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Specify specific ruby versions in TravisTim Smith2016-10-131-3/+2
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix following bug:jonyrock2016-06-081-1/+2
| | | | | | It's possible that a request contains more than nine headers like "x_ops_authorization_n". In this case headers will be sorted in the wrong way. The first will be "x_ops_authorization_1", the second "x_ops_authorization_10" and so on. So that request signature transfered by parts in "x_ops_authorization_n" headers will be reconstructed in wrong way. So that authentication will fail.
* Chefstyle and modernisev1.4.1Thom May2016-06-0814-313/+278
| | | | Signed-off-by: Thom May <thom@may.lt>
* bump version for releaseThom May2016-06-081-1/+1
| | | | Signed-off-by: Thom May <thom@may.lt>
* Merge pull request #18 from glensc/patch-1Thom May2016-06-081-1/+1
|\ | | | | Update mixlib-authentication.gemspec
| * Update mixlib-authentication.gemspecElan Ruusamäe2016-06-021-1/+1
|/ | | fix rspec deps being added as runtime deps
* Merge pull request #15 from felixonmars/patch-1Tim Smith2016-02-041-1/+1
|\ | | | | Fix a typo: langauge -> language
| * Fix a typo: langauge -> languageFelix Yan2016-02-041-1/+1
|/
* Merge pull request #14 from tas50/masterThom May2016-01-253-19/+16
|\ | | | | Opscode -> Chef and rdoc -> md
| * rdoc -> md and updatesTim Smith2016-01-203-19/+16
|/
* Merge pull request #13 from chef/jdm/1.4.0Jay Mundrawala2016-01-192-2/+3
|\ | | | | Prepare 1.4.0 release
| * Bump version for 1.4.0v1.4.0Jay Mundrawala2016-01-191-1/+1
| |
| * Update changelog for 1.4.0Jay Mundrawala2016-01-191-1/+2
|/
* Bump to 1.4.0.rc.1Jay Mundrawala2015-12-161-1/+1
|
* Merge pull request #12 from chef/jdm/hash-backcompatJay Mundrawala2015-12-164-8/+33
|\ | | | | Make hashing functions backwards compatible with mixlib-authentication 1.3
| * Make hashing functions backwards compatible with mixlib-authentication 1.3Jay Mundrawala2015-12-164-8/+33
|/ | | | | | | I had assumed that those functions were only used internally to mixlib-authentication. It seems that oc-chef-pedant tests use these functions. This patch makes the function backwards compatible by defaulting to using SHA1 for the digester if one is not supplied
* Merge pull request #11 from chef/jdm/1.4.0.rc.0Jay Mundrawala2015-12-111-1/+1
|\ | | | | Prepare 1.4.0.rc.0
| * Prepare 1.4.0.rc.0jdm/1.4.0.rc.0Jay Mundrawala2015-12-111-1/+1
|/
* Merge pull request #10 from chef/jdm/v1.3-rfcJay Mundrawala2015-12-102-159/+25
|\ | | | | Match changes requested in the RFC process for 1.3 signing
| * Update 1.3 message to match the new one proposed from the RFC processjdm/v1.3-rfcJay Mundrawala2015-12-052-14/+14
| | | | | | | | We no longer has user id and path as it is not required.
| * Our signing versions only support 1 hashing algorithm eachJay Mundrawala2015-12-052-145/+11
|/ | | | This removes SHA1 from v1.3. v1.0 and v1.1 support SHA1 only
* Merge pull request #8 from chef/jdm/sign-v1.3Jay Mundrawala2015-11-308-40/+396
|\ | | | | Add signing version 1.3
| * Use DEFAULT_SERVER_API_VERSION in all the placesjdm/sign-v1.3Jay Mundrawala2015-11-305-3/+13
| |
| * Sign x-ops-server-api-version headerJay Mundrawala2015-11-304-21/+50
| |
| * Modify validate function to use the same parameter ordering as other functionsJay Mundrawala2015-11-302-4/+4
| |
| * Add some notes about deprecations and private thingsJay Mundrawala2015-11-301-14/+17
| |
| * Added signature verification for signing version 1.3Jay Mundrawala2015-11-302-4/+116
| |
| * Add signing algorithm v1.3Jay Mundrawala2015-11-302-22/+174
| |
| * Pass digest to all the functions that will need itJay Mundrawala2015-11-303-12/+63
| |
| * Allow passing in the digest type to digesterJay Mundrawala2015-11-103-15/+14
|/ | | | | It was assuming SHA1, we're going to want to be able to pass in other values
* Merge pull request #7 from chef/jdm/cleanupJay Mundrawala2015-11-1010-64/+109
|\ | | | | Cleanup mixlib-authentication
| * Add rake to gemspecJay Mundrawala2015-11-102-2/+1
| |
| * Use document formatter for rspecJay Mundrawala2015-11-101-1/+1
| |
| * Add version.rbJay Mundrawala2015-11-102-5/+26
| |
| * Add travis.ymlJay Mundrawala2015-11-102-0/+12
| |
| * Fix raise_error warningsJay Mundrawala2015-11-101-3/+3
| |
| * Convert specs to RSpec 3.3.2 syntax with TranspecJay Mundrawala2015-11-102-53/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This conversion is done by Transpec 3.1.1 with the following command: transpec * 26 conversions from: obj.should to: expect(obj).to * 17 conversions from: == expected to: eq(expected) * 14 conversions from: obj.should_not to: expect(obj).not_to * 7 conversions from: obj.should_receive(:message) to: expect(obj).to receive(:message) * 5 conversions from: lambda { }.should to: expect { }.to * 1 conversion from: lambda { }.should_not to: expect { }.not_to For more details: https://github.com/yujinakayama/transpec#supported-conversions
| * Add Gemfile.lock to gitignoreJay Mundrawala2015-11-101-0/+2
| |
| * Get tests to runJay Mundrawala2015-11-106-6/+17
|/
* Merge pull request #6 from chef/ksubrama/gemspecKartik Null Cating-Subramanian2015-10-091-1/+2
|\ | | | | Add gemspec files to allow bundler to run from the gem
| * Add gemspec files to allow bundler to run from the gemKartik Null Cating-Subramanian2015-10-091-1/+2
|/
* Ship Gemfile so tests can run from the gemJohn Keiser2015-09-301-1/+1
|