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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


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)


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


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