Skip to content

Commit

Permalink
Fix: [Server] passlib が送出する bcrypt のバージョン差異による警告を無視
Browse files Browse the repository at this point in the history
passlib は長年更新が止まっているが、他のライブラリに変えて脆弱性が発生するのも怖いので当面これで乗り切る予定
  • Loading branch information
tsukumijima committed May 20, 2024
1 parent fb8777a commit 11abba3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/KonomiTV.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import asyncio
import atexit
import logging
import platform
import subprocess
import typer
Expand All @@ -39,6 +40,10 @@
)


# passlib が送出する bcrypt のバージョン差異による警告を無視
# ref: https://github.com/pyca/bcrypt/issues/684
logging.getLogger('passlib').setLevel(logging.ERROR)

cli = typer.Typer()

def version(value: bool):
Expand Down

0 comments on commit 11abba3

Please sign in to comment.