Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add webauthn gem

Klaus Zanders67e8e43389ac
diff --git a/Gemfile.lock b/Gemfile.lock
index acf6a8595f6..b44d4cce858 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -211,6 +211,7 @@ PATH
aws-sdk-sns (~> 1.72.0)
messagebird-rest (~> 1.4.2)
rotp (~> 6.1)
+ webauthn (~> 3.0)
PATH
remote: modules/webhooks
@@ -331,14 +332,16 @@ GEM
airbrake-ruby (~> 6.0)
airbrake-ruby (6.2.2)
rbtree3 (~> 0.6)
- appsignal (3.6.0)
+ android_key_attestation (0.3.0)
rack
+ appsignal (3.6.0)
ast (2.4.2)
attr_required (1.0.2)
auto_strip_attributes (2.6.0)
activerecord (>= 4.0)
awesome_nested_set (3.6.0)
activerecord (>= 4.0.0, < 7.2)
+ awrence (1.2.1)
aws-eventstream (1.3.0)
aws-partitions (1.895.0)
aws-sdk-core (3.191.3)
@@ -407,6 +410,7 @@ GEM
carrierwave_direct (2.1.0)
carrierwave (>= 1.0.0)
fog-aws
+ cbor (0.5.9.6)
cgi (0.4.1)
climate_control (1.2.0)
closure_tree (7.4.0)
@@ -424,6 +428,9 @@ GEM
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
cookiejar (0.3.4)
+ cose (1.3.0)
+ cbor (~> 0.5.9)
+ openssl-signature_algorithm (~> 1.0)
crack (1.0.0)
bigdecimal
rexml
@@ -764,6 +771,9 @@ GEM
view_component (>= 3.1, < 4.0)
openproject-token (4.0.0)
activemodel
+ openssl (3.1.0)
+ openssl-signature_algorithm (1.3.0)
+ openssl (> 2.0)
os (1.1.4)
ox (2.14.17)
paper_trail (15.1.0)
@@ -996,6 +1006,8 @@ GEM
rubytree (2.0.3)
json (~> 2.0, > 2.3.1)
rubyzip (2.3.2)
+ safety_net_attestation (0.4.0)
+ jwt (~> 2.0)
sanitize (6.1.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
@@ -1058,6 +1070,10 @@ GEM
thread_safe (0.3.6)
timecop (0.9.8)
timeout (0.4.1)
+ tpm-key_attestation (0.12.0)
+ bindata (~> 2.4)
+ openssl (> 2.0)
+ openssl-signature_algorithm (~> 1.0)
trailblazer-option (0.1.2)
ttfunk (1.7.0)
turbo-rails (2.0.4)
@@ -1095,6 +1111,15 @@ GEM
rack (>= 2.0.9)
warden-basic_auth (0.2.1)
warden (~> 1.2)
+ webauthn (3.0.0)
+ android_key_attestation (~> 0.3.0)
+ awrence (~> 1.1)
+ bindata (~> 2.4)
+ cbor (~> 0.5.9)
+ cose (~> 1.1)
+ openssl (>= 2.2)
+ safety_net_attestation (~> 0.4.0)
+ tpm-key_attestation (~> 0.12.0)
webfinger (2.1.3)
activesupport
faraday (~> 2.0)
diff --git a/modules/two_factor_authentication/openproject-two_factor_authentication.gemspec b/modules/two_factor_authentication/openproject-two_factor_authentication.gemspec
index 22b854ed961..369b9e4377c 100644
--- a/modules/two_factor_authentication/openproject-two_factor_authentication.gemspec
+++ b/modules/two_factor_authentication/openproject-two_factor_authentication.gemspec
@@ -4,13 +4,15 @@ Gem::Specification.new do |s|
s.authors = "OpenProject GmbH"
s.email = "[email protected]"
s.summary = "OpenProject Two-factor authentication"
- s.description = "This OpenProject plugin authenticates your users using two-factor authentication by means of one-time password " \
- "through the TOTP standard (Google Authenticator) or sent to the user's cell phone via SMS or voice call"
+ s.description = "This OpenProject plugin authenticates your users using two-factor authentication by means of " \
+ "one-time password through the TOTP standard (Google Authenticator), WebAuthn or sent to the " \
+ "user's cell phone via SMS or voice call"
s.files = Dir["{app,config,db,lib}/**/*", "CHANGELOG.md", "README.rdoc"]
s.add_dependency 'messagebird-rest', '~> 1.4.2'
s.add_dependency 'rotp', '~> 6.1'
+ s.add_dependency 'webauthn', '~> 3.0'
s.add_dependency 'aws-sdk-sns', '~> 1.72.0'
s.metadata['rubygems_mfa_required'] = 'true'