Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Optimize our requires | Tim Smith | 2020-08-21 | 1 | -2/+2 |
| | | | | | | 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 | -3/+3 |
| | | | | | | 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 | -1/+1 |
| | | | | 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> | ||||
* | Move mixlib-auth debugging to trace leveltm/logging | Thom May | 2018-04-11 | 1 | -14/+14 |
| | | | | Signed-off-by: Thom May <thom@chef.io> | ||||
* | [CLOUD-319] Make mixlib-log an optional dependency | Ryan Cragun | 2017-04-20 | 1 | -12/+12 |
| | | | | | | | | | | 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 | -35/+30 |
| | | | | Signed-off-by: Thom May <thom@may.lt> | ||||
* | Make hashing functions backwards compatible with mixlib-authentication 1.3 | Jay Mundrawala | 2015-12-16 | 1 | -2/+2 |
| | | | | | | | 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 | ||||
* | Sign x-ops-server-api-version header | Jay Mundrawala | 2015-11-30 | 1 | -0/+2 |
| | |||||
* | Modify validate function to use the same parameter ordering as other functions | Jay Mundrawala | 2015-11-30 | 1 | -1/+1 |
| | |||||
* | Added signature verification for signing version 1.3 | Jay Mundrawala | 2015-11-30 | 1 | -2/+9 |
| | |||||
* | Pass digest to all the functions that will need it | Jay Mundrawala | 2015-11-30 | 1 | -3/+3 |
| | |||||
* | Allow passing in the digest type to digester | Jay Mundrawala | 2015-11-10 | 1 | -2/+2 |
| | | | | | It was assuming SHA1, we're going to want to be able to pass in other values | ||||
* | version 1.2.1: fix for parsing 1.0 client signing descriptions which do not ↵ | Tim Hinderliter | 2012-05-14 | 1 | -0/+6 |
| | | | | contain 'algorithm': default to 'sha1' if it's not there. | ||||
* | fixes for long user id | Christopher Brown | 2012-05-09 | 1 | -13/+7 |
| | |||||
* | inheriting from a struct fails when the file is loaded twice | Daniel DeLeo | 2010-07-22 | 1 | -2/+1 |
| | | | | | | | | for some totally weird reason, starting chef-server via the rackup file causes mixlib/authentication to get loaded twice. This causes a superclass mismatch when inheriting from Struct.new. Since we aren't adding any behavior to the struct, we can just assign it to a constant and get the same results. | ||||
* | [CHEF-761] revert to verifying the headers in initialize | Daniel DeLeo | 2010-07-21 | 1 | -2/+1 |
| | | | | | ...so that malformed requests are caught before we try to use any of their headers | ||||
* | [CHEF-761] initialize with the request to access normalized headers | Daniel DeLeo | 2010-07-21 | 1 | -7/+14 |
| | | | | | | | | * 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] rewrite delegation using Forwardable | Daniel DeLeo | 2010-07-21 | 1 | -33/+18 |
| | |||||
* | [CHEF-761] extract header handling into its own class | Daniel DeLeo | 2010-07-21 | 1 | -42/+44 |
| | |||||
* | [CHEF-761] provide visibility into time skew related auth failures | Daniel DeLeo | 2010-07-21 | 1 | -47/+139 |
| | | | | | higher layers will use this to inform the user if they got a 401 b/c of incorrect clock on the client | ||||
* | Merge branch 'CHEF-780' into CHEF-780-2 (fixes CHEF-780) | Tim Hinderliter | 2010-03-04 | 1 | -4/+13 |
|\ | | | | | | | | | Conflicts: lib/mixlib/authentication/signedheaderauth.rb | ||||
| * | fix CHEF-780 by signing the entire post body (including multipart boundaries) | Tim Hinderliter | 2009-12-28 | 1 | -4/+13 |
| | | | | | | | | | | 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 | -2/+2 |
| | | |||||
* | | PL-232: Adding request path to signature | Chris Walters | 2010-02-01 | 1 | -3/+5 |
|/ | |||||
* | fix log level call and remove spurious auth header dump in a debug statement | Christopher Brown | 2009-12-10 | 1 | -1/+1 |
| | |||||
* | Modified to handle both Merb and Passenger, as they pass the File part of a | Tim Hinderliter | 2009-11-19 | 1 | -19/+31 |
| | | | | | multipart form upload differently. Added unit tests for this and other behaviors. | ||||
* | cleanup for PL-316 | Christopher Brown | 2009-11-09 | 1 | -12/+4 |
| | |||||
* | Merge branch 'PL-316' | Christopher Brown | 2009-11-04 | 1 | -4/+24 |
|\ | |||||
| * | fixed PL-316 - now splitting Authorization header into multiple headers ↵PL-316 | Tim Hinderliter | 2009-11-03 | 1 | -1/+17 |
| | | | | | | | | X-Ops-Authorization-1, ... | ||||
| * | fix issues with cookbook uploading by encoding/authenticating more kinds of ↵ | Tim Hinderliter | 2009-10-27 | 1 | -4/+8 |
| | | | | | | | | File form input | ||||
* | | Updating the NOTICE file, adding apache headerproductionalpha_deploy_1 | Adam Jacob | 2009-10-29 | 1 | -0/+18 |
|/ | |||||
* | adjust for the headers symbol/string confusion | Christopher Brown | 2009-08-18 | 1 | -1/+1 |
| | |||||
* | cleanup the digester require | Christopher Brown | 2009-08-10 | 1 | -2/+1 |
| | |||||
* | initial commit for new repository | Christopher Brown | 2009-08-06 | 1 | -0/+101 |