Up to [cvs.NetBSD.org] / pkgsrc / security / ruby-oauth
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Pullup ticket #7382 - requested by taca
security/ruby-oauth: Security fix
Revisions pulled up:
- security/ruby-oauth/Makefile 1.29
- security/ruby-oauth/PLIST 1.16
- security/ruby-oauth/distinfo 1.26
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Nov 8 13:44:13 UTC 2026
Modified Files:
pkgsrc/security/ruby-oauth: Makefile PLIST distinfo
Log Message:
security/ruby-oauth: update to 1.1.9
1.1.9 (2026-11-07)
Added
* access_token_cross_origin_requests consumer option (default false):
AccessToken#request now refuses an absolute service URI whose origin
differs from the configured :site, raising OAuth::Error, so the signed
OAuth Authorization header is not sent to a different host. Same-origin
absolute URIs and relative paths are unaffected. Set the option to true
to restore cross-origin service calls. [CWE-918]
* kettle-jem-template-20260720-001 - READMEs can now display configured
corporate sponsor logos.
* Spec coverage for OAuth::Client::Helper, the query_string OAuth signing
scheme in lib/oauth/client/net_http.rb, and the
OAuth::Error/OAuth::Unauthorized/OAuth::Problem classes — none previously
had a dedicated spec file.
* kettle-jem-template-20260720-005 - README Support & Community links now
include RubyForum.
* kettle-jem-template-20260726-001 - Projects now include YARD lint
configuration and documentation dependencies so documentation issues fail
before generated docs are refreshed.
* kettle-jem-template-20260727-001 - Spec harness documentation now lists
the RSpec helpers provided by kettle-test.
* kettle-jem-template-20260729-005 - Gemspec metadata now publishes this
project's RubyForum tag as mailing_list_uri, and support docs link to the
tagged RubyForum community alongside Discord.
* kettle-jem-template-20260913-001 - Templating now also surfaces a review
entry in dependency_conflicts.resolve when a direct development dependency
doesn't support one or more of this project's declared engines: and has no
template-managed modular home (e.g. sqlite3 on jruby). Review each entry
and pick a resolution per the project's own engine support needs.
Changed
* [kc] kettle-jem/prepare: updated 22 project files:
- configuration (2)
- dependencies (20)
* [kc] kettle-jem/template: updated 51 project files:
- code and tests (3)
- dependencies (7)
- documentation (2)
- other (4)
- workflows (35)
* Dependency floors raised to the latest releases, including auth-sanitizer
>= 0.2.4 (Hash#inspect redaction in debug logging, GHSA-cmh8-5q25-68v6).
* kettle-jem-template-20260716-002 - Generated gemspec manifests now ship
fewer repository-only files by default to reduce downstream distro
packaging churn.
* kettle-jem-template-20260720-002 - Development Gemfiles now use the
released tree_sitter_language_pack gem 1.13.3 or newer by default.
* kettle-jem-template-20260725-002 - Version specs now use anonymous_loader
to cover version.rb without redefining constants, or are removed when
version specs are not managed for the project.
* kettle-jem-template-20260728-001 - Generated Ruby workflows now use
clearer setup-ruby-flash planning and can prepare appraisal-only jobs
without installing the main Gemfile bundle.
* kettle-jem-template-20260801-001 - Generated README gem dashboard links
now use ClickGems instead of BestGems.
* [kc] kettle-jem/prepare: updated 15 project files:
- configuration (1)
- dependencies (14)
* [kc] kettle-jem/template: updated 50 project files:
- code and tests (1)
- configuration (1)
- dependencies (12)
- documentation (1)
- other (3)
- workflows (32)
Fixed
Too many to write here, please refer
<https://github.com/ruby-oauth/oauth/releases#release-v1.1.9> in detail.
security/ruby-oauth: update to 1.1.9 1.1.9 (2026-11-07) Added * access_token_cross_origin_requests consumer option (default false): AccessToken#request now refuses an absolute service URI whose origin differs from the configured :site, raising OAuth::Error, so the signed OAuth Authorization header is not sent to a different host. Same-origin absolute URIs and relative paths are unaffected. Set the option to true to restore cross-origin service calls. [CWE-918] * kettle-jem-template-20260720-001 - READMEs can now display configured corporate sponsor logos. * Spec coverage for OAuth::Client::Helper, the query_string OAuth signing scheme in lib/oauth/client/net_http.rb, and the OAuth::Error/OAuth::Unauthorized/OAuth::Problem classes — none previously had a dedicated spec file. * kettle-jem-template-20260720-005 - README Support & Community links now include RubyForum. * kettle-jem-template-20260726-001 - Projects now include YARD lint configuration and documentation dependencies so documentation issues fail before generated docs are refreshed. * kettle-jem-template-20260727-001 - Spec harness documentation now lists the RSpec helpers provided by kettle-test. * kettle-jem-template-20260729-005 - Gemspec metadata now publishes this project's RubyForum tag as mailing_list_uri, and support docs link to the tagged RubyForum community alongside Discord. * kettle-jem-template-20260913-001 - Templating now also surfaces a review entry in dependency_conflicts.resolve when a direct development dependency doesn't support one or more of this project's declared engines: and has no template-managed modular home (e.g. sqlite3 on jruby). Review each entry and pick a resolution per the project's own engine support needs. Changed * [kc] kettle-jem/prepare: updated 22 project files: - configuration (2) - dependencies (20) * [kc] kettle-jem/template: updated 51 project files: - code and tests (3) - dependencies (7) - documentation (2) - other (4) - workflows (35) * Dependency floors raised to the latest releases, including auth-sanitizer >= 0.2.4 (Hash#inspect redaction in debug logging, GHSA-cmh8-5q25-68v6). * kettle-jem-template-20260716-002 - Generated gemspec manifests now ship fewer repository-only files by default to reduce downstream distro packaging churn. * kettle-jem-template-20260720-002 - Development Gemfiles now use the released tree_sitter_language_pack gem 1.13.3 or newer by default. * kettle-jem-template-20260725-002 - Version specs now use anonymous_loader to cover version.rb without redefining constants, or are removed when version specs are not managed for the project. * kettle-jem-template-20260728-001 - Generated Ruby workflows now use clearer setup-ruby-flash planning and can prepare appraisal-only jobs without installing the main Gemfile bundle. * kettle-jem-template-20260801-001 - Generated README gem dashboard links now use ClickGems instead of BestGems. * [kc] kettle-jem/prepare: updated 15 project files: - configuration (1) - dependencies (14) * [kc] kettle-jem/template: updated 50 project files: - code and tests (1) - configuration (1) - dependencies (12) - documentation (1) - other (3) - workflows (32) Fixed Too many to write here, please refer <https://github.com/ruby-oauth/oauth/releases#release-v1.1.9> in detail.
security/ruby-oauth: update to 1.1.8 1.1.8 (2026-07-15) * TAG: v1.1.8 * COVERAGE: 69.47% -- 835/1202 lines in 42 files * BRANCH COVERAGE: 47.75% -- 159/333 branches in 42 files * 40.38% documented Changed * Raised the anonymous_loader runtime dependency floor to >= 0.1.1. * Raised the auth-sanitizer runtime dependency floor to >= 0.2.2 and switched isolated sanitizer loading to the released anonymous_loader gem, including local workspace wiring for the new runtime dependency. * Raised the oauth-tty runtime dependency floor to >= 1.0.11. * Raised the anonymous_loader runtime dependency floor to >= 0.1.2. * Retemplated generated project metadata, support documentation, CI workflows, binstubs, and development dependency floors with kettle-jem v7.0.0. Fixed * Updated the auth-sanitizer subprocess isolation spec to load the standard * test bootstrap, including Ruby 2.4 backports. * Made the Ruby 2.4 appraisal's legacy cgi dependency explicit. * Corrected RubyGems homepage metadata to point at the gem documentation site. * Corrected persisted Open Collective and repository topology metadata used by future template runs. * Package configured license files in gem release file lists. * Updated the dep-heads workflow so current TruffleRuby uses the generated * gemfiles/dep_heads.gemfile directly, avoiding Appraisal bootstrap failures * with TruffleRuby's bundled RubyGems/Bundler and gem.coop. Added * Added support for JRuby 10.1 and TruffleRuby 34.0.
security/ruby-oauth: update to 1.1.7 1.1.7 - 2026-06-15 * TAG: v1.1.7 * COVERAGE: 88.32% -- 839/950 lines in 33 files * BRANCH COVERAGE: 58.67% -- 159/271 branches in 33 files * 40.38% documented Changed * Retemplated repository metadata, workflows, modular gemfiles, documentation scaffolding, version_gem >= 1.1.12, and templating-isolated local workspace Gemfile wiring with the current kettle-jem template. * Raised the auth-sanitizer runtime dependency floor to >= 0.2.1, so OAuth consumers get hash and nested-attribute inspect redaction fixes plus downstream RBS duplicate-declaration fixes. * Raised the oauth-tty runtime dependency floor to >= 1.0.9. * Raised the oauth-tty runtime dependency floor to >= 1.0.10, removing the transitive external cgi runtime dependency for Ruby 2.4 consumers. Fixed * Restored docs/CNAME so the generated documentation site keeps its custom domain. * Pinned older Ruby appraisals to Rack 2.2 so rack-test remains compatible with the Ruby 2.4, Ruby 2.5, and JRuby 9.2 CI jobs. * Derived an RSA public key from PEM private-key strings before signature verification, matching JRuby OpenSSL behavior while preserving RSA-SHA1 verification semantics. * Removed the external cgi runtime dependency because the only cgi gem releases installable on Ruby 2.4 call String#delete_prefix, which is unavailable on Ruby 2.4. * Removed the external erb dependency from the Ruby 2.4 appraisal because Ruby 2.4 already provides ERB and the released erb gem depends on external cgi. * Added a private-key-backed RSA-SHA1 verification fallback for JRuby OpenSSL versions that raise OpenSSL::PKey::PKeyError during public-key verification.
security/ruby-oauth: update to 1.1.6 1.1.6 (2026-06-07) * TAG: v1.1.6 * COVERAGE: 89.05% -- 838/941 lines in 33 files * BRANCH COVERAGE: 60.46% -- 159/263 branches in 33 files * 40.38% documented Changed * Retemplated project workflows, appraisals, and development tooling with the current kettle-jem template. * Documented current OAuth::Consumer configuration options, including token request redirect safety settings, and corrected the OAuth 1.0a usage example. * Raised the runtime dependency floor for auth-sanitizer to >= 0.2.1. * Raised the runtime dependency floor for snaky_hash to >= 2.0.5. Security * Hardened OAuth token endpoint redirect handling after the GHSA-pp92-crg2-gfv9 review: token redirects are now bounded, resolved explicitly, and rejected when they cross origins unless explicitly enabled.
security/ruby-oauth: update to 1.1.5 1.1.4 (2026-05-16) * TAG: v1.1.4 * COVERAGE: 84.64% -- 854/1009 lines in 36 files * BRANCH COVERAGE: 54.91% -- 151/275 branches in 36 files * 40.78% documented Added * Add auth-sanitizer integration for inspect-time secret redaction in core OAuth objects. * Traditional OAuth::VERSION constant Changed * Redact sensitive values from #inspect in OAuth::Consumer, OAuth::Token, and OAuth::Signature::Base. 1.1.5 (2026-05-20) * TAG: v1.1.5 * COVERAGE: 84.79% -- 864/1019 lines in 37 files * BRANCH COVERAGE: 54.91% -- 151/275 branches in 37 files * 40.86% documented Changed * auth-sanitizer v0.1.3 Fixed * Load auth-sanitizer through an internal isolated loader so requiring oauth does not add top-level Auth or AuthSanitizer constants that may collide with downstream applications.
security/ruby-oauth: update to 1.1.3 1.1.3 - 2025-11-06 * TAG: v1.1.3 * COVERAGE: 81.70% -- 817/1000 lines in 36 files * BRANCH COVERAGE: 50.54% -- 140/277 branches in 36 files * 40.71% documented Added * base64 dependency, fixes Ruby 3.4 and 3.5 HEAD compatibility Fixed * Fix ActionController request proxy NoMethodError when building signatures - define wrap_values on OAuth::RequestProxy::Base - remove duplicate from ActionDispatchRequest - add specs
security/ruby-oauth: update to 1.1.2
1.1.1 - 2025-09-21
* TAG: v1.1.1
* COVERAGE: 81.70% -- 817/1000 lines in 36 files
* BRANCH COVERAGE: 50.54% -- 140/277 branches in 36 files
* 40.71% documented
Added
* kettle-dev v1.1.18
* Internal escape & unescape methods
- Stop relying on URI / CGI for escaping and unescaping
- They are both unstable across supported versions of Ruby (including
3.5 HEAD)
* Tests against Rails-specific code are now run in CI
* Documented OAuth 1.0, 1.0a differences
Changed
* converted minitest => rspec
Removed
* dependency on em-http-request
- now lazy Loaded so it can be optional, since some systems fail to
install it, and it doesn't seem maintained
security/ruby-oauth: update to 1.1.0
pkgsrc change: Add missing dependencies.
1.0.1 (2022-08-29)
* OAuth::CLI has been extracted to a new gem, oauth-tty, hosted on Gitlab
- The public API of oauth-tty is backwards compatible (meaning OAuth::CLI)
- The change within the oauth gem is backwards compatible as oauth-tty has
been added as a dependency
- Minor version bump is cautionary, as many lines of code have changed.
* OAuth::Comsumer#options hash is now handled by snaky_hash, which was
extracted from oauth2
- symbolized keys, dot-access and snake-case are now normalized
1.1.0 (2022-08-29)
* OAuth::Comsumer#options hash is now handled by snaky_hash, which was
extracted from oauth2 symbolized keys, dot-access and snake-case are now
normalized
security/ruby-oauth: update to 1.0.0 1.0.0 (2022-08-23) The first "Stable Release" in terms of Semantic Versioning. The oldest supported Ruby, currently 2.7, will be dropped no later than April 2025, and a new major version of this gem will be released to drop Ruby 2.7 support (and possibly other stuff).
security/ruby-oauth: update to 0.5.8 0.5.8 (2021-11-10) Added * Added more documentation files to packaged gem, e.g. SECURITY.md, CODE_OF_CONDUCT.md Fixed * Removed reference to RUBY_VERSION from gemspec, as it depends on rake release, which is problematic on some ruby engines. (by @pboling) 0.5.7 (2021-11-02) Added * Setup Rubocop (#205, #208 by @pboling) * Added CODE_OF_CONDUCT.md (#217, #218 by @pboling) * Added FUNDING.yml (#217, #218 by @pboling) * Added Client Certificate Options: :ssl_client_cert and :ssl_client_key (#136, #220 by @pboling) * Handle a nested array of hashes in OAuth::Helper.normalize (#80, #221 by @pboling) Changed * Switch from TravisCI to Github Actions (#202, #207, #176 by @pboling) * Upgrade webmock to v3.14.0 (#196 by @pboling) * Upgrade em-http-request to v1.1.7 (#173 by @pboling) * Upgrade mocha to v1.13.0 (#193 by @pboling) * HISTORY renamed to CHANGELOG.md, and follows Keep a Changelog (#214, #215 by @pboling) * CHANGELOG, LICENSE, and README now ship with packaged gem (#214, #215 by @pboling) * README.rdoc renamed to README.md (#217, #218 by @pboling) * Require plaintext signature method by default (#135 by @confiks & @pboling) Fixed * Fixed Infinite Redirect in v0.5.5, v0.5.6 (#186, #210 by @pboling) * Fixed NoMethodError on missing leading slash in path (#194, #211 by @pboling) * Fixed NoMethodError on nil request object (#165, #212 by @pboling) * Fixed Unsafe String Comparison (#156, #209 by @pboling and @drosseau) * Fixed typos in Gemspec (#204, #203, #208 by @pboling) * Copyright Notice in LICENSE - added correct years (#217, #218 by @pboling) * Fixed request proxy Class constant reference scopes - was missing :: in many places (#225, #226 by @pboling) Removed * Remove direct development dependency on nokogiri (#299 by @pboling)
security: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Unfetchable distfiles (fetched conditionally?): ./security/cyrus-sasl/distinfo cyrus-sasl-dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d.patch.v2
security: Remove SHA1 hashes for distfiles
security/ruby-oauth: update to 0.5.6 0.5.6 (2021-04-02) * Add metadata to Gemspec file * Change default timeout to be the same as Net::HTTP default, 60 seconds instead of 30 seconds. * Add support for PUT requests with Action Controller (#181)
security/ruby-oauth: update to 0.5.5 0.5.5 (2020-01-19) * Allow redirect to different host but same path * Add :allow_empty_params option (#155) * Fixes ssl-noverify * Various cleanups
ruby-oauth: update to 0.5.4. Upstream changes (from HISTORY): === 0.5.4 2017-12-08 * Fixes UnknownRequestType on Rails 5.1 for ActionDispatch::Request (xprazak2) * Various cleanups (charliesome)
Update ruby-oauth to 0.5.3 === 0.5.3 2017-05-24 * Removing legacy scripts (James Pinto) * Fix #145 - broken CLI required loading active_support (James Pinto) === 0.5.2 2017-05-17 * Adding a development dependency that had not been mentioned (James Pinto) * Use assert_nil so as to silence a Minitest 6 deprecation warning (James Pinto) * Stop bundling tests files in the gem (Michal Papis) * Minor cleanup on tests (James Pinto) * TravisCI no longer needs libcurl-dev (James Pinto) * Nokogiri 1.7 does not accept Ruby 2.0 (James Pinto) * Upgrading to CodeClimate 1.0 (James Pinto) * Adding support to Ruby 2.4 and head (James Pinto) * Locking gemspec to Rails 4 so as to allow our next version for Rails 5 (James Pinto) * Fix #113 adding paths when a full URL has been specified (James Pinto) * moving development dependency to gemspec (James Pinto) * Silencing 'Net::HTTPResponse#header is obsolete' (James Pinto) * Silencing some test warnings (James Pinto) * Silencing 'loading in progress, circular require considered harmful' (James Pinto) * Silence 'URI.escape obsolete' (James Pinto) * Refactored CLI (James Pinto) * Bug Fix, webmock 2.0 has introduced a new bug (James Pinto) * Moving test files into test/units/ (James Pinto) * Adding CodeClimate (James Pinto) * Reimplementing #82 - Debug Output Option (James Pinto) * Making a test/support dir (James Pinto) * Fix #177 - Adjusting to webmock latest recommended implementation for minitest (James Pinto) * Adding support to Ruby 2.4 and head (James Pinto) * Upgrading to CodeClimate 1.0 (James Pinto) * Nokogiri 1.7 does not accept Ruby 2.0 (James Pinto)
Update HOMEPAGE. Changes from 0.4.7 are too many to write here, please refer commit log: <https://github.com/oauth-xx/oauth-ruby/commits/master>.
Add SHA512 digests for distfiles for security category Problems found locating distfiles: Package f-prot-antivirus6-fs-bin: missing distfile fp-NetBSD.x86.32-fs-6.2.3.tar.gz Package f-prot-antivirus6-ws-bin: missing distfile fp-NetBSD.x86.32-ws-6.2.3.tar.gz Package libidea: missing distfile libidea-0.8.2b.tar.gz Package openssh: missing distfile openssh-7.1p1-hpn-20150822.diff.bz2 Package uvscan: missing distfile vlp4510e.tar.Z Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Update ruby-oauth to 0.4.7. === 0.4.7 2012-09-03 * Fix merging paths if the path is not empty * Set a configurable timeout for all requests (Rick Olson) * Fix nested hash params in Consumer#request (Ernie Miller)
Update ruby-oauth to 0.4.6. === 0.4.6 2012-04-21 * Fixed nested attributes in #normalize (Shaliko Usubov) * Make use the path component of the :site parameter (Jonathon M. Abbott) * Fixed post body's being dropped in 1.9 (Steven Hammond) * Fixed PUT request handling (Anton Panasenko)
Update ruby-oauth to 0.4.5. === 0.4.5 2011-06-25 * Add explicit require for rsa/sha1 (Juris Galang) * Use webmock to mock all http-requests in tests (Adrian Feldman) * Add gemtest support (Adrian Feldman) * Fix POST Requests with Typhoeus proxy (niedhui) * Mention Typhoeus require in the README (Kim Ahlström) * Fix incorrect hardcoded port (Ian Taylor) * Use Net::HTTPGenericRequest (Jakub Kuźma)
Update ruby-oauth to 0.4.4. === 0.4.4 2010-10-31 * Fix LoadError rescue in tests: return can't be used in this context (Hans de G raaff) * HTTP headers should be strings. (seancribbs) * ensure consumer uri gets set back to original config even if an error occurs (Brian Finney) * Yahoo uses & to split records in OAuth headers (Brian Finney) * Added support for Rails 3 in client/action_controller_request (Pelle)
Update ruby-oauth to 0.4.3. == 0.4.3 2010-09-01 * Fix for em-http proxy (ichverstehe)
Update ruby-oauth to 0.4.2. == 0.4.2 2010-08-13 * Fixed compatibility with Ruby 1.9.2 (ecavazos) * Fixed the em-http request proxy (Joshua Hull) * Fix for oauth proxy string manipulation (Jakub Suder) * Added Bundler (rc) Gemfile for easier dev/testing
Update ruby-oauth to 0.4.1. == 0.4.1 2010-06-16 * Added support for using OAuth with proxies (Marsh Gardiner) * Rails 3 Compatibility fixes (Pelle Braendgaard) * Fixed load errors on tests for missing (non-required) libraries
Import ruby-oauth-0.4.0 as security/ruby-oauth. This is a RubyGem for implementing both OAuth clients and servers in Ruby applications.
Initial revision