Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [CLOUD-319] Make mixlib-log an optional dependency | Ryan Cragun | 2017-04-20 | 3 | -3/+56 |
| | | | | | | | | | | 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> | ||||
* | Chefstyle fixes | Tim Smith | 2016-10-13 | 1 | -2/+2 |
| | | | | Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | Chefstyle and modernisev1.4.1 | Thom May | 2016-06-08 | 4 | -182/+180 |
| | | | | Signed-off-by: Thom May <thom@may.lt> | ||||
* | Make hashing functions backwards compatible with mixlib-authentication 1.3 | Jay Mundrawala | 2015-12-16 | 1 | -0/+24 |
| | | | | | | | 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 | ||||
* | Update 1.3 message to match the new one proposed from the RFC processjdm/v1.3-rfc | Jay Mundrawala | 2015-12-05 | 1 | -11/+9 |
| | | | | We no longer has user id and path as it is not required. | ||||
* | Our signing versions only support 1 hashing algorithm each | Jay Mundrawala | 2015-12-05 | 1 | -121/+1 |
| | | | | This removes SHA1 from v1.3. v1.0 and v1.1 support SHA1 only | ||||
* | Use DEFAULT_SERVER_API_VERSION in all the placesjdm/sign-v1.3 | Jay Mundrawala | 2015-11-30 | 2 | -0/+10 |
| | |||||
* | Sign x-ops-server-api-version header | Jay Mundrawala | 2015-11-30 | 1 | -15/+27 |
| | |||||
* | Added signature verification for signing version 1.3 | Jay Mundrawala | 2015-11-30 | 1 | -2/+107 |
| | |||||
* | Add signing algorithm v1.3 | Jay Mundrawala | 2015-11-30 | 1 | -0/+115 |
| | |||||
* | Fix raise_error warnings | Jay Mundrawala | 2015-11-10 | 1 | -3/+3 |
| | |||||
* | Convert specs to RSpec 3.3.2 syntax with Transpec | Jay Mundrawala | 2015-11-10 | 2 | -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 | ||||
* | Get tests to run | Jay Mundrawala | 2015-11-10 | 1 | -1/+2 |
| | |||||
* | add a test for mixin usage since it's supported also | Daniel DeLeo | 2012-08-02 | 1 | -3/+14 |
| | |||||
* | make proto version switching work correctly with signing_object | Daniel DeLeo | 2012-08-02 | 1 | -5/+7 |
| | |||||
* | change default sign version back to 1.0 | Daniel DeLeo | 2012-07-31 | 1 | -69/+71 |
| | | | | | | We need to wait until Chef 11, when we can make a break to change to 1.1, because this relies on the server side supporting 1.1 to work correctly. | ||||
* | version 1.2.1: fix for parsing 1.0 client signing descriptions which do not ↵ | Tim Hinderliter | 2012-05-14 | 1 | -35/+69 |
| | | | | contain 'algorithm': default to 'sha1' if it's not there. | ||||
* | added cb to spec author block | Christopher Brown | 2012-05-09 | 1 | -0/+1 |
| | |||||
* | more upfactor of common data | Christopher Brown | 2012-05-09 | 1 | -23/+24 |
| | |||||
* | upfactor some of the common object initialization | Christopher Brown | 2012-05-09 | 1 | -42/+15 |
| | |||||
* | fixes for long user id | Christopher Brown | 2012-05-09 | 1 | -30/+122 |
| | |||||
* | switch to rspec2 | Daniel DeLeo | 2011-03-03 | 1 | -4/+0 |
| | |||||
* | Fixing spec tests | Chris Walters | 2010-10-08 | 1 | -3/+2 |
| | |||||
* | [CHEF-761] initialize with the request to access normalized headers | Daniel DeLeo | 2010-07-21 | 2 | -1/+19 |
| | | | | | | | | * Can now create the signature verification object w/ the request and then access values computed by the HTTPAuthenticationRequest object. * created a #authenticate_reqest method that can be used when signature verification is initialized w/ the request * #authenticate_user_request works as before | ||||
* | [CHEF-761] extract header handling into its own class | Daniel DeLeo | 2010-07-21 | 3 | -3/+152 |
| | |||||
* | [CHEF-761] provide visibility into time skew related auth failures | Daniel DeLeo | 2010-07-21 | 1 | -4/+38 |
| | | | | | higher layers will use this to inform the user if they got a 401 b/c of incorrect clock on the client | ||||
* | Hashing path in request signature | Chris Walters | 2010-02-27 | 1 | -11/+23 |
| | |||||
* | repro the bug in PL-450 as a spec test | Daniel DeLeo | 2010-02-26 | 1 | -0/+16 |
| | |||||
* | fixed spec tests for mixlib-authentication | Tim Hinderliter | 2010-02-22 | 1 | -13/+17 |
| | |||||
* | Modified to handle both Merb and Passenger, as they pass the File part of a | Tim Hinderliter | 2009-11-19 | 2 | -0/+289 |
multipart form upload differently. Added unit tests for this and other behaviors. |