summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 3.0.10 by Chef Expeditorv3.0.10Chef Expeditor2021-03-151-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.9 by Chef Expeditorv3.0.9Chef Expeditor2021-03-151-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #54 from chef/chefstyleTim Smith2021-03-151-2/+2
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Replace __FILE__ with __dir__ and use safe operatorschefstyleTim Smith2020-09-081-2/+2
| | | | | | | | | | | | A few new chefstyle rules to improve readability here. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 3.0.8 by Chef Expeditorv3.0.8Chef Expeditor2021-03-151-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Split using a string not a regexTim Smith2021-03-151-1/+1
|/ | | | | | There's no need to use a regex here. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 3.0.7 by Chef Expeditorv3.0.7Chef Expeditor2020-08-211-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Optimize our requiresTim Smith2020-08-213-6/+6
| | | | | | Avoid requiring things that are already defined. Rubygems is very slow at traversing the filesystem. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 3.0.6 by Chef Expeditorv3.0.6Chef Expeditor2019-12-301-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Substitute require for require_relativerelativeTim Smith2019-12-205-8/+8
| | | | | | require_relative is significantly faster and should be used when available. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 3.0.5 by Chef Expeditorv3.0.5Chef Expeditor2019-12-191-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.4 by Chef Expeditorv3.0.4Chef Expeditor2019-10-311-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.3 by Chef Expeditorv3.0.3Chef Expeditor2019-08-071-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Chefstyle fixesTim Smith2019-08-063-28/+30
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Chefstyle autocorrectsTim Smith2019-08-063-3/+3
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 3.0.2 by Chef Expeditor3.0.2Chef Expeditor2019-06-011-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.1 by Chef Expeditorv3.0.1Chef Expeditor2019-04-231-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* update travis, drop ruby < 2.5, major version bumplcg/version-bumpLamont Granquist2019-01-041-2/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 2.1.5 by Chef Expeditorv2.1.5Chef Expeditor2018-12-191-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 2.1.4 by Chef Expeditorv2.1.4Chef Expeditor2018-08-021-1/+1
|
* Bump version to 2.1.3 by Chef Expeditorv2.1.3Chef Expeditor2018-07-311-1/+1
|
* Update copyrights and e-mailsTim Smith2018-07-306-13/+14
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 2.1.2 by Chef Expeditorv2.1.2Chef Expeditor2018-06-261-1/+1
|
* Bump version to 2.1.1 by Chef Expeditorv2.1.1Chef Expeditor2018-06-011-1/+1
|
* Merge pull request #39 from coderanger/ssh-agentThom May2018-06-011-1/+1
|\ | | | | Silence the warning for the default positional args case
| * Silence the warning for the default positional args case.Noah Kantrowitz2018-05-311-1/+1
| | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | Bump version to 2.1.0 by Chef Expeditorv2.1.0Chef Expeditor2018-05-311-1/+1
| |
* | Bump version to 2.0.2 by Chef Expeditorv2.0.2Chef Expeditor2018-05-311-1/+1
| |
* | Merge pull request #37 from coderanger/ssh-agentNoah Kantrowitz2018-05-311-0/+1
|\ \ | |/ | | Forgot to put sign_version in the opts which would make it nil when p…
| * Forgot to put sign_version in the opts which would make it nil when pulled ↵Noah Kantrowitz2018-05-311-0/+1
| | | | | | | | | | back out. Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | Bump version to 2.0.1 by Chef Expeditorv2.0.1Chef Expeditor2018-05-311-1/+1
|/
* Sigh, the existing arguments are positional not kwargs.Noah Kantrowitz2018-05-301-1/+16
| | | | | | Make both syntaxes do the right thing. Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* Merge branch 'master' into ssh-agentNoah Kantrowitz2018-05-295-21/+21
|\
| * actually make this 2.0v2.0.0Thom May2018-04-121-1/+1
| | | | | | | | Signed-off-by: Thom May <thom@chef.io>
| * release 1.5.0v1.5.0Thom May2018-04-121-1/+1
| | | | | | | | Signed-off-by: Thom May <thom@chef.io>
| * Bump version to 1.4.3 by Expeditorv1.4.3Chef Expeditor2018-04-121-1/+1
| |
| * Move mixlib-auth debugging to trace leveltm/loggingThom May2018-04-114-20/+20
| | | | | | | | Signed-off-by: Thom May <thom@chef.io>
* | Rework the ssh-agent signing logic to require an explicit flag to enable, ↵Noah Kantrowitz2018-05-291-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 responseMatt Whiteley2017-09-061-1/+2
| | | | | | | | Signed-off-by: Matt Whiteley <mwhiteley@fastly.com>
* | make net-ssh optionalMatt Whiteley2017-09-061-15/+22
| | | | | | | | Signed-off-by: Matt Whiteley <mwhiteley@fastly.com>
* | Use SHA2Matt Whiteley2017-09-061-1/+1
| | | | | | | | Signed-off-by: Matt Whiteley <mwhiteley@fastly.com>
* | CHEF-2381Matt Whiteley2017-09-061-6/+27
|/ | | | Signed-off-by: Matt Whiteley <mwhiteley@fastly.com>
* Bump version to 1.4.2Ryan Cragun2017-08-171-1/+1
| | | | Signed-off-by: Ryan Cragun <me@ryan.ec>
* fix chefstyle offensesLamont Granquist2017-06-201-3/+3
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Merge pull request #24 from chef/ryan/fix-constant-lookupRyan Cragun2017-04-251-1/+2
|\ | | | | Fix SignedObject::DEFAULT_SERVER_API_VERSION constant scope
| * Fix SignedObject::DEFAULT_SERVER_API_VERSION constant scoperyan/fix-constant-lookupRyan Cragun2017-04-211-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 dependencyRyan Cragun2017-04-204-21/+54
|/ | | | | | | | | | 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 issueLamont Granquist2016-12-061-4/+4
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Chefstyle fixesTim Smith2016-10-132-4/+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.