Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Split using a string not a regex | Tim Smith | 2021-03-15 | 1 | -1/+1 |
| | | | | | | There's no need to use a regex here. Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | Optimize our requires | Tim Smith | 2020-08-21 | 1 | -3/+3 |
| | | | | | | Avoid requiring things that are already defined. Rubygems is very slow at traversing the filesystem. Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | Substitute require for require_relativerelative | Tim Smith | 2019-12-20 | 1 | -2/+2 |
| | | | | | | require_relative is significantly faster and should be used when available. Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | Chefstyle fixes | Tim Smith | 2019-08-06 | 1 | -26/+28 |
| | | | | Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | Update copyrights and e-mails | Tim Smith | 2018-07-30 | 1 | -3/+3 |
| | | | | Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | Silence the warning for the default positional args case. | Noah Kantrowitz | 2018-05-31 | 1 | -1/+1 |
| | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net> | ||||
* | Forgot to put sign_version in the opts which would make it nil when pulled ↵ | Noah Kantrowitz | 2018-05-31 | 1 | -0/+1 |
| | | | | | back out. Signed-off-by: Noah Kantrowitz <noah@coderanger.net> | ||||
* | Sigh, the existing arguments are positional not kwargs. | Noah Kantrowitz | 2018-05-30 | 1 | -1/+16 |
| | | | | | | 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 | -3/+3 |
|\ | |||||
| * | Move mixlib-auth debugging to trace leveltm/logging | Thom May | 2018-04-11 | 1 | -3/+3 |
| | | | | | | | | 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 | -22/+51 |
| | | | | | | | | | | | | | | along with a lot of error checking. And some YARD comments because sigh. Signed-off-by: Noah Kantrowitz <noah@coderanger.net> | ||||
* | | fix comment about ssh agent response | Matt Whiteley | 2017-09-06 | 1 | -1/+2 |
| | | | | | | | | Signed-off-by: Matt Whiteley <mwhiteley@fastly.com> | ||||
* | | make net-ssh optional | Matt Whiteley | 2017-09-06 | 1 | -15/+22 |
| | | | | | | | | Signed-off-by: Matt Whiteley <mwhiteley@fastly.com> | ||||
* | | Use SHA2 | Matt Whiteley | 2017-09-06 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Matt Whiteley <mwhiteley@fastly.com> | ||||
* | | CHEF-2381 | Matt Whiteley | 2017-09-06 | 1 | -6/+27 |
|/ | | | | Signed-off-by: Matt Whiteley <mwhiteley@fastly.com> | ||||
* | fix chefstyle offenses | Lamont Granquist | 2017-06-20 | 1 | -3/+3 |
| | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | Merge pull request #24 from chef/ryan/fix-constant-lookup | Ryan Cragun | 2017-04-25 | 1 | -1/+2 |
|\ | | | | | Fix SignedObject::DEFAULT_SERVER_API_VERSION constant scope | ||||
| * | Fix SignedObject::DEFAULT_SERVER_API_VERSION constant scoperyan/fix-constant-lookup | Ryan Cragun | 2017-04-21 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | The DEFAULT_SERVER_API_VERSION is not a constant of the SignedHeaderAuth module. Rather than forcing the constant lookup in that module we'll remove the namespace and allow the Ruby constant lookup to handle it for us. This resolves a bug where the constant lookup fails when mixlib-authentication is vendored into other projects. Signed-off-by: Ryan Cragun <me@ryan.ec> | ||||
* | | [CLOUD-319] Make mixlib-log an optional dependency | Ryan Cragun | 2017-04-20 | 1 | -5/+6 |
|/ | | | | | | | | | | 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> | ||||
* | fix Struct.new issue | Lamont Granquist | 2016-12-06 | 1 | -4/+4 |
| | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | Chefstyle fixes | Tim Smith | 2016-10-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | Chefstyle and modernisev1.4.1 | Thom May | 2016-06-08 | 1 | -26/+26 |
| | | | | Signed-off-by: Thom May <thom@may.lt> | ||||
* | Make hashing functions backwards compatible with mixlib-authentication 1.3 | Jay Mundrawala | 2015-12-16 | 1 | -4/+4 |
| | | | | | | | 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 | -3/+5 |
| | | | | 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 | -24/+10 |
| | | | | 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 | -2/+0 |
| | |||||
* | Sign x-ops-server-api-version header | Jay Mundrawala | 2015-11-30 | 1 | -4/+17 |
| | |||||
* | Modify validate function to use the same parameter ordering as other functions | Jay Mundrawala | 2015-11-30 | 1 | -3/+3 |
| | |||||
* | Add some notes about deprecations and private things | Jay Mundrawala | 2015-11-30 | 1 | -14/+17 |
| | |||||
* | Add signing algorithm v1.3 | Jay Mundrawala | 2015-11-30 | 1 | -22/+59 |
| | |||||
* | Pass digest to all the functions that will need it | Jay Mundrawala | 2015-11-30 | 1 | -9/+56 |
| | |||||
* | Allow passing in the digest type to digester | Jay Mundrawala | 2015-11-10 | 1 | -3/+3 |
| | | | | | It was assuming SHA1, we're going to want to be able to pass in other values | ||||
* | Get tests to run | Jay Mundrawala | 2015-11-10 | 1 | -1/+8 |
| | |||||
* | make proto version switching work correctly with signing_object | Daniel DeLeo | 2012-08-02 | 1 | -6/+6 |
| | |||||
* | change default sign version back to 1.0 | Daniel DeLeo | 2012-07-31 | 1 | -43/+94 |
| | | | | | | 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. | ||||
* | fixes for long user id | Christopher Brown | 2012-05-09 | 1 | -7/+19 |
| | |||||
* | [CHEF-761] ostructs and extend both are very slow | Daniel DeLeo | 2010-07-21 | 1 | -1/+7 |
| | |||||
* | [CHEF-761] extract header handling into its own class | Daniel DeLeo | 2010-07-21 | 1 | -2/+1 |
| | |||||
* | Merge branch 'CHEF-780' into CHEF-780-2 (fixes CHEF-780) | Tim Hinderliter | 2010-03-04 | 1 | -1/+6 |
|\ | | | | | | | | | Conflicts: lib/mixlib/authentication/signedheaderauth.rb | ||||
| * | fix CHEF-780 by signing the entire post body (including multipart boundaries) | Tim Hinderliter | 2009-12-28 | 1 | -1/+7 |
| | | | | | | | | | | when the POST's 'file' parameter isn't actually a File. Needs mixlib-authen CHEF-780 changes to work. modified some comments for clarity. | ||||
* | | Hashing path in request signature | Chris Walters | 2010-02-27 | 1 | -15/+16 |
| | | |||||
* | | Merge branch 'total-integration' of ↵ | Adam Jacob | 2010-02-18 | 1 | -6/+18 |
|\ \ | | | | | | | | | | git://github.com/skeptomai/mixlib-authentication into skeptomai/total-integration | ||||
| * | | PL-232: Adding request path to signature | Chris Walters | 2010-02-01 | 1 | -6/+18 |
| |/ | |||||
* | | Whoops I'm bad at committing | Ian Meyer | 2010-01-29 | 1 | -3/+1 |
| | | |||||
* | | Another way to fix the problem for Ruby 1.8.5 on CentOS | Ian Meyer | 2010-01-29 | 1 | -1/+3 |
| | | |||||
* | | CHEF-902 remove digest/hmac and use openssl instead | Ian Meyer | 2010-01-29 | 1 | -3/+1 |
|/ | |||||
* | Merge branch 'PL-316' | Christopher Brown | 2009-11-04 | 1 | -7/+15 |
|\ | |||||
| * | fixed PL-316 - now splitting Authorization header into multiple headers ↵PL-316 | Tim Hinderliter | 2009-11-03 | 1 | -2/+10 |
| | | | | | | | | X-Ops-Authorization-1, ... | ||||
| * | fix issues with cookbook uploading by encoding/authenticating more kinds of ↵ | Tim Hinderliter | 2009-10-27 | 1 | -6/+6 |
| | | | | | | | | File form input | ||||
* | | Updating the NOTICE file, adding apache headerproductionalpha_deploy_1 | Adam Jacob | 2009-10-29 | 1 | -0/+18 |
|/ |