Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | [CLOUD-319] Make mixlib-log an optional dependency | Ryan Cragun | 2017-04-20 | 4 | -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 issue | Lamont Granquist | 2016-12-06 | 1 | -4/+4 | |
| | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | |||||
* | Chefstyle fixes | Tim Smith | 2016-10-13 | 2 | -4/+2 | |
| | | | | Signed-off-by: Tim Smith <tsmith@chef.io> | |||||
* | Fix following bug: | jonyrock | 2016-06-08 | 1 | -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. | |||||
* | Chefstyle and modernisev1.4.1 | Thom May | 2016-06-08 | 6 | -84/+75 | |
| | | | | Signed-off-by: Thom May <thom@may.lt> | |||||
* | bump version for release | Thom May | 2016-06-08 | 1 | -1/+1 | |
| | | | | Signed-off-by: Thom May <thom@may.lt> | |||||
* | Bump version for 1.4.0v1.4.0 | Jay Mundrawala | 2016-01-19 | 1 | -1/+1 | |
| | ||||||
* | Bump to 1.4.0.rc.1 | Jay Mundrawala | 2015-12-16 | 1 | -1/+1 | |
| | ||||||
* | Make hashing functions backwards compatible with mixlib-authentication 1.3 | Jay Mundrawala | 2015-12-16 | 3 | -8/+9 | |
| | | | | | | | 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 | |||||
* | Prepare 1.4.0.rc.0jdm/1.4.0.rc.0 | Jay Mundrawala | 2015-12-11 | 1 | -1/+1 | |
| | ||||||
* | 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 | 3 | -3/+3 | |
| | ||||||
* | Sign x-ops-server-api-version header | Jay Mundrawala | 2015-11-30 | 3 | -6/+23 | |
| | ||||||
* | Modify validate function to use the same parameter ordering as other functions | Jay Mundrawala | 2015-11-30 | 2 | -4/+4 | |
| | ||||||
* | Add some notes about deprecations and private things | Jay Mundrawala | 2015-11-30 | 1 | -14/+17 | |
| | ||||||
* | Added signature verification for signing version 1.3 | Jay Mundrawala | 2015-11-30 | 1 | -2/+9 | |
| | ||||||
* | 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 | 2 | -12/+59 | |
| | ||||||
* | Allow passing in the digest type to digester | Jay Mundrawala | 2015-11-10 | 3 | -15/+14 | |
| | | | | | It was assuming SHA1, we're going to want to be able to pass in other values | |||||
* | Add version.rb | Jay Mundrawala | 2015-11-10 | 1 | -0/+21 | |
| | ||||||
* | 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. | |||||
* | 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 | 2 | -20/+26 | |
| | ||||||
* | 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 | 2 | -2/+2 | |
| | | | | | ...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 | 2 | -10/+18 | |
| | | | | | | | | * 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] ostructs and extend both are very slow | Daniel DeLeo | 2010-07-21 | 1 | -1/+7 | |
| | ||||||
* | [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 | 4 | -44/+136 | |
| | ||||||
* | [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 | 2 | -5/+19 | |
|\ | | | | | | | | | Conflicts: lib/mixlib/authentication/signedheaderauth.rb | |||||
| * | fix CHEF-780 by signing the entire post body (including multipart boundaries) | Tim Hinderliter | 2009-12-28 | 2 | -5/+20 | |
| | | | | | | | | | | 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 | 3 | -43/+36 | |
| | | ||||||
* | | Merge branch 'total-integration' of ↵ | Adam Jacob | 2010-02-18 | 2 | -9/+23 | |
|\ \ | | | | | | | | | | git://github.com/skeptomai/mixlib-authentication into skeptomai/total-integration | |||||
| * | | PL-232: Adding request path to signature | Chris Walters | 2010-02-01 | 2 | -9/+23 | |
| |/ | ||||||
* | | 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 | 2 | -3/+5 | |
| | | ||||||
* | | CHEF-902 remove digest/hmac and use openssl instead | Ian Meyer | 2010-01-29 | 2 | -5/+3 | |
|/ | ||||||
* | fix log level call and remove spurious auth header dump in a debug statement | Christopher Brown | 2009-12-10 | 2 | -2/+2 | |
| | ||||||
* | 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 | 2 | -11/+39 | |
|\ | ||||||
| * | fixed PL-316 - now splitting Authorization header into multiple headers ↵PL-316 | Tim Hinderliter | 2009-11-03 | 2 | -3/+27 | |
| | | | | | | | | X-Ops-Authorization-1, ... | |||||
| * | fix issues with cookbook uploading by encoding/authenticating more kinds of ↵ | Tim Hinderliter | 2009-10-27 | 2 | -10/+14 | |
| | | | | | | | | File form input | |||||
* | | Updating the NOTICE file, adding apache headerproductionalpha_deploy_1 | Adam Jacob | 2009-10-29 | 4 | -0/+72 | |
|/ | ||||||
* | set default log level to error | Christopher Brown | 2009-10-18 | 1 | -0/+3 | |
| | ||||||
* | Removing couchrest | Adam Jacob | 2009-08-18 | 1 | -1/+0 | |
| |