Implement SASL plain authentication

This commit is contained in:
louiz’
2020-06-15 00:18:51 +02:00
parent 655bc344d4
commit 2e1ddeb654
12 changed files with 235 additions and 25 deletions
+2
View File
@@ -184,6 +184,8 @@ class BiboumiRunner(ProcessRunner):
class IrcServerRunner(ProcessRunner):
def __init__(self):
super().__init__()
# Always start with a fresh state
os.remove("ircd.db")
subprocess.run(["oragono", "mkcerts", "--conf", os.getcwd() + "/../tests/end_to_end/ircd.yaml"])
self.create = asyncio.create_subprocess_exec("oragono", "run", "--conf", os.getcwd() + "/../tests/end_to_end/ircd.yaml",
stderr=asyncio.subprocess.PIPE)