Merge branch 'main' into feature/network/multi-network-serving

# Conflicts:
#	utils/github/variant/axes.py
This commit is contained in:
kevinveenbirkenbach committed 2026-10-20 22:56:45 +02:00
commit fdb6e668b2
214 files changed
+606 -94

No files matched your search

@@ -1,3 +1,5 @@
from pathlib import Path
PROJECT_ROOT: Path = Path(__file__).resolve().parents[5]
__all__ = ["PROJECT_ROOT"]
@@ -1,3 +0,0 @@
from pathlib import Path
PROJECT_ROOT: Path = Path(__file__).resolve().parents[6]
@@ -70,6 +70,13 @@ class TestBcryptHash(unittest.TestCase):
self.f("password-two", "app:indexer-admin"),
)
def test_seeded_salt_carries_nothing_of_the_secret(self):
salt_end = len("$2b$12$") + 22
self.assertEqual(
self.f("password-one", "app:indexer-admin")[:salt_end],
self.f("password-two", "app:indexer-admin")[:salt_end],
)
def test_seeded_hash_verifies_against_the_original_password(self):
password = "correct horse battery staple"
hashed = self.f(password, "app:indexer-admin")
@@ -1,3 +1,5 @@
from pathlib import Path
PROJECT_ROOT: Path = Path(__file__).resolve().parents[5]
__all__ = ["PROJECT_ROOT"]