php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59132 encryption feature in bcompiler request
Submitted: 2010-03-28 08:18 UTC Modified: 2013-02-18 00:35 UTC
From: sniff at avn dot cz Assigned:
Status: No Feedback Package: bcompiler (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
45 - 7 = ?
Subscribe to this entry?

 
 [2010-03-28 08:18 UTC] sniff at avn dot cz
Description:
------------
Hi, it would be nice to include an encrypt support into the bcompiler. One of the possible way is to implement mcrypt as already Matjaz Marcina did on http://www.marcina.net/bcompiler.html

Reproduce code:
---------------
www.marcina.net/bcompiler.html

Expected result:
----------------
encrypted bytecode

Actual result:
--------------
no encryption support so far

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-28 09:00 UTC] alan at akbkhome dot com
Patches welcome

It should probably do something like
bcompiler_set_crypt_key()
bcompiler_set_decrypt_key()

crypt key can be used at the compile stage, and decrypt key 
set before running/including
 [2010-04-14 05:56 UTC] val@php.net
There's a problem with that patch not on implementation but on conceptual level - the idea behind the patch requires a secret key to be hardcoded to the extension. So you will be able to use the encoded files only with one particular instance of bcompiler, i.e. they aren't portable.

The whole idea behind bcompiler is to provide a tool for distributing PHP applications without revealing their sources, so portability is essential.
 [2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 15:01:30 2024 UTC