question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compatibility with newer postgres authentication schemes

See original GitHub issue

Hello,

I’m preparing a corporate deployment of apicurio studio using the 0.2.48 release and a postgresql storage and had a bit of trouble when this error happened org.postgresql.util.PSQLException: The authentication type 10 is not supported.

Looking into it I found that the postgres server tries to use this scheme that was released later and there are no tries for an older scheme. This is probably due to how our data department configured the database and I don’t think I should try to lower their security settings.

However I tried using the latest version of the driver (42.2.20) in my local quarkus dev mode and it appears to run fine.

Is there anything that blocks the studio from using newer versions than 9.4.1212? This one dates back from Nov 2016

– The authentication scheme that appears to be required https://www.postgresql.org/docs/10/sasl-authentication.html

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
DyspCcommented, May 17, 2021

Our server version is 12.6 from what I can find using psql

0reactions
EricWittmanncommented, May 20, 2021

I’ve tested the new driver with PG 9 and PG 12 with no troubles. Thanks for the PR. Closing this now.

PR: https://github.com/Apicurio/apicurio-studio/pull/1511

Read more comments on GitHub >

github_iconTop Results From Across the Web

Documentation: 10: 20.3. Authentication Methods - PostgreSQL
PostgreSQL supports GSSAPI with Kerberos authentication according to RFC 1964. GSSAPI provides automatic authentication (single sign-on) for systems that ...
Read more >
PostgreSQL security: a quick look at authentication best ...
In this article, we will look at authentication best practices in PostgreSQL including PostgreSQL host-based authentication, ...
Read more >
Configuration | Authentication and authorization | PostgreSQL
To authenticate network connections from the PostgreSQL server's machine (non-socket connections) using passwords, you need to match a host connection type ...
Read more >
Amazon Aurora with PostgreSQL Compatibility Supports User ...
Amazon Aurora with PostgreSQL compatibility now supports external authentication of database users using Kerberos and Microsoft Active ...
Read more >
PostgreSQL Compatibility | CockroachDB Docs
CockroachDB is compatible with version 3.0 of the PostgreSQL wire protocol (pgwire) and works with the majority of PostgreSQL database tools such as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found