| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
|
|
| |
require_relative is significantly faster and should be used when available.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
|
| |
|
|\
| |
| | |
Silence the warning for the default positional args case
|
| |
| |
| | |
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
|
| | |
|
| | |
|
|\ \
| |/
| | |
Forgot to put sign_version in the opts which would make it nil when p…
|
| |
| |
| |
| |
| | |
back out.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
|
|/ |
|
|
|
|
|
|
| |
Make both syntaxes do the right thing.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Thom May <thom@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Thom May <thom@chef.io>
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Thom May <thom@chef.io>
|
| |
| |
| |
| |
| |
| |
| | |
along with a lot of error checking.
And some YARD comments because sigh.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
|
| |
| |
| |
| | |
Signed-off-by: Matt Whiteley <mwhiteley@fastly.com>
|
| |
| |
| |
| | |
Signed-off-by: Matt Whiteley <mwhiteley@fastly.com>
|
| |
| |
| |
| | |
Signed-off-by: Matt Whiteley <mwhiteley@fastly.com>
|
|/
|
|
| |
Signed-off-by: Matt Whiteley <mwhiteley@fastly.com>
|
|
|
|
| |
Signed-off-by: Ryan Cragun <me@ryan.ec>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\
| |
| | |
Fix SignedObject::DEFAULT_SERVER_API_VERSION constant scope
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Signed-off-by: Thom May <thom@may.lt>
|
|
|
|
| |
Signed-off-by: Thom May <thom@may.lt>
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
We no longer has user id and path as it is not required.
|
|
|
|
| |
This removes SHA1 from v1.3. v1.0 and v1.1 support SHA1 only
|