rack-openid2 2.0.0 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +44 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/CONTRIBUTING.md +55 -0
- data/README.md +80 -12
- data/SECURITY.md +14 -0
- data/lib/rack/openid/simple_auth.rb +1 -1
- data/lib/rack/openid/version.rb +1 -1
- data/lib/rack-openid2.rb +2 -0
- data.tar.gz.sig +0 -0
- metadata +119 -34
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8b10aad8ec35a9fab27ff8624117b8302dbeda820fcebf07201d731648525ec
|
4
|
+
data.tar.gz: 0a0dfb26595cb76fb510e4b4407b47201034d83f3d0d2320645a8e83dfe22e1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60916db4b72f6e66842dd3f2dc2f1fb13252206a4ff931f199f39138494e82a8f71eada23a4696d4cd338dc99db38e09f636339b5030c730a9180d439aadecd0
|
7
|
+
data.tar.gz: cd82cec3f3f02923b1ad227b5ed2719fbdc316131eefc41eb97cebd944cf5d74ee24de818955cb5480d234ce47c799ed681e1e51e1bb9886a5a9d7c0dfddea39
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
Since version 2.0.0, the format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## [Unreleased]
|
8
|
+
### Added
|
9
|
+
### Changed
|
10
|
+
### Fixed
|
11
|
+
### Removed
|
12
|
+
|
13
|
+
## 2.0.2 - 2024-09-25
|
14
|
+
- COVERAGE: 97.72% -- 214/219 lines in 4 files
|
15
|
+
- BRANCH COVERAGE: 86.00% -- 43/50 branches in 4 files
|
16
|
+
- 39.13% documented
|
17
|
+
### Added
|
18
|
+
- Improved integration with direnv for development
|
19
|
+
- Better test coverage
|
20
|
+
- More tests
|
21
|
+
- rots v1.0.0 for tests
|
22
|
+
### Changed
|
23
|
+
- Upgraded to ruby-openid2 v3.1.0
|
24
|
+
- Moved to oauth-xx organization
|
25
|
+
|
26
|
+
## 2.0.1 - 2024-09-05
|
27
|
+
### Added
|
28
|
+
- CHANGELOG.md
|
29
|
+
- CODE_OF_CONDUCT.md
|
30
|
+
- CONTRIBUTING.md
|
31
|
+
- SECURITY.md
|
32
|
+
### Fixed
|
33
|
+
- Typo in gemspec description
|
34
|
+
|
35
|
+
## 2.0.0 - 2024-09-04
|
36
|
+
COVERAGE: 97.72% -- 214/219 lines in 3 files
|
37
|
+
BRANCH COVERAGE: 86.00% -- 43/50 branches in 3 branches
|
38
|
+
### Changed
|
39
|
+
- Upgraded to rack v2+
|
40
|
+
- Switched ruby-openid => ruby-openid2
|
41
|
+
### Fixed
|
42
|
+
- Compatibility with Ruby 2.7+
|
43
|
+
### Removed
|
44
|
+
- Support for Ruby < 2.7
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
6
|
+
|
7
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
8
|
+
|
9
|
+
## Our Standards
|
10
|
+
|
11
|
+
Examples of behavior that contributes to a positive environment for our community include:
|
12
|
+
|
13
|
+
* Demonstrating empathy and kindness toward other people
|
14
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
15
|
+
* Giving and gracefully accepting constructive feedback
|
16
|
+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
17
|
+
* Focusing on what is best not just for us as individuals, but for the overall community
|
18
|
+
|
19
|
+
Examples of unacceptable behavior include:
|
20
|
+
|
21
|
+
* The use of sexualized language or imagery, and sexual attention or
|
22
|
+
advances of any kind
|
23
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
24
|
+
* Public or private harassment
|
25
|
+
* Publishing others' private information, such as a physical or email
|
26
|
+
address, without their explicit permission
|
27
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
28
|
+
professional setting
|
29
|
+
|
30
|
+
## Enforcement Responsibilities
|
31
|
+
|
32
|
+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
33
|
+
|
34
|
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
|
35
|
+
|
36
|
+
## Scope
|
37
|
+
|
38
|
+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
39
|
+
|
40
|
+
## Enforcement
|
41
|
+
|
42
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at peter.boling@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
|
43
|
+
|
44
|
+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
45
|
+
|
46
|
+
## Enforcement Guidelines
|
47
|
+
|
48
|
+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
|
49
|
+
|
50
|
+
### 1. Correction
|
51
|
+
|
52
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
|
53
|
+
|
54
|
+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
|
55
|
+
|
56
|
+
### 2. Warning
|
57
|
+
|
58
|
+
**Community Impact**: A violation through a single incident or series of actions.
|
59
|
+
|
60
|
+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
|
61
|
+
|
62
|
+
### 3. Temporary Ban
|
63
|
+
|
64
|
+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
|
65
|
+
|
66
|
+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
|
67
|
+
|
68
|
+
### 4. Permanent Ban
|
69
|
+
|
70
|
+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
|
71
|
+
|
72
|
+
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
73
|
+
|
74
|
+
## Attribution
|
75
|
+
|
76
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
|
77
|
+
available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
78
|
+
|
79
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
|
80
|
+
|
81
|
+
[homepage]: https://www.contributor-covenant.org
|
82
|
+
|
83
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
84
|
+
https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
## Contributing
|
2
|
+
|
3
|
+
Bug reports and pull requests are welcome on GitHub at [https://github.com/oauth-xx/rack-openid2][🚎src-main]
|
4
|
+
. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
|
5
|
+
the [code of conduct][🤝conduct].
|
6
|
+
|
7
|
+
To submit a patch, please fork the project and create a patch with tests.
|
8
|
+
Once you're happy with it send a pull request.
|
9
|
+
|
10
|
+
## Release
|
11
|
+
|
12
|
+
### One-time, Per-developer, Setup
|
13
|
+
|
14
|
+
**IMPORTANT**: Your public key for signing gems will need to be picked up by the line in the
|
15
|
+
`gemspec` defining the `spec.cert_chain` (check the relevant ENV variables there),
|
16
|
+
in order to sign the new release.
|
17
|
+
See: [RubyGems Security Guide][🔒️rubygems-security-guide]
|
18
|
+
|
19
|
+
### To release a new version:
|
20
|
+
|
21
|
+
1. Run `bin/setup && bin/rake` as a tests, coverage, & linting sanity check
|
22
|
+
2. Update the version number in `version.rb`
|
23
|
+
3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
|
24
|
+
4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
|
25
|
+
5. Run `git push` to trigger the final CI pipeline before release, & merge PRs
|
26
|
+
- NOTE: Remember to [check the build][🧪build]!
|
27
|
+
6. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
|
28
|
+
7. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
|
29
|
+
8. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure you will release the latest trunk code
|
30
|
+
9. Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use same timestamp, and generate same checksums
|
31
|
+
- Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
|
32
|
+
- If the echo above has no output, then it didn't work.
|
33
|
+
- Note that you'll need the `zsh/datetime` module, if running `zsh`.
|
34
|
+
- In `bash` you can use `date +%s` instead, i.e. `export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH`
|
35
|
+
10. Run `bundle exec rake build`
|
36
|
+
11. Run `bin/checksums` (more [context][🔒️rubygems-checksums-pr]) to create SHA-256 and SHA-512 checksums
|
37
|
+
- Checksums will be committed automatically by the script, but not pushed
|
38
|
+
12. Run `bundle exec rake release` which will create a git tag for the version,
|
39
|
+
push git commits and tags, and push the `.gem` file to [rubygems.org][💎rubygems]
|
40
|
+
|
41
|
+
## Contributors
|
42
|
+
|
43
|
+
[![Contributors][🖐contributors-img]][🖐contributors]
|
44
|
+
|
45
|
+
Made with [contributors-img][🖐contrib-rocks].
|
46
|
+
|
47
|
+
[🧪build]: https://github.com/oauth-xx/rack-openid2/actions
|
48
|
+
[🤝conduct]: https://github.com/oauth-xx/rack-openid2/blob/main/CODE_OF_CONDUCT.md
|
49
|
+
[🖐contrib-rocks]: https://contrib.rocks
|
50
|
+
[🖐contributors]: https://github.com/oauth-xx/rack-openid2/graphs/contributors
|
51
|
+
[🖐contributors-img]: https://contrib.rocks/image?repo=oauth-xx/rack-openid2
|
52
|
+
[💎rubygems]: https://rubygems.org
|
53
|
+
[🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
|
54
|
+
[🔒️rubygems-checksums-pr]: https://github.com/rubygems/guides/pull/325
|
55
|
+
[🚎src-main]: https://github.com/oauth-xx/rack-openid2
|
data/README.md
CHANGED
@@ -2,27 +2,65 @@
|
|
2
2
|
|
3
3
|
<div id="badges">
|
4
4
|
|
5
|
+
[![Version](https://img.shields.io/gem/v/rack-openid2.svg)](https://rubygems.org/gems/rack-openid2)
|
6
|
+
[![Downloads Today](https://img.shields.io/gem/rd/rack-openid2.svg)](https://github.com/oauth-xx/rack-openid2)
|
5
7
|
[![CI Supported Build][🚎s-wfi]][🚎s-wf]
|
6
8
|
[![CI Unsupported Build][🚎us-wfi]][🚎us-wf]
|
7
9
|
[![CI Style Build][🚎st-wfi]][🚎st-wf]
|
8
10
|
[![CI Coverage Build][🚎cov-wfi]][🚎cov-wf]
|
9
11
|
[![CI Heads Build][🚎hd-wfi]][🚎hd-wf]
|
10
12
|
|
11
|
-
[🚎s-wf]: https://github.com/
|
12
|
-
[🚎s-wfi]: https://github.com/
|
13
|
-
[🚎us-wf]: https://github.com/
|
14
|
-
[🚎us-wfi]: https://github.com/
|
15
|
-
[🚎st-wf]: https://github.com/
|
16
|
-
[🚎st-wfi]: https://github.com/
|
17
|
-
[🚎cov-wf]: https://github.com/
|
18
|
-
[🚎cov-wfi]: https://github.com/
|
19
|
-
[🚎hd-wf]: https://github.com/
|
20
|
-
[🚎hd-wfi]: https://github.com/
|
13
|
+
[🚎s-wf]: https://github.com/oauth-xx/rack-openid2/actions/workflows/supported.yml
|
14
|
+
[🚎s-wfi]: https://github.com/oauth-xx/rack-openid2/actions/workflows/supported.yml/badge.svg
|
15
|
+
[🚎us-wf]: https://github.com/oauth-xx/rack-openid2/actions/workflows/unsupported.yml
|
16
|
+
[🚎us-wfi]: https://github.com/oauth-xx/rack-openid2/actions/workflows/unsupported.yml/badge.svg
|
17
|
+
[🚎st-wf]: https://github.com/oauth-xx/rack-openid2/actions/workflows/style.yml
|
18
|
+
[🚎st-wfi]: https://github.com/oauth-xx/rack-openid2/actions/workflows/style.yml/badge.svg
|
19
|
+
[🚎cov-wf]: https://github.com/oauth-xx/rack-openid2/actions/workflows/coverage.yml
|
20
|
+
[🚎cov-wfi]: https://github.com/oauth-xx/rack-openid2/actions/workflows/coverage.yml/badge.svg
|
21
|
+
[🚎hd-wf]: https://github.com/oauth-xx/rack-openid2/actions/workflows/heads.yml
|
22
|
+
[🚎hd-wfi]: https://github.com/oauth-xx/rack-openid2/actions/workflows/heads.yml/badge.svg
|
23
|
+
|
24
|
+
-----
|
25
|
+
|
26
|
+
<div align="center">
|
27
|
+
|
28
|
+
[![Liberapay Patrons][⛳liberapay-img]][⛳liberapay]
|
29
|
+
[![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor]
|
30
|
+
[![Polar Shield][🖇polar-img]][🖇polar]
|
31
|
+
[![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
|
32
|
+
[![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
|
33
|
+
|
34
|
+
[⛳liberapay-img]: https://img.shields.io/liberapay/patrons/pboling.svg?logo=liberapay
|
35
|
+
[⛳liberapay]: https://liberapay.com/pboling/donate
|
36
|
+
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
37
|
+
[🖇sponsor]: https://github.com/sponsors/pboling
|
38
|
+
[🖇polar-img]: https://polar.sh/embed/seeks-funding-shield.svg?org=pboling
|
39
|
+
[🖇polar]: https://polar.sh/pboling
|
40
|
+
[🖇kofi-img]: https://img.shields.io/badge/buy%20me%20coffee-donate-yellow.svg
|
41
|
+
[🖇kofi]: https://ko-fi.com/O5O86SNP4
|
42
|
+
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-yellow.svg
|
43
|
+
[🖇patreon]: https://patreon.com/galtzo
|
44
|
+
|
45
|
+
<span class="badge-buymealatte">
|
46
|
+
<a href="https://www.buymeacoffee.com/pboling"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a latte&emoji=&slug=pboling&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff" /></a>
|
47
|
+
</span>
|
21
48
|
|
49
|
+
</div>
|
22
50
|
</div>
|
23
51
|
|
24
52
|
Provides a more HTTPish API around the ruby-openid library.
|
25
53
|
|
54
|
+
## Installation
|
55
|
+
|
56
|
+
Install the gem and add to the application's Gemfile by executing:
|
57
|
+
|
58
|
+
$ bundle add rack-openid2
|
59
|
+
|
60
|
+
If bundler is not being used to manage dependencies, install the gem by executing:
|
61
|
+
|
62
|
+
$ gem install rack-openid2
|
63
|
+
|
26
64
|
## Usage
|
27
65
|
|
28
66
|
You trigger an OpenID request similar to HTTP authentication. From your app, return a "401 Unauthorized" and a "WWW-Authenticate" header with the identifier you would like to validate.
|
@@ -94,6 +132,36 @@ __END__
|
|
94
132
|
</form>
|
95
133
|
```
|
96
134
|
|
135
|
+
## General Info
|
136
|
+
|
137
|
+
| Primary Namespace | `Rack::OpenID` |
|
138
|
+
|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
139
|
+
| gem name | [ruby-openid2](https://rubygems.org/gems/rack-openid2) |
|
140
|
+
| code triage | [![Open Source Helpers](https://www.codetriage.com/oauth-xx/rack-openid2/badges/users.svg)](https://www.codetriage.com/oauth-xx/rack-openid2) |
|
141
|
+
| documentation | [on Github.com][homepage], [on Rdoc.info][documentation] |
|
142
|
+
| expert support | [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github) |
|
143
|
+
| `...` 💖 | [![Liberapay Patrons][⛳liberapay-img]][⛳liberapay] [![Sponsor Me][🖇sponsor-img]][🖇sponsor] [![Follow Me on LinkedIn][🖇linkedin-img]][🖇linkedin] [![Find Me on WellFound:][✌️wellfound-img]][✌️wellfound] [![Find Me on CrunchBase][💲crunchbase-img]][💲crunchbase] [![My LinkTree][🌳linktree-img]][🌳linktree] [![Follow Me on Ruby.Social][🐘ruby-mast-img]][🐘ruby-mast] [![Tweet @ Peter][🐦tweet-img]][🐦tweet] [💻][coderme] [🌏][aboutme] |
|
144
|
+
|
145
|
+
<!-- 7️⃣ spread 💖 -->
|
146
|
+
[🐦tweet-img]: https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow%20%40galtzo
|
147
|
+
[🐦tweet]: http://twitter.com/galtzo
|
148
|
+
[🚎blog]: http://www.railsbling.com/tags/rack-openid2/
|
149
|
+
[🚎blog-img]: https://img.shields.io/badge/blog-railsbling-brightgreen.svg?style=flat
|
150
|
+
[🖇linkedin]: http://www.linkedin.com/in/peterboling
|
151
|
+
[🖇linkedin-img]: https://img.shields.io/badge/PeterBoling-blue?style=plastic&logo=linkedin
|
152
|
+
[✌️wellfound]: https://angel.co/u/peter-boling
|
153
|
+
[✌️wellfound-img]: https://img.shields.io/badge/peter--boling-orange?style=plastic&logo=wellfound
|
154
|
+
[💲crunchbase]: https://www.crunchbase.com/person/peter-boling
|
155
|
+
[💲crunchbase-img]: https://img.shields.io/badge/peter--boling-purple?style=plastic&logo=crunchbase
|
156
|
+
[🐘ruby-mast]: https://ruby.social/@galtzo
|
157
|
+
[🐘ruby-mast-img]: https://img.shields.io/mastodon/follow/109447111526622197?domain=https%3A%2F%2Fruby.social&style=plastic&logo=mastodon&label=Ruby%20%40galtzo
|
158
|
+
[🌳linktree]: https://linktr.ee/galtzo
|
159
|
+
[🌳linktree-img]: https://img.shields.io/badge/galtzo-purple?style=plastic&logo=linktree
|
160
|
+
|
161
|
+
<!-- Maintainer Contact Links -->
|
162
|
+
[aboutme]: https://about.me/peter.boling
|
163
|
+
[coderme]: https://coderwall.com/Peter%20Boling
|
164
|
+
|
97
165
|
## TODO
|
98
166
|
|
99
167
|
- 1 failing test (skipped)
|
@@ -119,8 +187,8 @@ and contributors to original `rack-openid`:
|
|
119
187
|
Made with [contributors-img][🖐contrib-rocks].
|
120
188
|
|
121
189
|
[🖐contrib-rocks]: https://contrib.rocks
|
122
|
-
[🖐contributors]: https://github.com/
|
123
|
-
[🖐contributors-img]: https://contrib.rocks/image?repo=
|
190
|
+
[🖐contributors]: https://github.com/oauth-xx/rack-openid2/graphs/contributors
|
191
|
+
[🖐contributors-img]: https://contrib.rocks/image?repo=oauth-xx/rack-openid2
|
124
192
|
|
125
193
|
## 📄 License
|
126
194
|
|
data/SECURITY.md
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# Security Policy
|
2
|
+
|
3
|
+
## Supported Versions
|
4
|
+
|
5
|
+
| Version | Supported |
|
6
|
+
|---------|-----------|
|
7
|
+
| 2.x | ✅ |
|
8
|
+
| 1.x | ❌ |
|
9
|
+
|
10
|
+
## Reporting a Vulnerability
|
11
|
+
|
12
|
+
Peter Boling is the primary maintainer of this gem. Please find a way
|
13
|
+
to [contact him directly](https://railsbling.com/contact) to report the issue. Include as much relevant information as
|
14
|
+
possible.
|
data/lib/rack/openid/version.rb
CHANGED
data/lib/rack-openid2.rb
ADDED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-openid2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
@@ -14,31 +14,31 @@ cert_chain:
|
|
14
14
|
-----BEGIN CERTIFICATE-----
|
15
15
|
MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
|
16
16
|
ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
|
17
|
-
|
17
|
+
A2NvbTAeFw0yNDA5MjAwODU4NDJaFw0yNTA5MjAwODU4NDJaMEMxFTATBgNVBAMM
|
18
18
|
DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
/
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
19
|
+
LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAjrxsKObI
|
20
|
+
rFQjBpzvVfqnT6JlF8/pkpgEEjFh7ex3zIerfuHzZvSrx+sRDGxQ8koWWG0Wjx8s
|
21
|
+
wkBZ5dIqvl0g3sWP5asa28u/09opxkQTC1Ao77iYxcBcwoCe/Dpf1m4Q/m6oH0kL
|
22
|
+
2AZVNJQL3UkqAcLS0tsj/s/jAKnVlsaZZE5gQiIIi8HtkvSsajtx+Cq2AxDvcWvV
|
23
|
+
/CliD+pmzYkTjvjwGm8yeyFGGGgrisJMryiZdZlkTwrQSjCzudIKbLeuG8Se4JTD
|
24
|
+
TAcT+rPubr27v1jwmtIjtiot3rf4nof7LHLb122a/0VR7cC7xPLnXw0Cq1BShvoq
|
25
|
+
/GKRdSwMNinTOGkFTK1gKnjN+3iD4zyXU3XO3CXoTr+Ju8fXPN1x4tpOMgbv8dme
|
26
|
+
WbcQMOH9ZjmA5w0bSVRL1c3NhRRpUzrKTNXBEvqOyWjUnintxWKj+cRXx+z+dUgI
|
27
|
+
dL3kj68fcsiTgl75In3C485pnCMmq1eLuVoiy3jkLNOn2lHeLt9ZK63LAgMBAAGj
|
28
|
+
fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBRhfc+2UaVYd74p
|
29
|
+
yJ1JclGiUYN8+jAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
|
30
30
|
A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
31
|
+
ggGBAA4fLU2+mQ++jBhVM2IeyvQdw1nm+0thkH4Ldv8ZOBm5ZxCPGIMoYliDDzg4
|
32
|
+
4JDFxZR1wR4sdrz/K5tWtEkN23SKzopwbNb1NIQRSLQ7nOoc+4bkuz9xwKinmIvF
|
33
|
+
D+5qsl2S27WLKFreMDtGoh0CREIMBUxU4rGTh0gtzmweGR+fnOShg4Jo0kxrjU5h
|
34
|
+
uYk/uVE+bn/jOEGs43GvKXZLyshpBrZjQ+ArbvxDht5t35zbSxerbUxUPZUbXUCW
|
35
|
+
tTyh38a9UYjAAHvnh6Y4Fi9wd4/pGNsektrzB3z/zlVj4YF2TMLX9XfNJWEGRGpO
|
36
|
+
sSkLYdtEX1WQAmuZtActVW2cL3HdQaRbiv7VbfpA0eSk0ZdZHvBCl516ZZu10uX6
|
37
|
+
82W1mg6fuezdpeBOiXwrEbZSt/oGiF4V511F6nd55p0okwHc/6nS10F/3aKJ4gwC
|
38
|
+
I5o+DRfXQHqKucx1ldFHvI2rE/kSCWqGTHN2eyu1sqCPeOoIMxrltJhaejKPkxqj
|
39
|
+
zaF9Og==
|
40
40
|
-----END CERTIFICATE-----
|
41
|
-
date: 2024-09-
|
41
|
+
date: 2024-09-25 00:00:00.000000000 Z
|
42
42
|
dependencies:
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: rack
|
@@ -58,16 +58,22 @@ dependencies:
|
|
58
58
|
name: ruby-openid2
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '3.1'
|
61
64
|
- - ">="
|
62
65
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
66
|
+
version: 3.1.0
|
64
67
|
type: :runtime
|
65
68
|
prerelease: false
|
66
69
|
version_requirements: !ruby/object:Gem::Requirement
|
67
70
|
requirements:
|
71
|
+
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '3.1'
|
68
74
|
- - ">="
|
69
75
|
- !ruby/object:Gem::Version
|
70
|
-
version:
|
76
|
+
version: 3.1.0
|
71
77
|
- !ruby/object:Gem::Dependency
|
72
78
|
name: version_gem
|
73
79
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,6 +101,9 @@ dependencies:
|
|
95
101
|
- - ">="
|
96
102
|
- !ruby/object:Gem::Version
|
97
103
|
version: '5'
|
104
|
+
- - "<"
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '6'
|
98
107
|
type: :development
|
99
108
|
prerelease: false
|
100
109
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -102,6 +111,23 @@ dependencies:
|
|
102
111
|
- - ">="
|
103
112
|
- !ruby/object:Gem::Version
|
104
113
|
version: '5'
|
114
|
+
- - "<"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '6'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: minitest-focus
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '1.4'
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '1.4'
|
105
131
|
- !ruby/object:Gem::Dependency
|
106
132
|
name: minitest-rg
|
107
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,6 +170,40 @@ dependencies:
|
|
144
170
|
- - ">="
|
145
171
|
- !ruby/object:Gem::Version
|
146
172
|
version: '13'
|
173
|
+
- !ruby/object:Gem::Dependency
|
174
|
+
name: rots
|
175
|
+
requirement: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - "~>"
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '1.0'
|
180
|
+
type: :development
|
181
|
+
prerelease: false
|
182
|
+
version_requirements: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - "~>"
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '1.0'
|
187
|
+
- !ruby/object:Gem::Dependency
|
188
|
+
name: logger
|
189
|
+
requirement: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - "~>"
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '1.6'
|
194
|
+
- - ">="
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: 1.6.1
|
197
|
+
type: :development
|
198
|
+
prerelease: false
|
199
|
+
version_requirements: !ruby/object:Gem::Requirement
|
200
|
+
requirements:
|
201
|
+
- - "~>"
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
version: '1.6'
|
204
|
+
- - ">="
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: 1.6.1
|
147
207
|
- !ruby/object:Gem::Dependency
|
148
208
|
name: kettle-soup-cover
|
149
209
|
requirement: !ruby/object:Gem::Requirement
|
@@ -164,6 +224,26 @@ dependencies:
|
|
164
224
|
- - ">="
|
165
225
|
- !ruby/object:Gem::Version
|
166
226
|
version: 1.0.2
|
227
|
+
- !ruby/object:Gem::Dependency
|
228
|
+
name: require_bench
|
229
|
+
requirement: !ruby/object:Gem::Requirement
|
230
|
+
requirements:
|
231
|
+
- - "~>"
|
232
|
+
- !ruby/object:Gem::Version
|
233
|
+
version: '1.0'
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 1.0.4
|
237
|
+
type: :development
|
238
|
+
prerelease: false
|
239
|
+
version_requirements: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - "~>"
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '1.0'
|
244
|
+
- - ">="
|
245
|
+
- !ruby/object:Gem::Version
|
246
|
+
version: 1.0.4
|
167
247
|
- !ruby/object:Gem::Dependency
|
168
248
|
name: rubocop-lts
|
169
249
|
requirement: !ruby/object:Gem::Requirement
|
@@ -272,21 +352,26 @@ executables: []
|
|
272
352
|
extensions: []
|
273
353
|
extra_rdoc_files: []
|
274
354
|
files:
|
355
|
+
- CHANGELOG.md
|
356
|
+
- CODE_OF_CONDUCT.md
|
357
|
+
- CONTRIBUTING.md
|
275
358
|
- LICENSE.txt
|
276
359
|
- README.md
|
360
|
+
- SECURITY.md
|
361
|
+
- lib/rack-openid2.rb
|
277
362
|
- lib/rack/openid.rb
|
278
363
|
- lib/rack/openid/simple_auth.rb
|
279
364
|
- lib/rack/openid/version.rb
|
280
|
-
homepage: https://github.com/
|
365
|
+
homepage: https://github.com/oauth-xx/rack-openid2
|
281
366
|
licenses:
|
282
367
|
- MIT
|
283
368
|
metadata:
|
284
|
-
homepage_uri: https://github.com/
|
285
|
-
source_code_uri: https://github.com/
|
286
|
-
changelog_uri: https://github.com/
|
287
|
-
bug_tracker_uri: https://github.com/
|
288
|
-
documentation_uri: https://www.rubydoc.info/gems/rack-openid2/2.0.
|
289
|
-
wiki_uri: https://github.com/
|
369
|
+
homepage_uri: https://github.com/oauth-xx/rack-openid2
|
370
|
+
source_code_uri: https://github.com/oauth-xx/rack-openid2/tree/v2.0.2
|
371
|
+
changelog_uri: https://github.com/oauth-xx/rack-openid2/blob/v2.0.2/CHANGELOG.md
|
372
|
+
bug_tracker_uri: https://github.com/oauth-xx/rack-openid2/issues
|
373
|
+
documentation_uri: https://www.rubydoc.info/gems/rack-openid2/2.0.2
|
374
|
+
wiki_uri: https://github.com/oauth-xx/rack-openid2/wiki
|
290
375
|
rubygems_mfa_required: 'true'
|
291
376
|
post_install_message:
|
292
377
|
rdoc_options: []
|
@@ -303,8 +388,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
303
388
|
- !ruby/object:Gem::Version
|
304
389
|
version: '0'
|
305
390
|
requirements: []
|
306
|
-
rubygems_version: 3.
|
391
|
+
rubygems_version: 3.5.18
|
307
392
|
signing_key:
|
308
393
|
specification_version: 4
|
309
|
-
summary: Provides a more HTTPish API around the ruby-
|
394
|
+
summary: Provides a more HTTPish API around the ruby-openid2 library
|
310
395
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|