Closed (fixed)
Project:
FileGate
Version:
1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jul 2026 at 14:54 UTC
Updated:
31 Jul 2026 at 17:27 UTC
Jump to comment: Most recent
OtpController and the Otp gate method always hash codes with file_gate.settings:download_secret (legacy). Named-only installs ($settings['file_gate.secrets'] only) still pass hasAnySecret(), so OTP can issue, but HMAC material may be empty or inconsistent with mint/scope secrets.
GitHub: Wilkes-Liberty/file_gate#39.
$settings['file_gate.secrets']; leave legacy download_secret empty.Hash OTP codes with the authenticated secret material from SecretRegistry / ActiveSecret used for the request (same as mint).
None for clients; internal hashing only.
None.
Comments
Comment #2
jmcerdaFixed in 1.4.0.
Release: https://www.drupal.org/project/file_gate/releases/1.4.0
GitHub: https://github.com/Wilkes-Liberty/file_gate/releases/tag/1.4.0
Comment #4
jmcerdaComment #5
jmcerdaClosed (fixed): OTP hashing uses named secret material (not legacy-only) shipped in 1.4.0 (GH #39).
https://www.drupal.org/project/file_gate/releases/1.4.0
https://github.com/Wilkes-Liberty/file_gate/releases/tag/1.4.0
Comment #6
jmcerdaConfirm Closed (fixed). Work shipped; removing from Open queue.