# openssl extension maintainer?

- Thread: https://externals.io/message/22932
- Original archive: https://news-web.php.net/php.internals/22932
- Started by Brandon Fosdick on 2006-04-23T19:58:06+00:00
- Messages: 10
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #22932 — Brandon Fosdick — 2006-04-23T19:58:06+00:00

URL: https://externals.io/message/22932#22932

Is the OpenSSL extension still being maintained? I'm looking at adding some needed functionality and don't know who to talk to about it.

---

## #22933 — Hannes Magnusson — 2006-04-23T21:38:51+00:00

URL: https://externals.io/message/22932#22933 · In reply to: #22932

Hi Brandon


> Is the OpenSSL extension still being maintained? I'm looking at adding some needed functionality and don't know who to talk to about it.
>
php-src/EXTENSIONS:
EXTENSION:           openssl
PRIMARY MAINTAINER:  Wez Furlong <wez@php.net>
MAINTENANCE:         Maintained
STATUS:              Experimental
SINCE:               4.0.4

-Hannes

---

## #22934 — Brandon Fosdick — 2006-04-23T21:45:39+00:00

URL: https://externals.io/message/22932#22934 · In reply to: #22933

Hannes Magnusson wrote:
> Hi Brandon
> 
> 
> > […]
> php-src/EXTENSIONS:
> EXTENSION:           openssl
> PRIMARY MAINTAINER:  Wez Furlong <wez@php.net>
> MAINTENANCE:         Maintained
> STATUS:              Experimental
> SINCE:               4.0.4

I guess I missed that. Thanks.

---

## #22935 — Wez Furlong — 2006-04-24T05:39:19+00:00

URL: https://externals.io/message/22932#22935 · In reply to: #22934

You can reach me at this email address too.

--Wez.


> Hannes Magnusson wrote:
> > […]
>
> I guess I missed that. Thanks.

---

## #22939 — Brandon Fosdick — 2006-04-25T01:56:25+00:00

URL: https://externals.io/message/22932#22939 · In reply to: #22935

Wez Furlong wrote:
> You can reach me at this email address too.

Which address do you prefer?

I need the PKCS12 functions and the ability to extract public keys, so I was thinking I'd add both, but I don't want to step on anybody's toes. I've never played around in the PHP internals before so I don't know how things work around here. Any advice?

---

## #22943 — Wez Furlong — 2006-04-25T05:40:33+00:00

URL: https://externals.io/message/22932#22943 · In reply to: #22939

> Wez Furlong wrote:
> > […]
>
> Which address do you prefer?

This one for PHP stuff.

> I need the PKCS12 functions
> and the ability to extract public keys

Like this:
http://us2.php.net/manual/en/function.openssl-pkey-get-public.php
or something else?

>, so I was thinking I'd add both, but I don't want to step on anybody's toes.
> I've never played around in the PHP internals before so I don't know how
> things work around here. Any advice?

Just have a go at making it work.  If you get stuck, try to find some
other code that does a similar thing to what you want.  If that fails,
try asking for help on IRC at #php.pecl on EFNet.  If you don't do
IRC, or no one is around, then you can also try asking for help on
pecl-dev@lists.php.net.

It's worth reading though Sara Golemon's extension writing articles on
zend.com before you  begin.  There are also a number of conference
presentation slides hanging around the 'net written by Wez Furlong and
Marcus Boerger, among others.

Once you're happy with the changes you've made, send a diff to the
mailing list (and Cc: me) and we'll see about integrating it into CVS.
 There's a README.SUBMITTING-PATCH text file in the PHP source root
that should describe this part of the process.

Good luck!

--Wez.

---

## #22965 — Brandon Fosdick — 2006-04-26T01:05:43+00:00

URL: https://externals.io/message/22932#22965 · In reply to: #22943

Wez Furlong wrote:
> Like this:
> http://us2.php.net/manual/en/function.openssl-pkey-get-public.php
> or something else?

Close, but I need them in PEM format.

---

## #22971 — Wez Furlong — 2006-04-26T07:13:49+00:00

URL: https://externals.io/message/22932#22971 · In reply to: #22965

Ah yes.
http://us3.php.net/manual/en/function.openssl-pkey-export.php almost
does what you want... but only works on private keys.

I'd welcome a patch for that too.

--Wez.


> Wez Furlong wrote:
> > […]
>
> Close, but I need them in PEM format.

---

## #22986 — Brandon Fosdick — 2006-04-27T04:22:25+00:00

URL: https://externals.io/message/22932#22986 · In reply to: #22971

Wez Furlong wrote:
> Ah yes.
> http://us3.php.net/manual/en/function.openssl-pkey-export.php almost
> does what you want... but only works on private keys.
> 
> I'd welcome a patch for that too.

Do you want separate patches for PKCS12 and PEM keys or should it be all one patch?

Has anything changed that would require me to work from the CVS version or can I stick with the 5.1.2 release?

---

## #22989 — Wez Furlong — 2006-04-27T08:03:52+00:00

URL: https://externals.io/message/22932#22989 · In reply to: #22986

Just one patch will be fine.

We usually accept patches for new features against HEAD of CVS only,
but with the unicode development effort that is ongoing in HEAD, you
might find it a little bit harder to do that.
My suggestion is to make the patch for 5.1.2 and make sure it all
works first, and then have a go at making it against HEAD.  If you're
lucky, the same patch will apply against both versions.  If not, there
will be a few minor differences for unicode.

I'll be happy to see either or both patches and we can take it from there.

--Wez.


> Wez Furlong wrote:
> > […]
>
> Do you want separate patches for PKCS12 and PEM keys or should it be all one patch?
>
> Has anything changed that would require me to work from the CVS version or can I stick with the 5.1.2 release?
