Skip to content

Commit 028981a

Browse files
authored
Merge pull request #130 from omniauth/require-MFA
SECURITY updates
2 parents a321202 + dcfb14d commit 028981a

File tree

4 files changed

+42
-6
lines changed

4 files changed

+42
-6
lines changed

LICENSE renamed to LICENSE.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
MIT License
2+
13
Copyright (c) 2021, 2024 Peter H. Boling, and OmniAuth-Identity Maintainers
24
Copyright (c) 2020 Peter H. Boling, Andrew Roberts, and Jellybooks Ltd.
35
Copyright (c) 2010-2015 Michael Bleigh, and Intridea, Inc.

SECURITY.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
| Version | Supported |
6+
|---------|-----------|
7+
| 3.1.x ||
8+
| 3.0.x ||
9+
| 2.x ||
10+
| 1.x ||
11+
| 0.x ||
12+
13+
## Reporting a Vulnerability
14+
15+
Peter Boling is the primary maintainer of this gem. Please find a way
16+
to [contact him directly](https://railsbling.com/contact) to report the issue. Include as much relevant information as
17+
possible.
18+
19+
If you are interested in support for versions older than the latest release,
20+
please consider sponsoring the project / maintainer @ https://liberapay.com/pboling/donate,
21+
or find other sponsorship links in the [README].
22+
23+
[README]: README.md

maintenance-branch

Lines changed: 0 additions & 1 deletion
This file was deleted.

omniauth-identity.gemspec

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ gem_version = OmniAuth::Identity::Version::VERSION
77
OmniAuth::Identity::Version.send(:remove_const, :VERSION)
88

99
Gem::Specification.new do |spec|
10-
# See CONTRIBUTING.md
11-
spec.cert_chain = [ENV.fetch("GEM_CERT_PATH", "certs/#{ENV.fetch("GEM_CERT_USER", ENV["USER"])}.pem")]
12-
spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $PROGRAM_NAME.end_with?("gem")
13-
1410
spec.name = "omniauth-identity"
1511
spec.version = gem_version
1612
spec.authors = ["Peter Boling", "Andrew Roberts", "Michael Bleigh"]
13+
spec.email = ["[email protected]"]
14+
15+
# See CONTRIBUTING.md
16+
spec.cert_chain = [ENV.fetch("GEM_CERT_PATH", "certs/#{ENV.fetch("GEM_CERT_USER", ENV["USER"])}.pem")]
17+
spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $PROGRAM_NAME.end_with?("gem")
1718

1819
spec.summary = spec.description
1920
spec.description = "Traditional username/password based authentication system for OmniAuth"
@@ -22,14 +23,25 @@ Gem::Specification.new do |spec|
2223
spec.license = "MIT"
2324
spec.required_ruby_version = ">= 2.4"
2425

26+
spec.metadata["homepage_uri"] = "https://railsbling.com/tags/#{spec.name}/"
27+
spec.metadata["source_code_uri"] = "#{spec.homepage}/tree/v#{spec.version}"
28+
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md"
29+
spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"
30+
spec.metadata["documentation_uri"] = "https://www.rubydoc.info/gems/#{spec.name}/#{spec.version}"
31+
spec.metadata["wiki_uri"] = "#{spec.homepage}/wiki"
32+
spec.metadata["funding_uri"] = "https://liberapay.com/pboling"
33+
spec.metadata["rubygems_mfa_required"] = "true"
34+
2535
spec.files = Dir[
2636
# Splats (alphabetical)
2737
"lib/**/*",
2838
# Files (alphabetical)
2939
"CHANGELOG.md",
3040
"CODE_OF_CONDUCT.md",
31-
"LICENSE",
41+
"CONTRIBUTING.md",
42+
"LICENSE.txt",
3243
"README.md",
44+
"SECURITY.md",
3345
]
3446
spec.bindir = "exe"
3547
spec.require_paths = ["lib"]

0 commit comments

Comments
 (0)