AuthN signing and verification. Appears in both the client and server
Ruby
Latest commit dde604f Jul 11, 2013 @jonyrock jonyrock committed with thommay Fix following bug:
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.

README.md

Mixlib::Authentication

Build Status Master Gem Version

Mixlib::Authentication provides a class-based header signing authentication object, like the one used in Chef.

License

  • Author:: Christopher Brown (cb@chef.io)
  • Copyright:: Copyright (c) 2009-2016 Chef Software, Inc.
  • License:: Apache License, Version 2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.