# mcrypt & streams

- Thread: https://externals.io/message/46710
- Original archive: https://news-web.php.net/php.internals/46710
- Started by Stanislav Malyshev on 2010-01-13T22:48:12+00:00
- Messages: 4
- 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

---

## #46710 — Stanislav Malyshev — 2010-01-13T22:48:12+00:00

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

Hi!

We have mcrypt streams documented here:
http://www.php.net/manual/en/filters.encryption.php
however contrary to what the manual says, I do not see any 
implementation of mcrypt.* filters in mcrypt extension. There's some 
code in PECL mcrypt_filters extension, which is never mentioned in the 
manual and seems to not be touched by anybody for 3-4 years.
So the question is - does anybody know why we have feature documented 
that doesn't exist (at least in the extension the manual refers to) and 
does anybody know why want's whatever is in mcrypt_filters merged into 
main source rep?
-- 
Stanislav Malyshev, Zend Software Architect
stas@zend.com   http://www.zend.com/
(408)253-8829   MSN: stas@zend.com

---

## #46715 — Pierre Joye — 2010-01-14T00:04:47+00:00

URL: https://externals.io/message/46710#46715 · In reply to: #46710

> Hi!
>
> We have mcrypt streams documented here:
> http://www.php.net/manual/en/filters.encryption.php
> however contrary to what the manual says, I do not see any implementation of
> mcrypt.* filters in mcrypt extension. There's some code in PECL
> mcrypt_filters extension, which is never mentioned in the manual and seems
> to not be touched by anybody for 3-4 years.
> So the question is - does anybody know why we have feature documented that
> doesn't exist (at least in the extension the manual refers to)

It makes no difference between PECL and core. Unlike the main
extension page, the filters do not containt the PECL section/notice.
SSH2 is another example of this problem.

> and does
> anybody know why want's whatever is in mcrypt_filters merged into main
> source rep?

Are you asking if there are objections to merge mcrypt_filter to core?

Cheers,
-- 
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

---

## #46718 — Stanislav Malyshev — 2010-01-14T00:16:51+00:00

URL: https://externals.io/message/46710#46718 · In reply to: #46715

Hi!

> It makes no difference between PECL and core. Unlike the main
> extension page, the filters do not containt the PECL section/notice.
> SSH2 is another example of this problem.

Yes, but the problem is people actually install mcrypt (which is in 
source so everybody supposed to have it) and expect it to work. And it 
does not.

> Are you asking if there are objections to merge mcrypt_filter to core?

Yes, that too. And if there's any reason why it wasn't done before (like 
problems with mcrypt_filters code, some other issues).
-- 
Stanislav Malyshev, Zend Software Architect
stas@zend.com   http://www.zend.com/
(408)253-8829   MSN: stas@zend.com

---

## #46719 — Pierre Joye — 2010-01-14T00:22:41+00:00

URL: https://externals.io/message/46710#46719 · In reply to: #46718

> Hi!
>
> > […]
>
> Yes, but the problem is people actually install mcrypt (which is in source
> so everybody supposed to have it) and expect it to work. And it does not.

It does work. Only non installed features do not. The doc has to be
improved (did you ask php-doc?).

> > […]
>
> Yes, that too. And if there's any reason why it wasn't done before (like
> problems with mcrypt_filters code, some other issues).

I have no oppinion for or against it. Given that it has not been
touched in 3-4 years and nobody ever asked for it :)

Cheers,
-- 
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
