I'm getting the following error when trying to import osm data using osm2pgsql. I just installed pgAdmin4 today so it should all be up to date.
osm2pgsql version 0.92.0 (64 bit id space)
pgAdmin4 version 6.7
osm2pgsql -c -d osm -U postgres -H localhost -S C:\osm2pgsql-latest-x64\osm2pgsql-bin\default.style us-latest.osm.pbf
Osm2pgsql failed due to ERROR: Connection to database failed: authentication method 10 not supported