has_secure_passkey 0.3.3 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/db/migrate/20260324210831_create_passkeys.rb +19 -0
- data/lib/has_secure_passkey/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 275623cf8f9fe79134b646a93127fc6cd2ba98bbf63b6054e123e3053a057862
|
|
4
|
+
data.tar.gz: aa4f173ccd9d763ba87e0bb4e2a40faadaa2bf6ed680bf905c65ff6de8996cba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b23cd829d00bdba8f696be60167d4435a8eafb14acd6f061adad6a6a524a8a3b4d55dfb90ddf1513da17e015dc33ab8346cda34bbd19a20d90147a1d9436396e
|
|
7
|
+
data.tar.gz: de4a9db9fd821897f2f80ab63d09122e6bb38b724f76293989c16dc43983a8970d163109fd0ab59c7520afe36f8e9e0390d4365528da2fd32461807858b260e3
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
class CreatePasskeys < ActiveRecord::Migration[8.1]
|
|
2
|
+
def change
|
|
3
|
+
create_table :action_pack_passkeys do |t|
|
|
4
|
+
t.integer :holder_id, null: false
|
|
5
|
+
t.string :holder_type, null: false
|
|
6
|
+
t.string :credential_id, null: false
|
|
7
|
+
t.binary :public_key, null: false
|
|
8
|
+
t.integer :sign_count, null: false, default: 0
|
|
9
|
+
t.string :name
|
|
10
|
+
t.text :transports
|
|
11
|
+
t.string :aaguid
|
|
12
|
+
|
|
13
|
+
t.timestamps
|
|
14
|
+
|
|
15
|
+
t.index [ :holder_type, :holder_id ]
|
|
16
|
+
t.index :credential_id, unique: true
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: has_secure_passkey
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nick Pezza
|
|
@@ -24,7 +24,7 @@ dependencies:
|
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
25
|
version: 8.0.0.rc2
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
|
-
name: webauthn
|
|
27
|
+
name: webauthn-slim
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
30
|
- - ">="
|
|
@@ -59,6 +59,7 @@ files:
|
|
|
59
59
|
- app/views/layouts/has_secure_passkey/application.html.erb
|
|
60
60
|
- config/importmap.rb
|
|
61
61
|
- config/routes.rb
|
|
62
|
+
- db/migrate/20260324210831_create_passkeys.rb
|
|
62
63
|
- lib/generators/has_secure_passkey/passkeys/passkeys_generator.rb
|
|
63
64
|
- lib/generators/has_secure_passkey/passkeys/templates/app/channels/application_cable/connection.rb.tt
|
|
64
65
|
- lib/generators/has_secure_passkey/passkeys/templates/app/controllers/concerns/authentication.rb.tt
|
|
@@ -106,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
106
107
|
- !ruby/object:Gem::Version
|
|
107
108
|
version: '0'
|
|
108
109
|
requirements: []
|
|
109
|
-
rubygems_version:
|
|
110
|
+
rubygems_version: 4.0.20
|
|
110
111
|
specification_version: 4
|
|
111
112
|
summary: Add passkey support to Rails
|
|
112
113
|
test_files: []
|