git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ab9e0e7) | patch
Add libpq connection parameter "scram_channel_binding"
2017年12月18日 23:05:24 +0000 (18:05 -0500)
2017年12月19日 15:12:36 +0000 (10:12 -0500)
commit 4bbf110d2fb4f74b9385bd5a521f824dfa5f15ec
Add libpq connection parameter "scram_channel_binding"

This parameter can be used to enforce the channel binding type used
during a SCRAM authentication. This can be useful to check code paths
where an invalid channel binding type is used by a client and will be
even more useful to allow testing other channel binding types when they
are added.

The default value is tls-unique, which is what RFC 5802 specifies.
Clients can optionally specify an empty value, which has as effect to
not use channel binding and use SCRAM-SHA-256 as chosen SASL mechanism.

More tests for SCRAM and channel binding are added to the SSL test
suite.

Author: Author: Michael Paquier <michael.paquier@gmail.com>
doc/src/sgml/libpq.sgml diff | blob | blame | history
src/interfaces/libpq/fe-auth-scram.c diff | blob | blame | history
src/interfaces/libpq/fe-auth.c diff | blob | blame | history
src/interfaces/libpq/fe-auth.h diff | blob | blame | history
src/interfaces/libpq/fe-connect.c diff | blob | blame | history
src/interfaces/libpq/libpq-int.h diff | blob | blame | history
src/test/ssl/t/002_scram.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /