sslinfo extension - add notbefore and notafter timestamps

From: Cary Huang <cary(dot)huang(at)highgo(dot)ca>
To: "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: sslinfo extension - add notbefore and notafter timestamps
Date: 2022-08-19 23:00:41
Message-ID: 182b8565486.10af1a86f158715.2387262617218380588@highgo.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

I noticed that sslinfo extension does not have functions to return current client certificate's notbefore and notafter timestamps which are also quite important attributes in a X509 certificate. The attached patch adds 2 functions to get notbefore and notafter timestamps from the currently connected client certificate.

thank you!

Cary Huang

-------------

HighGo Software Inc. (Canada)

mailto:cary(dot)huang(at)highgo(dot)ca

http://www.highgo.ca

Attachment Content-Type Size
v1-0001-sslinfo-add-notbefore-and-notafter-timestamps.patch application/octet-stream 6.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2022-08-20 04:02:57 Re: Fix typo with logical connector (src/backend/commands/vacuumparallel.c)
Previous Message Nathan Bossart 2022-08-19 22:28:14 Re: use ARM intrinsics in pg_lfind32() where available