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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sniff at avn dot cz
New email:
PHP Version: OS:

 

 [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: Tue Apr 23 07:01:29 2024 UTC