forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit218b024
committed
Accept SCRAM channel binding enabled clients
Add support to the SCRAM exchange for clients that support channelbinding, such as PostgreSQL version 11 and beyond. If such a clientencounters a PostgreSQL 10 server that does not support channel binding,it will send a channel binding flag 'y', meaning the client supportschannel binding but thinks the server does not. But PostgreSQL 10erroneously did not accept that flag. This would cause connections tofail if a version 11 client connects to a version 10 server with SCRAMauthentication over SSL.Author: Michael Paquier <michael.paquier@gmail.com>1 parentee5b595 commit218b024
1 file changed
+8
-2
lines changedLines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
| 115 | + | |
| 116 | + | |
115 | 117 |
| |
116 | 118 |
| |
117 | 119 |
| |
| |||
774 | 776 |
| |
775 | 777 |
| |
776 | 778 |
| |
| 779 | + | |
777 | 780 |
| |
778 | 781 |
| |
779 | 782 |
| |
| |||
1033 | 1036 |
| |
1034 | 1037 |
| |
1035 | 1038 |
| |
1036 |
| - | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
1037 | 1042 |
| |
1038 | 1043 |
| |
1039 |
| - | |
| 1044 | + | |
| 1045 | + | |
1040 | 1046 |
| |
1041 | 1047 |
| |
1042 | 1048 |
| |
|
0 commit comments
Comments
(0)