warden-webauthn 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ad38c7c521cfdd12cc5beb96701ca70fe1f976072e372b5076544c337fb09e97
4
+ data.tar.gz: e1eb8e07fec9e374b5ff16be27e7caa0e6cc53111067deed6b5646c10ebf2b2f
5
+ SHA512:
6
+ metadata.gz: 42ab86b24a2cf036416c963de2b9fd941be94cbeea4800e1b38f6df56f49fc144120c5ca3b1bccfe4f7716434a4946a40fab1857e28df8fc91b41a4ba81a662f
7
+ data.tar.gz: f8787da88c177feff7f58e975b8958af0d4a42f0b4378689528de779d3282f80700a2c829c76551208657c5156e68c5566fc59cf3b36820522a5a34994b306e4
data/.rubocop.yml ADDED
@@ -0,0 +1,25 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.6
3
+ Exclude:
4
+ - 'test/**/*'
5
+
6
+ Style/StringLiterals:
7
+ Enabled: true
8
+ EnforcedStyle: double_quotes
9
+
10
+ Style/StringLiteralsInInterpolation:
11
+ Enabled: true
12
+ EnforcedStyle: double_quotes
13
+
14
+ Layout/LineLength:
15
+ Max: 120
16
+
17
+ Style/SignalException:
18
+ Enabled: false
19
+
20
+ Gemspec/DeprecatedAttributeAssignment: # new in 1.30
21
+ Enabled: true
22
+ Gemspec/DevelopmentDependencies: # new in 1.44
23
+ Enabled: true
24
+ Gemspec/RequireMFA: # new in 1.23
25
+ Enabled: true
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.2.1
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2023-02-04
4
+
5
+ - Initial release
@@ -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 tcannon00@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/Gemfile ADDED
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in warden-webauthn.gemspec
6
+ gemspec
7
+
8
+ group :development, :test do
9
+ gem "debug"
10
+ gem "rake", "~> 13.0"
11
+ gem "rubocop", "~> 1.21"
12
+ end
13
+
14
+ group :test do
15
+ gem "m"
16
+ gem "minitest", "~> 5.0"
17
+ gem "rack"
18
+ gem "rack-session"
19
+ gem "rack-test"
20
+ gem "simplecov"
21
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,105 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ warden-webauthn (0.1.0)
5
+ warden
6
+ webauthn (>= 3.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ android_key_attestation (0.3.0)
12
+ ast (2.4.2)
13
+ awrence (1.2.1)
14
+ bindata (2.4.15)
15
+ cbor (0.5.9.6)
16
+ cose (1.3.0)
17
+ cbor (~> 0.5.9)
18
+ openssl-signature_algorithm (~> 1.0)
19
+ debug (1.7.1)
20
+ irb (>= 1.5.0)
21
+ reline (>= 0.3.1)
22
+ docile (1.4.0)
23
+ io-console (0.6.0)
24
+ irb (1.6.2)
25
+ reline (>= 0.3.0)
26
+ json (2.6.3)
27
+ jwt (2.7.0)
28
+ m (1.6.1)
29
+ method_source (>= 0.6.7)
30
+ rake (>= 0.9.2.2)
31
+ method_source (1.0.0)
32
+ minitest (5.17.0)
33
+ openssl (3.0.2)
34
+ openssl-signature_algorithm (1.2.1)
35
+ openssl (> 2.0, < 3.1)
36
+ parallel (1.22.1)
37
+ parser (3.2.1.0)
38
+ ast (~> 2.4.1)
39
+ rack (3.0.4.1)
40
+ rack-session (2.0.0)
41
+ rack (>= 3.0.0)
42
+ rack-test (2.0.2)
43
+ rack (>= 1.3)
44
+ rainbow (3.1.1)
45
+ rake (13.0.6)
46
+ regexp_parser (2.7.0)
47
+ reline (0.3.2)
48
+ io-console (~> 0.5)
49
+ rexml (3.2.5)
50
+ rubocop (1.45.1)
51
+ json (~> 2.3)
52
+ parallel (~> 1.10)
53
+ parser (>= 3.2.0.0)
54
+ rainbow (>= 2.2.2, < 4.0)
55
+ regexp_parser (>= 1.8, < 3.0)
56
+ rexml (>= 3.2.5, < 4.0)
57
+ rubocop-ast (>= 1.24.1, < 2.0)
58
+ ruby-progressbar (~> 1.7)
59
+ unicode-display_width (>= 2.4.0, < 3.0)
60
+ rubocop-ast (1.26.0)
61
+ parser (>= 3.2.1.0)
62
+ ruby-progressbar (1.11.0)
63
+ safety_net_attestation (0.4.0)
64
+ jwt (~> 2.0)
65
+ simplecov (0.22.0)
66
+ docile (~> 1.1)
67
+ simplecov-html (~> 0.11)
68
+ simplecov_json_formatter (~> 0.1)
69
+ simplecov-html (0.12.3)
70
+ simplecov_json_formatter (0.1.4)
71
+ tpm-key_attestation (0.12.0)
72
+ bindata (~> 2.4)
73
+ openssl (> 2.0)
74
+ openssl-signature_algorithm (~> 1.0)
75
+ unicode-display_width (2.4.2)
76
+ warden (1.2.9)
77
+ rack (>= 2.0.9)
78
+ webauthn (3.0.0)
79
+ android_key_attestation (~> 0.3.0)
80
+ awrence (~> 1.1)
81
+ bindata (~> 2.4)
82
+ cbor (~> 0.5.9)
83
+ cose (~> 1.1)
84
+ openssl (>= 2.2)
85
+ safety_net_attestation (~> 0.4.0)
86
+ tpm-key_attestation (~> 0.12.0)
87
+
88
+ PLATFORMS
89
+ arm64-darwin-21
90
+ arm64-darwin-22
91
+
92
+ DEPENDENCIES
93
+ debug
94
+ m
95
+ minitest (~> 5.0)
96
+ rack
97
+ rack-session
98
+ rack-test
99
+ rake (~> 13.0)
100
+ rubocop (~> 1.21)
101
+ simplecov
102
+ warden-webauthn!
103
+
104
+ BUNDLED WITH
105
+ 2.4.6
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 Thomas Cannon
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # Warden::WebAuthn
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/warden/webauthn`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'warden-webauthn'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install warden-webauthn
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/warden-webauthn. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/warden-webauthn/blob/main/CODE_OF_CONDUCT.md).
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the Warden::WebAuthn project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/warden-webauthn/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rake/testtask"
5
+
6
+ Rake::TestTask.new(:test) do |t|
7
+ t.libs << "test"
8
+ t.libs << "lib"
9
+ t.test_files = FileList["test/**/test_*.rb"]
10
+ end
11
+
12
+ require "rubocop/rake_task"
13
+
14
+ RuboCop::RakeTask.new
15
+
16
+ task default: %i[test rubocop]
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Warden
4
+ module WebAuthn
5
+ # Helper methods for generating & storing authentication challenges
6
+ module AuthenticationInitiationHelpers
7
+ def generate_authentication_options(relying_party:, options: {})
8
+ relying_party.options_for_authentication(**{
9
+ user_verification: "required"
10
+ }.merge(options))
11
+ end
12
+
13
+ def store_challenge_in_session(options_for_authentication:)
14
+ session[authentication_challenge_key] = options_for_authentication.challenge
15
+ end
16
+
17
+ def authentication_challenge_key
18
+ "current_webauthn_authentication_challenge"
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Warden
4
+ module WebAuthn
5
+ # Helper methods to bootstrap registration challenges for implementors
6
+ module RegistrationHelpers
7
+ def generate_registration_options(relying_party:, user_details:, exclude: [], options: {})
8
+ relying_party.options_for_registration(**{
9
+ user: user_details,
10
+ exclude: exclude,
11
+ authenticator_selection: { user_verification: "required" }
12
+ }.merge(options))
13
+ end
14
+
15
+ def store_challenge_in_session(options_for_registration:)
16
+ session[registration_challenge_key] = options_for_registration.challenge
17
+ end
18
+
19
+ def registration_challenge_key
20
+ "current_webauthn_registration_challenge"
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "warden"
4
+
5
+ module Warden
6
+ module WebAuthn
7
+ # The core strategy for WebAuthn authentication in Warden
8
+ class Strategy < Warden::Strategies::Base
9
+ include Warden::WebAuthn::StrategyHelpers
10
+
11
+ # rubocop:disable Lint/UnreachableCode
12
+ def valid?
13
+ return true unless parsed_credential.nil?
14
+
15
+ fail(:credential_missing_or_could_not_be_parsed)
16
+ false
17
+ end
18
+ # rubocop:enable Lint/UnreachableCode
19
+
20
+ def authenticate!
21
+ stored_credential = verify_authentication_and_find_stored_credential
22
+
23
+ return if stored_credential.nil?
24
+
25
+ success!(stored_credential.user)
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,120 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "webauthn"
4
+
5
+ module Warden
6
+ module WebAuthn
7
+ # Helpers that can be mixed in to any WebAuthn-related code, such as custom strategies or
8
+ # an app's authentication flow
9
+ module StrategyHelpers
10
+ class NoStoredCredentialFound < StandardError; end
11
+
12
+ # rubocop:disable Metrics/MethodLength
13
+ def verify_authentication_and_find_stored_credential
14
+ _, stored_credential = relying_party.verify_authentication(
15
+ parsed_credential, authentication_challenge, user_verification: true
16
+ ) do |webauthn_credential|
17
+ x = credential_finder.find_with_credential_id(Base64.strict_encode64(webauthn_credential.raw_id))
18
+ raise NoStoredCredentialFound if x.nil?
19
+
20
+ x
21
+ end
22
+
23
+ stored_credential
24
+ rescue ::WebAuthn::Error => e
25
+ fail!(webauthn_error_key(exception: e))
26
+ nil
27
+ rescue NoStoredCredentialFound
28
+ errors.add(:stored_credential, :not_found)
29
+ fail!(:stored_credential_not_found)
30
+ nil
31
+ ensure
32
+ delete_authentication_challenge
33
+ end
34
+ # rubocop:enable Metrics/MethodLength
35
+
36
+ # rubocop:disable Metrics/CyclomaticComplexity
37
+ # rubocop:disable Metrics/MethodLength
38
+ def webauthn_error_key(exception:)
39
+ case exception
40
+ when ::WebAuthn::AttestationStatement::FormatNotSupportedError
41
+ :webauthn_attestation_statement_format_not_supported
42
+ when ::WebAuthn::PublicKey::UnsupportedAlgorithm
43
+ :webauthn_public_key_unsupported_algorithm
44
+ when ::WebAuthn::AttestationStatement::UnsupportedAlgorithm
45
+ :webauthn_attestation_statement_unsupported_algorithm
46
+ when ::WebAuthn::UserVerifiedVerificationError
47
+ :webauthn_user_verified_verification_error
48
+ when ::WebAuthn::ChallengeVerificationError
49
+ :webauthn_challenge_verification_error
50
+ when ::WebAuthn::SignCountVerificationError
51
+ :webauthn_sign_count_verification_error
52
+ when ::WebAuthn::VerificationError
53
+ :webauthn_verification_error
54
+ when ::WebAuthn::ClientDataMissingError
55
+ :webauthn_client_data_missing
56
+ when ::WebAuthn::AuthenticatorDataFormatError
57
+ :webauthn_authenticator_data_format
58
+ when ::WebAuthn::AttestedCredentialDataFormatError
59
+ :webauthn_attested_credential_data_format
60
+ when ::WebAuthn::RootCertificateFinderNotSupportedError
61
+ :webauthn_root_certificate_finder_not_supported
62
+ when ::WebAuthn::Error
63
+ :webauthn_generic_error
64
+ end
65
+ end
66
+ # rubocop:enable Metrics/CyclomaticComplexity
67
+ # rubocop:enable Metrics/MethodLength
68
+
69
+ def relying_party
70
+ env[relying_party_key]
71
+ end
72
+
73
+ def credential_finder
74
+ env[credential_finder_key]
75
+ end
76
+
77
+ def authentication_challenge
78
+ session[authentication_challenge_key]
79
+ end
80
+
81
+ def delete_authentication_challenge
82
+ session.delete(authentication_challenge_key)
83
+ end
84
+
85
+ def raw_credential
86
+ params[raw_credential_key]
87
+ end
88
+
89
+ def parsed_credential
90
+ if raw_credential.nil? || raw_credential.empty?
91
+ errors.add(:credential, :missing)
92
+ return nil
93
+ end
94
+
95
+ begin
96
+ JSON.parse(raw_credential)
97
+ rescue JSON::JSONError
98
+ errors.add(:credential, :json_error)
99
+ nil
100
+ end
101
+ end
102
+
103
+ def authentication_challenge_key
104
+ "current_webauthn_authentication_challenge"
105
+ end
106
+
107
+ def credential_finder_key
108
+ "warden.webauthn.credential_finder"
109
+ end
110
+
111
+ def relying_party_key
112
+ "warden.webauthn.relying_party"
113
+ end
114
+
115
+ def raw_credential_key
116
+ "credential"
117
+ end
118
+ end
119
+ end
120
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Warden
4
+ module WebAuthn
5
+ VERSION = "0.1.0"
6
+ end
7
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "webauthn/version"
4
+ require_relative "webauthn/strategy_helpers"
5
+ require_relative "webauthn/strategy"
6
+ require_relative "webauthn/authentication_initiation_helpers"
7
+ require_relative "webauthn/registration_helpers"
8
+
9
+ # rubocop:disable Style/Documentation
10
+ module Warden
11
+ module WebAuthn
12
+ end
13
+ end
14
+ # rubocop:enable Style/Documentation
@@ -0,0 +1,6 @@
1
+ module Warden
2
+ module WebAuthn
3
+ VERSION: String
4
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
5
+ end
6
+ end
metadata ADDED
@@ -0,0 +1,91 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: warden-webauthn
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Thomas Cannon
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-02-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: warden
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: webauthn
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '3'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '3'
41
+ description: A Warden Strategy for WebAuthn
42
+ email:
43
+ - tcannon00@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".rubocop.yml"
49
+ - ".ruby-version"
50
+ - CHANGELOG.md
51
+ - CODE_OF_CONDUCT.md
52
+ - Gemfile
53
+ - Gemfile.lock
54
+ - LICENSE.txt
55
+ - README.md
56
+ - Rakefile
57
+ - lib/warden/webauthn.rb
58
+ - lib/warden/webauthn/authentication_initiation_helpers.rb
59
+ - lib/warden/webauthn/registration_helpers.rb
60
+ - lib/warden/webauthn/strategy.rb
61
+ - lib/warden/webauthn/strategy_helpers.rb
62
+ - lib/warden/webauthn/version.rb
63
+ - sig/warden/webauthn.rbs
64
+ homepage: https://github.com/ruby-passkeys/warden-webauthn
65
+ licenses:
66
+ - MIT
67
+ metadata:
68
+ homepage_uri: https://github.com/ruby-passkeys/warden-webauthn
69
+ source_code_uri: https://github.com/ruby-passkeys/warden-webauthn
70
+ changelog_uri: https://github.com/ruby-passkeys/warden-webauthn/blob/main/CHANGELOG.md
71
+ rubygems_mfa_required: 'true'
72
+ post_install_message:
73
+ rdoc_options: []
74
+ require_paths:
75
+ - lib
76
+ required_ruby_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 2.6.0
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ requirements: []
87
+ rubygems_version: 3.4.6
88
+ signing_key:
89
+ specification_version: 4
90
+ summary: A Warden Strategy for WebAuthn
91
+ test_files: []