Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace __FILE__ with __dir__ and use safe operatorschefstyle | Tim Smith | 2020-09-08 | 1 | -2/+2 |
| | | | | | | A few new chefstyle rules to improve readability here. Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | Optimize our requires | Tim Smith | 2020-08-21 | 1 | -5/+5 |
| | | | | | | Avoid requiring things that are already defined. Rubygems is very slow at traversing the filesystem. Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | Don't freeze the constants in the specs | Tim Smith | 2019-08-06 | 1 | -29/+30 |
| | | | | | | We're abusing constants here. Kick this can down the road a bit. Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | Chefstyle autocorrects | Tim Smith | 2019-08-06 | 1 | -86/+86 |
| | | | | Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | Update copyrights and e-mails | Tim Smith | 2018-07-30 | 1 | -4/+4 |
| | | | | Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | remove hashrocket syntax | Lamont Granquist | 2018-06-26 | 1 | -27/+27 |
| | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | Sigh, the existing arguments are positional not kwargs. | Noah Kantrowitz | 2018-05-30 | 1 | -0/+3 |
| | | | | | | Make both syntaxes do the right thing. Signed-off-by: Noah Kantrowitz <noah@coderanger.net> | ||||
* | Merge branch 'master' into ssh-agent | Noah Kantrowitz | 2018-05-29 | 1 | -1/+1 |
|\ | |||||
| * | Move mixlib-auth debugging to trace leveltm/logging | Thom May | 2018-04-11 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Thom May <thom@chef.io> | ||||
* | | Rework the ssh-agent signing logic to require an explicit flag to enable, ↵ | Noah Kantrowitz | 2018-05-29 | 1 | -7/+10 |
| | | | | | | | | | | | | | | along with a lot of error checking. And some YARD comments because sigh. Signed-off-by: Noah Kantrowitz <noah@coderanger.net> | ||||
* | | make net-ssh optional | Matt Whiteley | 2017-09-06 | 1 | -1/+0 |
| | | | | | | | | Signed-off-by: Matt Whiteley <mwhiteley@fastly.com> | ||||
* | | CHEF-2381 | Matt Whiteley | 2017-09-06 | 1 | -0/+22 |
|/ | | | | Signed-off-by: Matt Whiteley <mwhiteley@fastly.com> | ||||
* | [CLOUD-319] Make mixlib-log an optional dependency | Ryan Cragun | 2017-04-20 | 1 | -2/+1 |
| | | | | | | | | | | 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 and modernisev1.4.1 | Thom May | 2016-06-08 | 1 | -129/+127 |
| | | | | Signed-off-by: Thom May <thom@may.lt> | ||||
* | 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 | 1 | -0/+6 |
| | |||||
* | 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 | 1 | -43/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 |
| | |||||
* | [CHEF-761] initialize with the request to access normalized headers | Daniel DeLeo | 2010-07-21 | 1 | -0/+17 |
| | | | | | | | | * 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 | 1 | -3/+1 |
| | |||||
* | [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 | 1 | -0/+285 |
multipart form upload differently. Added unit tests for this and other behaviors. |