mandiant / mandiant/PwnAuth

Postgres: authentication method 10 not supported

Open
#21 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
402
Forks
95
PR merge metrics
No merged PRs in 30d

Description

Hi, getting the following error when running setup.sh

Successfully built 9eaf079b62d5
Successfully tagged pwnauth_web:latest
pwnauth_db_1 is up-to-date
pwnauth_web_1 is up-to-date
Starting pwnauth_db_1 ... done
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection
self.connect()
File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 189, in connect
self.connection = self.get_new_connection(conn_params)
File "/usr/local/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection
connection = Database.connect(**conn_params)
File "/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py", line 130, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: authentication method 10 not supported

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with setup.sh and the Docker startup output, then inspect the Django PostgreSQL connection path shown in the traceback. Reproduce the setup failure and determine why psycopg2 rejects authentication method 10; done means setup completes without the OperationalError.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, docker, postgresql, python
Domain
backend, database, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.