Bug 220134 - security/p5-Crypt-OpenSSL-CA: adding functionality for parse existing CRL
Summary: security/p5-Crypt-OpenSSL-CA: adding functionality for parse existing CRL
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Kurt Jaeger
Keywords: security
Depends on:
Reported: 2017-06-19 14:15 UTC by onborodin
Modified: 2017-06-19 18:22 UTC (History)
1 user (show)

See Also:
pi: maintainer-feedback+

patch (7.94 KB, patch)
2017-06-19 14:15 UTC, onborodin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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