Bug 220134

Summary: security/p5-Crypt-OpenSSL-CA: adding functionality for parse existing CRL
Product: Ports & Packages Reporter: onborodin
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed FIXED    
Severity: Affects Many People CC: pi
Priority: --- Keywords: security
Version: LatestFlags: pi: maintainer-feedback+
Hardware: Any   
OS: Any   
Description Flags
patch none

Description onborodin 2017-06-19 14:15:14 UTC
Created attachment 183628 [details]

I added

- parse_CRL ($pem_crl)
Creates and returns an Crypt::OpenSSL::CA::X509_CRL object

- get_issuer_DN()
Get DN string of issuer the CRL

- get_nextUpdate () and  get_lastUpdate ()
Get validity period of the certificate

- get_entryNumbers()
Get array of revoked serial numbers

- get_entry_count()
Get count of CRL entries. Count begin from zero.

- get_entry_revoke_date( $num )
Get revoke date of entry in the CRL. 

- get_entry_serial( $num )
Get serial number of entry in the CRL.

This function allows you to get information about already created revocation lists.

Authors of the perl package, unfortunately, do not answer.
Comment 1 Kurt Jaeger freebsd_committer 2017-06-19 17:53:57 UTC
Comment 2 commit-hook freebsd_committer 2017-06-19 18:05:52 UTC
A commit references this bug:

Author: pi
Date: Mon Jun 19 18:05:26 UTC 2017
New revision: 443904
URL: https://svnweb.freebsd.org/changeset/ports/443904

  security/p5-Crypt-OpenSSL-CA: add functions to retrieve CRL-related infos

  PR:		220134
  Submitted by:	Borodin Oleg <onborodin@gmail.com>

Comment 3 Kurt Jaeger freebsd_committer 2017-06-19 18:06:19 UTC
Committed, thanks!
Comment 4 Kurt Jaeger freebsd_committer 2017-06-19 18:22:01 UTC
patch was also sent upstream, see