casbin / casbin-pg-adapter

A go-pg adapter for casbin
https://github.com/casbin/casbin
Apache License 2.0
38 stars 28 forks source link

Update go-pg to ensure SCRAM-SHA-256-PLUS support #49

Closed SayakMukhopadhyay closed 8 months ago

SayakMukhopadhyay commented 8 months ago

The current master has a dependency on go-pg 10.9.1. This version of go-pg doesn't have support for DB servers that requires SCRAM-SHA-256-PLUS hashed passwords as I faced today.

Looking at the PR https://github.com/go-pg/pg/pull/1918 and the associated issue, it seems to me like version 10.12.0 is the earliest with the SCRAM-SHA-256-PLUS support. I have manually upgraded go-pg in my project to 10.12.0 and the issue has disappeared so I guess it works fine.

Let me know if a PR is preferred and I will create one.

hsluoyz commented 8 months ago

@SayakMukhopadhyay PR is welcome!

github-actions[bot] commented 8 months ago

:tada: This issue has been resolved in version 1.4.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: