standard_id 0.58.0 → 0.58.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7d42a5b149e2cd0cdfd3329781a9a7cb56f0397fce40b9aad0388bc2b3c2824
4
- data.tar.gz: 2f21ad5ca597432fe8522c1b4e97f913fb2899d29323f6387be3cdd054f0f4e7
3
+ metadata.gz: a54cd12c3c45d8f8dac8a342250327c073ba479ba7fa4568483bf8a9d06fb22e
4
+ data.tar.gz: 8886b09be9316a38f55d2d5a16680457bd6c579b5dbf660137a4b457645bc30b
5
5
  SHA512:
6
- metadata.gz: 39b4a7a01eef961b0314a06c9208efe24ed7f8de2f4616dbfb2a333f657f0e7686d09dea307e687757d1e5aa380cb277daa3bcd00849a5f05134397af9c936c4
7
- data.tar.gz: 95349f954d9c465944299871811796d02473afae6d0583513c5c18d52466fd87628a0137df2b5b8eff9caceace26d7a827f5cf1adb4d93fce168cdc8f63ab518
6
+ metadata.gz: f2cdd0a002610a2891adf548dde939b392d83f9848b14106458ecd61757f06c0eba90e8c00a5a5bc1846f602430f698ef5352af3caf9b928532c775a22c43e0f
7
+ data.tar.gz: 9fae127fd3c4a0defbfe189437f38327c6b870e987e4f32d46343b5e263cd64e8895111aeed61d264890309d5b8464d72e7c7de4db18b7f2c006f2008464cd4d
data/CHANGELOG.md CHANGED
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.58.1] - 2026-10-30
11
+
12
+ ### Fixed
13
+
14
+ - **Inline scripts in the engine's web views now carry the CSP nonce.** The mobile callback
15
+ bounce, the login page and the login-verify page each ran an un-nonced inline `<script>`, which a
16
+ host enforcing a nonce-based `script-src` (no `'unsafe-inline'`) blocks. On the mobile callback
17
+ that strands the user on "Returning to your app…" instead of returning them to the app. Hosts
18
+ without a nonce generator render an empty `nonce` attribute, which changes nothing.
19
+
10
20
  ## [0.58.0] - 2026-10-28
11
21
 
12
22
  ### Security
@@ -32,7 +32,7 @@
32
32
  color: #555;
33
33
  }
34
34
  </style>
35
- <script>
35
+ <script nonce="<%= content_security_policy_nonce %>">
36
36
  document.addEventListener("DOMContentLoaded", function () {
37
37
  <%# to_json, not j(): ERB HTML-escapes the j() output, so every "&" in the
38
38
  query became "&amp;" and each key after the first arrived as "amp;<key>".
@@ -38,7 +38,7 @@
38
38
  (non-AJAX) submit by then, so the request still goes through. Vanilla JS
39
39
  only; the gem ships no JS framework.
40
40
  %>
41
- <script>
41
+ <script nonce="<%= content_security_policy_nonce %>">
42
42
  (function () {
43
43
  var form = document.getElementById("passwordless-login-form");
44
44
  if (!form) return;
@@ -56,7 +56,7 @@
56
56
  Client-side resend cooldown. Progressive enhancement: with JS off the button is
57
57
  always active and the server's retry_delay guard is the backstop. Vanilla JS only.
58
58
  %>
59
- <script>
59
+ <script nonce="<%= content_security_policy_nonce %>">
60
60
  (function () {
61
61
  var btn = document.getElementById("resend-otp-button");
62
62
  if (!btn) return;
@@ -1,3 +1,3 @@
1
1
  module StandardId
2
- VERSION = "0.58.0"
2
+ VERSION = "0.58.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.58.0
4
+ version: 0.58.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaryl Sim