mirror of
https://github.com/civitai/civitai.git
synced 2026-09-20 22:08:18 +08:00
[Cu-8688z7q8x] Adds device fingerprint computation (#1334)
* Adds device fingerprint computation * Removes old code * ditto * Smol fix * Sets fingerprint header on each request * Constraints env vars for fingerprint secret * Better fingerprint handling in server * Uses class to decrypt the fingerprint * Only send fingerprint when it matches userId * Skip fingerprint decryption when sending to clickhouse
This commit is contained in:
committed by
GitHub
parent
dd9b10754f
commit
1584b83531
+5
-1
@@ -158,4 +158,8 @@ NCMEC_PASSWORD=pswd123
|
||||
|
||||
# MeiliSearch
|
||||
METRICS_SEARCH_HOST=https://localhost:7700
|
||||
METRICS_SEARCH_API_KEY=aSampleMasterKey
|
||||
METRICS_SEARCH_API_KEY=aSampleMasterKey
|
||||
|
||||
# Fingerprint
|
||||
FINGERPRINT_SECRET=61952c5f9c9f1938abcf288bff56021a927a0a829f2e839a7a9fe219c83dca0c # 32 bytes
|
||||
FINGERPRINT_IV=b5f09724c7567e53d47d0a26bfa263e4 # 16 bytes
|
||||
|
||||
Reference in New Issue
Block a user