passkeys-rails 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8aeb76eb5817dbc1b1fac8a6205b5154772bd04d91f45596952b9b10e319f997
4
- data.tar.gz: 0f3eb68558500c17ea980a1a1e0b00db8ddf13dfead9ef8568fb8a8d295f96ae
3
+ metadata.gz: 4e61d5a7a298fa14ddb50a83501d81e6bb8a26484d75502ebbc738817ce30683
4
+ data.tar.gz: 80dcbda69e419843dd65f90c585260f3aaf03c8ec409036615b8257fb5d4134a
5
5
  SHA512:
6
- metadata.gz: 2f136f27de81f280d9d8e55e96b2f7c4729ded92a7b9c0339f0c766d0b8604732de430dd5f6e082ed700dca9422cc3c1af975dfae74aa267757d955b3bc15733
7
- data.tar.gz: 92587364bdb4f41aa35dfaeef432bab42e77d6dd4a8e49b6797b12bd2a42f4ef0ecd9ed6dca5575abf3e068c0005c998d863f3eb7b1443eb4d01ac2271f73205
6
+ metadata.gz: 49b56d3d37c4d2d8e78cbc6e67bbfb3df72c17f7cb00d8398ee684cfb5d5f81b94b2ef68eb7d16f69e0aac23584f77937a98cc94ba9d89dda70dd021021100ab
7
+ data.tar.gz: 763ffc7c99aff21990d9a51416e21aaa8e840a67ddd5eaa0c05761a8704d63f0a5be5c81ee140d54e3b3c15d8fb367bf5344551dc011268bdfe9327869461f41
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.3.3 (2025/01/13)
2
+
3
+ - Avoid double encoding the auth challenge
4
+ - Relax rails version constraint
5
+
1
6
  ### 0.3.2 (2024/10/01)
2
7
 
3
8
  - Changed from unsigned cookies to short lived signed cookies
@@ -28,7 +28,7 @@ module PasskeysRails
28
28
  def cookie_data(options)
29
29
  {
30
30
  username:,
31
- challenge: WebAuthn.standard_encoder.encode(options.challenge)
31
+ challenge: options.challenge
32
32
  }
33
33
  end
34
34
  end
@@ -1,3 +1,3 @@
1
1
  module PasskeysRails
2
- VERSION = "0.3.2".freeze
2
+ VERSION = "0.3.3".freeze
3
3
  end
metadata CHANGED
@@ -1,35 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passkeys-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Troy Anderson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-01 00:00:00.000000000 Z
11
+ date: 2025-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '7.2'
20
17
  - - ">="
21
18
  - !ruby/object:Gem::Version
22
- version: 7.2.1
19
+ version: '7.2'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '7.2'
30
24
  - - ">="
31
25
  - !ruby/object:Gem::Version
32
- version: 7.2.1
26
+ version: '7.2'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: interactor
35
29
  requirement: !ruby/object:Gem::Requirement