com doc/fr: Apply commit 8465ce5fc83b9ad9442aaae1797ca9efd42a4757: appendices/ini.list.xml reference/blenc/book.xml reference/blenc/configure.xml reference/blenc/constants.xml reference/blenc/functions/blenc-encrypt.xml reference/blenc/ini.xml reference/blenc/reference.xml reference/blenc/setup.xml
[email protected] (George Peter Banyard) Wed, 24 Feb 2021 17:45:13 +0000
| Newsgroups | php.doc.fr |
|---|---|
| Message-ID | <[email protected]> |
Commit: 045423bfbec06482e6a617a950a13932470d2d4f Author: George Peter Banyard <[email protected]> Wed, 24 Feb 2021 16:42:13 +0000 Parents: df7a8cc54839432c02b4f6330ccb7178e1e65a46 Branches: master Link: http://git.php.net/?p=doc/fr.git;a=commitdiff;h=045423bfbec06482e6a617a950a13932470d2d4f Log: Apply commit 8465ce5fc83b9ad9442aaae1797ca9efd42a4757 Remove blenc documentation Changed paths: M appendices/ini.list.xml D reference/blenc/book.xml D reference/blenc/configure.xml D reference/blenc/constants.xml D reference/blenc/functions/blenc-encrypt.xml D reference/blenc/ini.xml D reference/blenc/reference.xml D reference/blenc/setup.xml
diff_045423bfbec06482e6a617a950a13932470d2d4f.txt
(text/plain, 15.1 KB)
diff --git a/appendices/ini.list.xml b/appendices/ini.list.xml
index 8c74d024cc..0b0667378e 100644
--- a/appendices/ini.list.xml
+++ b/appendices/ini.list.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 3e08a8aae657492bdcdc7c550099ddf072042fa9 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 8465ce5fc83b9ad9442aaae1797ca9efd42a4757 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<section xml:id="ini.list" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Liste des directives du &php.ini;</title>
@@ -148,12 +148,6 @@
<entry>Disponible depuis bcompiler 0.8.</entry>
</row>
<row>
- <entry>blenc.key_file</entry>
- <entry>"/usr/local/etc/blenckeys"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
<entry><link linkend="ini.browscap">browscap</link></entry>
<entry>NULL</entry>
<entry>PHP_INI_SYSTEM</entry>
diff --git a/reference/blenc/book.xml b/reference/blenc/book.xml
deleted file mode 100644
index e217369d69..0000000000
--- a/reference/blenc/book.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 59a1bbcb6f7a1e74a640d7ec2890cc6a12f19b52 Maintainer: yannick Status: ready -->
-<!-- Reviewed: no -->
-
-<book xml:id="book.blenc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Blenc - Encodeur BLowfish pour les sources des scripts PHP</title>
- <titleabbrev>BLENC</titleabbrev>
-
- <preface xml:id="intro.blenc">
- &reftitle.intro;
- &warn.experimental;
- <para>
- BLENC est un protecteur de source des scripts PHP qui :
- <simplelist>
- <member>
- Encode votre code source avec l'algorithme blowfish.
- </member>
- <member>
- Permet un cryptage transparent et une exécution de vos scripts
- PHP précédemment encodés avec BLENC.
- </member>
- </simplelist>
- </para>
- <para>
- BLENC est une extension qui réside dans le moteur Zend, permettant
- un cryptage transparent et une exécution des scripts PHP en utilisant
- l'algorithme blowfish. Il n'est pas prévu pour être totalement sécurisé
- (il est toujours possible de dé-assembler le script dans l'opcode en
- utilisant un paquet comme XDebug), cependant, il garde loin les personnes
- de votre code, et rend le reverse ingineering difficile.
- </para>
- <para>
- Afin de protéger votre script PHP, vous devez crypter chaque script
- avec la fonction <function>blenc_encrypt</function>. Après, vous
- pouvez inclure le script crypté comme ceci :
- <programlisting role="php">
-<![CDATA[
-<?php
-
-/* Script PHP encodé avec BLENC */
-$my_source_encoded = 'my_source_encoded.phpe';
-
-include($my_source_encoded);
-?>
-]]>
- </programlisting>
- </para>
- <para>
- BLENC supporte également une durée d'expiration pour le module.
- Aussi, si vous voulez déployer votre code source avec une durée
- d'expiration, vous devez compiler l'extension en modifiant l'en-tête
- du fichier relatif au cryptage et à la durée d'expiration.
- Veuillez vous raporter à la section sur la configuration pour plus
- d'informations.
- </para>
- </preface>
-
- &reference.blenc.setup;
- &reference.blenc.constants;
- &reference.blenc.reference;
-
-</book>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"~/.phpdoc/manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
diff --git a/reference/blenc/configure.xml b/reference/blenc/configure.xml
deleted file mode 100644
index 77dcffaa84..0000000000
--- a/reference/blenc/configure.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 59a1bbcb6f7a1e74a640d7ec2890cc6a12f19b52 Maintainer: yannick Status: ready -->
-<!-- Reviewed: no -->
-
-<section xml:id="blenc.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- &reftitle.install;
- <para>
- &pecl.moved;
- </para>
- <para>
- &pecl.info;
- <link xlink:href="&url.pecl.package;blenc">&url.pecl.package;blenc</link>
- </para>
- <para>
- Il est vivement recommandé d'installer BLENC depuis les sources, sans
- la commande PECL. Pour cela, vous pouvez :
- <simplelist>
- <member>
- Spécifier votre clé personnel de cryptage, utilisée pour crée des clés
- redistribuales. Votre code source sera plus difficile à décrypter pour
- les utilisateurs qui peuvent lire le fichier key_file sur le serveur web.
- </member>
- <member>
- Spécifier une date d'expiration pour le module BLENC. Avec une date
- d'expiration, vous pouvez décider que le module BLENC, sur le système cible,
- fonctionnera jusqu'à une date donnée. Après cette date, BLENC arrêtera de
- décrypter les fichiers.
- </member>
- </simplelist>
- Toutes ces options de configuration sont stockées dans l'en-tête du
- fichier blenc_protect.h
- </para>
- <para>
- Veuillez lire le contenu de blenc_protect.h dans les sources de BLECN pour
- savoir comment définir ces options.
- </para>
-</section>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"~/.phpdoc/manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
diff --git a/reference/blenc/constants.xml b/reference/blenc/constants.xml
deleted file mode 100644
index c21ddc7982..0000000000
--- a/reference/blenc/constants.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 03212123a80d47346a46f195fd7565b38e5a15bf Maintainer: yannick Status: ready -->
-<!-- Reviewed: no -->
-
-<appendix xml:id="blenc.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- &reftitle.constants;
- &extension.constants;
- <para>
- <variablelist>
- <varlistentry xml:id="constant.blenc-ext-version">
- <term>
- <constant>BLENC_EXT_VERSION</constant>
- (<type>string</type>)
- </term>
- <listitem>
- <simpara>
- </simpara>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
-</appendix>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"~/.phpdoc/manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
diff --git a/reference/blenc/functions/blenc-encrypt.xml b/reference/blenc/functions/blenc-encrypt.xml
deleted file mode 100644
index d055f2439a..0000000000
--- a/reference/blenc/functions/blenc-encrypt.xml
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: dd07341fae2c414adc1f700be0890ff32e8daab4 Maintainer: yannick Status: ready -->
-<!-- Reviewed: no -->
-
-<refentry xml:id="function.blenc-encrypt" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <refnamediv>
- <refname>blenc_encrypt</refname>
- <refpurpose>Chiffre un script PHP avec BLENC</refpurpose>
- </refnamediv>
-
- <refsect1 role="description">
- &reftitle.description;
- <methodsynopsis>
- <type>string</type><methodname>blenc_encrypt</methodname>
- <methodparam><type>string</type><parameter>plaintext</parameter></methodparam>
- <methodparam><type>string</type><parameter>encodedfile</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>encryption_key</parameter></methodparam>
- </methodsynopsis>
- <para>
- Chiffre le contenu <parameter>plaintext</parameter> et l'écrit dans le fichier <parameter>encodedfile</parameter>.
- </para>
- </refsect1>
-
- <refsect1 role="parameters">
- &reftitle.parameters;
- <para>
- <variablelist>
- <varlistentry>
- <term>
- <parameter>plaintext</parameter>
- </term>
- <listitem>
- <para>
- Le code source à crypter. Inutile d'avoir les balises ouvrantes/fermantes
- PHP.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>
- <parameter>encodedfile</parameter>
- </term>
- <listitem>
- <para>
- Le nom du fichier où BLENC va sauvegarder le code source crypté.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>
- <parameter>encryption_key</parameter>
- </term>
- <listitem>
- <para>
- La clé que BLENC va utiliser pour crypter le contenu. Si non fourni,
- BLENC va créer une clé valide.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- </refsect1>
-
- <refsect1 role="returnvalues">
- &reftitle.returnvalues;
- <para>
- BLENC va retourner la clé redistribuable qui doit être sauvegardée
- dans key_file : le chemin de key_file est spécifié au moment de l'exécution
- avec l'option blenc.key_file
- </para>
- </refsect1>
-
- <refsect1 role="examples">
- &reftitle.examples;
- <para>
- <example>
- <title>Exemple avec <function>blenc_encrypt</function></title>
- <programlisting role="php">
-<![CDATA[
-<?php
-
-/* lit le code source PHP */
-$source_code = file_get_contents("my_source_to_protect.php");
-
-/* crée la version cryptée */
-$redistributable_key = blenc_encrypt($source_code, "my_source_encoded.php");
-
-/* lit le contenu de l'option key_file */
-$key_file = ini_get('blenc.key_file');
-
-/* enregistre la clé redistribuable */
-file_put_contents($key_file, $redistributable_key, FILE_APPEND);
-?>
-]]>
- </programlisting>
- </example>
- </para>
- </refsect1>
-
-</refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"~/.phpdoc/manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
diff --git a/reference/blenc/ini.xml b/reference/blenc/ini.xml
deleted file mode 100644
index 463582f745..0000000000
--- a/reference/blenc/ini.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 0d4f244c391ffdd74b7630180204e9b9df59c20a Maintainer: yannick Status: ready -->
-<!-- Reviewed: no -->
-
-<section xml:id="blenc.configuration" xmlns="http://docbook.org/ns/docbook">
- &reftitle.runtime;
- &extension.runtime;
- <para>
- <table>
- <title>Blenc &ConfigureOptions;</title>
- <tgroup cols="4">
- <thead>
- <row>
- <entry>&Name;</entry>
- <entry>&Default;</entry>
- <entry>&Changeable;</entry>
- <entry>&Changelog;</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>
- <link linkend="ini.blenc.key-file">blenc.key_file</link>
- </entry>
- <entry>/usr/local/etc/blenckeys</entry>
- <entry>PHP_INI_ALL</entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </para>
-
- &ini.descriptions.title;
-
- <para>
- <variablelist>
- <varlistentry xml:id="ini.blenc.key-file">
- <term>
- <parameter>blenc.key_file</parameter>
- <type>string</type>
- </term>
- <listitem>
- <para>
- L'endroit où BLENC peut trouver le fichier contenant
- une liste des clés de déchiffrage disponibles. Ce fichier
- doit être accessible en lecture par le serveur Web.
- </para>
- </listitem>
- </varlistentry>
-
- </variablelist>
- </para>
-</section>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"~/.phpdoc/manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
-
diff --git a/reference/blenc/reference.xml b/reference/blenc/reference.xml
deleted file mode 100644
index 4456c67c2b..0000000000
--- a/reference/blenc/reference.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 03212123a80d47346a46f195fd7565b38e5a15bf Maintainer: yannick Status: ready -->
-<!-- Reviewed: no -->
-
-<reference xml:id="ref.blenc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>&Functions; Blenc</title>
-
- &reference.blenc.entities.functions;
-
-</reference>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"~/.phpdoc/manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
diff --git a/reference/blenc/setup.xml b/reference/blenc/setup.xml
deleted file mode 100644
index a494da44fd..0000000000
--- a/reference/blenc/setup.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 03212123a80d47346a46f195fd7565b38e5a15bf Maintainer: yannick Status: ready -->
-<!-- Reviewed: no -->
-
-<chapter xml:id="blenc.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- &reftitle.setup;
-
- <section xml:id="blenc.requirements">
- &reftitle.required;
- <para>
-
- </para>
- </section>
-
- &reference.blenc.configure;
- &reference.blenc.ini;
-
- <section xml:id="blenc.resources">
- &reftitle.resources;
- <para>
-
- </para>
- </section>
-
-</chapter>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"~/.phpdoc/manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->