Questions tagged [sasl-scram]

32 questions
15
votes
2 answers

How to use scram-sha-256 in Postgres 10 in Debian? Getting "FATAL: password authentication failed"

I edited pg_hba.conf: sudo su postgres nano /etc/postgresql/10/main/pg_hba.conf and added this line: local all username scram-sha-256 and changed all md5 to scram-sha-256 in that file. As the postgres…
mYnDstrEAm
  • 751
  • 2
  • 8
  • 26
14
votes
1 answer

XMPP SASL SCRAM-SHA1 Authentication

Recently, I was able to get MD5 authentication working for XMPP streams in Swift IOS following the instructions on the following two websites (I used the CC-MD5 function of Apple's CommonCrypto C library for the actual…
WaterNotWords
  • 997
  • 1
  • 9
  • 24
8
votes
1 answer

KAFKA: Connection to node failed authentication due to: Authentication failed due to invalid credentials with SASL mechanism SCRAM-SHA-256

I've been trying to add a SASL Authentication to my Kafka Brokers using SASL_PLAINTEXT SCRAM-SHA-256 for a while, but without any success. I keep getting the following error on Kafka's logfile. ERROR [Controller id=0, targetBrokerId=0] Connection…
7
votes
1 answer

Implementing MongoDB SASL Authentication in cl-mongo

I've forked the cl-mongo (common lisp MongoDB library) repository from fons, as it has fallen out of maintenance and does not support the SCRAM-SHA-1 login process. This is my fork: https://github.com/mprelude/cl-mongo -- the main changes are adding…
Matt Prelude
  • 912
  • 5
  • 13
4
votes
1 answer

Implementing SCRAM-SHA1 client, getting it wrong somewhere

Note: I've already read the very good answer to this question, but it doesn't answer my issues. I'm attempting to implement SCRAM-SHA1 authentication standard, as specified by RFC 5802, in Common Lisp. I am running into issues when it comes to…
Matt Prelude
  • 912
  • 5
  • 13
2
votes
1 answer

pgbouncer and scram-sha-256 setup

I was able to get SCRAM-SHA-256 authentication to work with pgpool, but I haven't been able to find a good example how to set this up in pgbouncer. I'm trying to use auth_query. In postgres, the user that pgbouncer will connect as has the password…
vamfoom
  • 61
  • 2
  • 6
2
votes
2 answers

Kafka Security implementation issue SASL SSL and SCRAM

I'm facing error while starting kafka server, have setup the SSL and it's working fine for kafka 3 brokers. And zookeeper is also setup with SSL Now tried to setup the SCRAM with SASL_SSL for kafka broker from server property file. It's not working…
2
votes
0 answers

Apache Kafka adding username and password SCRAM-SHA

I am currently using Kafka 2.6.0 I am trying to add SCRAM credential to zookeeper by following steps here: https://docs.confluent.io/platform/current/kafka/authentication_sasl/authentication_sasl_scram.html However, the command bin/kafka-configs…
mye1102
  • 41
  • 7
2
votes
1 answer

Error while setting up SASL/SCRAM in kafka on windows

I am running kafka on windows. I am trying to setup SASL/SCRAM authentication. This is the link I am following for setting up SASL/SCRAM. On running bin/kafka-configs --zookeeper localhost:2181 --alter --add-config…
2
votes
1 answer

kafka SASL/SCRAM Failed authentication

I tried to add security to my kafka cluster, I followed the documentation: https://kafka.apache.org/documentation/#security_sasl_scram https://docs.confluent.io/current/kafka/authentication_sasl/authentication_sasl_scram.html# I add the user using…
Alan Gaytan
  • 852
  • 4
  • 14
  • 33
2
votes
1 answer

How many iterations does the scram-sha-256 setting use in PostgreSQL 10?

How many iterations does the scram-sha-256 setting use in PostgreSQL 10? The docs just say Setting this parameter to scram-sha-256 will encrypt the password with SCRAM-SHA-256. The build log reads. Add SCRAM-SHA-256 support for password…
Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
1
vote
0 answers

How to connect to AWS MSK using Golang?

I have set up an MSK Kafka Cluster with SCRAM security. The VPC allows all incoming and outgoing connections. I'm attempting to connect to the cluster using the following steps: mechanism, err := scram.Mechanism(scram.SHA512, "user",…
Raisa A
  • 437
  • 7
  • 21
1
vote
0 answers

AWS MSK Public cluster authentication with SASL/SCRAM

The configuration of AWS MSK is public and a secret is attached to it.The security setting is set to SASL_SCRAM enabled, allow.everyone.if.no.acl.found=false and auto.create.topics.enable=true is set as written. I'm trying to connect to the cluster…
1
vote
1 answer

Connect from local machine to aws MSK

I followed "public access" to set up the configuration. I have two goals, Firstly, I want to create topic from local terminal by using this command line "/bin/kafka-topics.sh --create --bootstrap-server ZookeeperConnectString --replication-factor 3…
ja841014
  • 21
  • 5
1
vote
0 answers

Implementing sasl SCRAM-SHA-256 machenism with kafka-node

How to configure sasl SCRAM-SHA-256 mechanism with kafka-node? does kafka-node support this authentication mechanism? If no, then is there an alternative option to connect to kafka with nodejs
1
2 3