| Lists: | pgsql-hackers |
|---|
| From: | Marko Tiikkaja <marko(at)joh(dot)to> |
|---|---|
| To: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Add support for RADIUS passwords longer than 16 octets |
| Date: | 2015-08-15 15:55:48 |
| Message-ID: | 55CF6104.9000503@joh.to |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Lists: | pgsql-hackers |
Hi,
The attached patch adds support for RADIUS passwords longer than 16 octets.
.m
| Attachment | Content-Type | Size |
|---|---|---|
| radius_long_passwords.patch | text/plain | 4.7 KB |
| From: | Marko Tiikkaja <marko(at)joh(dot)to> |
|---|---|
| To: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Add support for RADIUS passwords longer than 16 octets |
| Date: | 2015-08-18 21:36:17 |
| Message-ID: | 55D3A551.5070805@joh.to |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Lists: | pgsql-hackers |
On 2015-08-15 17:55, I wrote:
> The attached patch adds support for RADIUS passwords longer than 16 octets.
Improved the coding and comments a bit, new version attached.
.m
| Attachment | Content-Type | Size |
|---|---|---|
| radius_long_passwords.v2.patch | text/plain | 4.6 KB |
| From: | Magnus Hagander <magnus(at)hagander(dot)net> |
|---|---|
| To: | Marko Tiikkaja <marko(at)joh(dot)to> |
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Add support for RADIUS passwords longer than 16 octets |
| Date: | 2015-09-06 12:38:27 |
| Message-ID: | CABUevEx9e6njPw=vz-DcHwkf8OO=TgQr-ZX=6RPSJk7O4u8CZg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Lists: | pgsql-hackers |
On Tue, Aug 18, 2015 at 11:36 PM, Marko Tiikkaja <marko(at)joh(dot)to> wrote:
> On 2015-08-15 17:55, I wrote:
>
>> The attached patch adds support for RADIUS passwords longer than 16
>> octets.
>>
>
> Improved the coding and comments a bit, new version attached.
Looks good to me. Applied, thanks!
As a note - psql truncates passwords at 100 characters when it reads it
from the problem (in the connstr it's fine). Not sure we care enough to
change that, though - I doubt it's a very common usecase for psql...
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/