We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 150d8ab + f037063 commit d21fde4Copy full SHA for d21fde4
sogs/db.py
@@ -218,7 +218,12 @@ def check_needs_blinding(dbconn):
218
""",
219
dbconn=dbconn,
220
):
221
- pos_derived = crypto.compute_blinded_abs_id(sid)
+ try:
222
+ pos_derived = crypto.compute_blinded_abs_id(sid)
223
+ except Exception as e:
224
+ logging.warning(f"Failed to blind session_id {sid}: {e}")
225
+ continue
226
+
227
query(
228
'INSERT INTO needs_blinding (blinded_abs, "user") VALUES (:blinded, :uid)',
229
blinded=pos_derived,
0 commit comments