cvs: peardoc /en/package/encryption/crypt-gpg examples.xml generate-key.xml intro.xml referring-to-keys.xml usage.xml
| From: | Michael Gauthier | Date: | Thu, 22 Jan 2009 19:27:14 +0000 |
| Subject: | cvs: peardoc /en/package/encryption/crypt-gpg examples.xml generate-key.xml intro.xml referring-to-keys.xml usage.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-11473@lists.php.net to get a copy of this message | ||
gauthierm Thu Jan 22 19:27:14 2009 UTC
Modified files:
/peardoc/en/package/encryption/crypt-gpg examples.xml
generate-key.xml intro.xml
referring-to-keys.xml
usage.xml
Log:
Use GnuPG instead of GPG as it is preferred.
http://cvs.php.net/viewvc.cgi/peardoc/en/package/encryption/crypt-gpg/examples.xml?r1=1.7&r2=1.8&diff_format=u Index: peardoc/en/package/encryption/crypt-gpg/examples.xml diff -u peardoc/en/package/encryption/crypt-gpg/examples.xml:1.7 peardoc/en/package/encryption/crypt-gpg/examples.xml:1.8 --- peardoc/en/package/encryption/crypt-gpg/examples.xml:1.7 Fri Jan 16 16:22:44 2009 +++ peardoc/en/package/encryption/crypt-gpg/examples.xml Thu Jan 22 19:27:12 2009 @@ -16,7 +16,7 @@ <link linkend="package.encryption.crypt-gpg.generate-key">instructions for generating a key</link> that can both encrypt and sign data. The example key has a user id of <emphasis>test@example.com</emphasis> and a - passphrase of <emphasis>test</emphasis>. All signature data is fictitious + passphrase of <emphasis>test</emphasis>. All signature data is fictitious, but is formatted like real signature data. </para> </note> http://cvs.php.net/viewvc.cgi/peardoc/en/package/encryption/crypt-gpg/generate-key.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/encryption/crypt-gpg/generate-key.xml diff -u peardoc/en/package/encryption/crypt-gpg/generate-key.xml:1.5 peardoc/en/package/encryption/crypt-gpg/generate-key.xml:1.6 --- peardoc/en/package/encryption/crypt-gpg/generate-key.xml:1.5 Fri Jan 16 16:22:44 2009 +++ peardoc/en/package/encryption/crypt-gpg/generate-key.xml Thu Jan 22 19:27:12 2009 @@ -6,19 +6,19 @@ xml:id="package.encryption.crypt-gpg.generate-key"> <info> - <title>Generating a GPG Key</title> + <title>Generating a GnuPG Key</title> <abstract> <para> - Outlines how to generate a GPG key for use with + Outlines how to generate a GnuPG key for use with <package>Crypt_GPG</package>. </para> </abstract> </info> <para> - <package>Crypt_GPG</package> does not yet support generating GPG keys. - Generating a GPG key for use with <package>Crypt_GPG</package> is much - the same as generating any other GPG key on a system. + <package>Crypt_GPG</package> does not yet support generating GnuPG keys. + Generating a GnuPG key for use with <package>Crypt_GPG</package> is much + the same as generating any other GnuPG key on a system. </para> <para> @@ -86,7 +86,7 @@ <para> Select the default value of 2048. Enter greater or fewer bits depending on how secure the encryption must be. The default value is considered safe for - most applications. GPG then prompts for the time period over which the + most applications. GnuPG then prompts for the time period over which the generated key will be valid: <programlisting> <computeroutput> @@ -139,8 +139,8 @@ </para> <para> - Following the passphrase, GPG will gather entropy for a period to ensure the - generated key uses sutitably random numbers. When enough entropy is + Following the passphrase, GnuPG will gather entropy for a period to ensure + the generated key uses sutitably random numbers. When enough entropy is collected the key is generated and added to the keyring: <programlisting> <computeroutput> @@ -165,7 +165,7 @@ </para> <para> - At this point the key is in the GPG keyring and ready to be used by + At this point the key is in the GnuPG keyring and ready to be used by <package>Crypt_GPG</package>. </para> http://cvs.php.net/viewvc.cgi/peardoc/en/package/encryption/crypt-gpg/intro.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/encryption/crypt-gpg/intro.xml diff -u peardoc/en/package/encryption/crypt-gpg/intro.xml:1.5 peardoc/en/package/encryption/crypt-gpg/intro.xml:1.6 --- peardoc/en/package/encryption/crypt-gpg/intro.xml:1.5 Fri Jan 16 16:22:44 2009 +++ peardoc/en/package/encryption/crypt-gpg/intro.xml Thu Jan 22 19:27:12 2009 @@ -17,20 +17,20 @@ <para> <package>Crypt_GPG</package> is a PHP package to interact with the - <link xlink:href="http://www.gnupg.org/"><application>GNU Privacy Guard (GPG)</application></link>. - GPG is a free and open-source implementation of the <link xlink:href="http://www.ietf.org/rfc/rfc4880.txt">OpenPGP protocol</link>, + <link xlink:href="http://www.gnupg.org/"><application>GNU Privacy Guard (GnuPG)</application></link>. + GnuPG is a free and open-source implementation of the <link xlink:href="http://www.ietf.org/rfc/rfc4880.txt">OpenPGP protocol</link>, providing key management, data encryption and data signing. <package>Crypt_GPG</package> provides an object-oriented API for performing - OpenPGP commands using GPG. + OpenPGP commands using GnuPG. </para> <para> - GPG is distributed as an executable program with a command-line argument - syntax for performing commands. <package>Crypt_GPG</package> uses PHP's + GnuPG is distributed as an executable program with a command-line argument + syntax for performing actions. <package>Crypt_GPG</package> uses PHP's <link xlink:href="http://ca3.php.net/manual/en/ref.exec.php">program - execution functions</link> to run GPG as a subprocess thus performing the - desired command. <package>Crypt_GPG</package> automatically handles process - control, stream handling and error checking of the GPG subprocess. + execution functions</link> to run GnuPG as a subprocess, performing the + desired action. <package>Crypt_GPG</package> automatically handles process + control, stream handling and error checking of the GnuPG subprocess. <package>Crypt_GPG</package> uses PHP streams internally for most actions, allowing (among other things) any streamable resource to be used with the <package>Crypt_GPG</package> file commands. @@ -39,7 +39,7 @@ <para> <note> <para> - Though GPG can support symmetric-key cryptography, this package is + Though GnuPG can support symmetric-key cryptography, this package is intended only to facilitate public-key cryptography. </para> </note> @@ -54,23 +54,23 @@ </info> <para> - The basic internal overview of a GPG command executed in + The basic internal overview of a GnuPG command executed in <package>Crypt_GPG</package> is as follows: <orderedlist> <listitem> <para>build the required command line,</para> </listitem> <listitem> - <para>open the GPG subprocess with the command line,</para> + <para>open the GnuPG subprocess with the command line,</para> </listitem> <listitem> <para> - stream data to and from the GPG subprocess on various IPC pipes until + stream data to and from the GnuPG subprocess on various IPC pipes until the command is finished, </para> </listitem> <listitem> - <para>close the GPG subprocess and,</para> + <para>close the GnuPG subprocess and,</para> </listitem> <listitem> <para>check for errors.</para> @@ -78,8 +78,8 @@ </orderedlist> </para> <para> - <package>Crypt_GPG</package> handles all these details internally so GPG can - be used with minimal effort from the developer. + <package>Crypt_GPG</package> handles all these details internally so GnuPG + can be used with minimal effort from the developer. </para> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/package/encryption/crypt-gpg/referring-to-keys.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/encryption/crypt-gpg/referring-to-keys.xml diff -u peardoc/en/package/encryption/crypt-gpg/referring-to-keys.xml:1.5 peardoc/en/package/encryption/crypt-gpg/referring-to-keys.xml:1.6 --- peardoc/en/package/encryption/crypt-gpg/referring-to-keys.xml:1.5 Fri Jan 16 16:22:44 2009 +++ peardoc/en/package/encryption/crypt-gpg/referring-to-keys.xml Thu Jan 22 19:27:12 2009 @@ -9,7 +9,7 @@ <title>Referring to Keys</title> <abstract> <para> - Outlines how to refer to GPG keys in code using + Outlines how to refer to GnuPG keys in code using <package>Crypt_GPG</package>. </para> </abstract> http://cvs.php.net/viewvc.cgi/peardoc/en/package/encryption/crypt-gpg/usage.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/encryption/crypt-gpg/usage.xml diff -u peardoc/en/package/encryption/crypt-gpg/usage.xml:1.1 peardoc/en/package/encryption/crypt-gpg/usage.xml:1.2 --- peardoc/en/package/encryption/crypt-gpg/usage.xml:1.1 Fri Jan 16 16:22:44 2009 +++ peardoc/en/package/encryption/crypt-gpg/usage.xml Thu Jan 22 19:27:12 2009 @@ -12,14 +12,14 @@ <section xml:id="package.encryption.crypt-gpg.usage.creating"> <info> - <title>Creating The GPG Object</title> + <title>Creating The <classname>Crypt_GPG</classname> Object</title> </info> <para> The <classname>Crypt_GPG</classname> class is the main entry point for using - <package>Crypt_GPG</package>. To use GPG in your project, create an instance - of <classname>Crypt_GPG</classname> and then call methods on the object to - perform GPG commands. + <package>Crypt_GPG</package>. To use GnuPG in your project, create an + instance of <classname>Crypt_GPG</classname> and then call methods on the + object to perform GPG actions. </para> <para> @@ -38,8 +38,8 @@ case case is when using <classname>Crypt_GPG</classname> from the context of a Web page when the Web-server's user does not have a home directory, or does not have write access to its home directory. This is often the case on - shared hosts. In this case, you should specify the GPG keyring location as - an existing writeable directory. This is done using the + shared hosts. In this case, you should specify the GnuPG keyring location + as an existing writeable directory. This is done using the <literal>homedir</literal> option. For example: <informalexample> <programlisting role="php"><![CDATA[ @@ -48,7 +48,7 @@ require_once 'Crypt/GPG.php'; // Specify homedir as an existing writeable directory if the web user -// does not have a home directoryi, or if the web user's home directory +// does not have a home directory, or if the web user's home directory // is not writeable. $gpg = new Crypt_GPG(array('homedir' => '/my/writeable/directory')); @@ -91,15 +91,15 @@ <section> <info> - <title>Specifying the GPG Binary Location</title> + <title>Specifying the GnuPG Binary Location</title> </info> <para> - <package>Crypt_GPG</package> works by talking to the GPG subprocess. As a - result, it needs to know the location of the GPG binary to work properly. + <package>Crypt_GPG</package> works by talking to the GnuPG subprocess. As a + result, it needs to know the location of the GnuPG binary to work properly. In most cases, <package>Crypt_GPG</package> will detect the location of the - GPG binary automatically. If the location is detected incorrectly, or if - the GPG binary is installed in a custom location, the + GnuPG binary automatically. If the location is detected incorrectly, or if + the GnuPG binary is installed in a custom location, the <literal>binary</literal> option may be used. For example: <informalexample> <programlisting role="php"><![CDATA[ @@ -107,7 +107,7 @@ require_once 'Crypt/GPG.php'; -// Specify custom location of GPG binary. +// Specify custom location of GnuPG binary. $gpg = new Crypt_GPG(array('binary' => '/home/joe/bin/gpg')); ?>
http://cvs.php.net/viewvc.cgi/peardoc/en/package/encryption/crypt-gpg/examples.xml?r1=1.7&r2=1.8&diff_format=u Index: peardoc/en/package/encryption/crypt-gpg/examples.xml diff -u peardoc/en/package/encryption/crypt-gpg/examples.xml:1.7 peardoc/en/package/encryption/crypt-gpg/examples.xml:1.8 --- peardoc/en/package/encryption/crypt-gpg/examples.xml:1.7 Fri Jan 16 16:22:44 2009 +++ peardoc/en/package/encryption/crypt-gpg/examples.xml Thu Jan 22 19:27:12 2009 @@ -16,7 +16,7 @@ <link linkend="package.encryption.crypt-gpg.generate-key">instructions for generating a key</link> that can both encrypt and sign data. The example key has a user id of <emphasis>test@example.com</emphasis> and a - passphrase of <emphasis>test</emphasis>. All signature data is fictitious + passphrase of <emphasis>test</emphasis>. All signature data is fictitious, but is formatted like real signature data. </para> </note> http://cvs.php.net/viewvc.cgi/peardoc/en/package/encryption/crypt-gpg/generate-key.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/encryption/crypt-gpg/generate-key.xml diff -u peardoc/en/package/encryption/crypt-gpg/generate-key.xml:1.5 peardoc/en/package/encryption/crypt-gpg/generate-key.xml:1.6 --- peardoc/en/package/encryption/crypt-gpg/generate-key.xml:1.5 Fri Jan 16 16:22:44 2009 +++ peardoc/en/package/encryption/crypt-gpg/generate-key.xml Thu Jan 22 19:27:12 2009 @@ -6,19 +6,19 @@ xml:id="package.encryption.crypt-gpg.generate-key"> <info> - <title>Generating a GPG Key</title> + <title>Generating a GnuPG Key</title> <abstract> <para> - Outlines how to generate a GPG key for use with + Outlines how to generate a GnuPG key for use with <package>Crypt_GPG</package>. </para> </abstract> </info> <para> - <package>Crypt_GPG</package> does not yet support generating GPG keys. - Generating a GPG key for use with <package>Crypt_GPG</package> is much - the same as generating any other GPG key on a system. + <package>Crypt_GPG</package> does not yet support generating GnuPG keys. + Generating a GnuPG key for use with <package>Crypt_GPG</package> is much + the same as generating any other GnuPG key on a system. </para> <para> @@ -86,7 +86,7 @@ <para> Select the default value of 2048. Enter greater or fewer bits depending on how secure the encryption must be. The default value is considered safe for - most applications. GPG then prompts for the time period over which the + most applications. GnuPG then prompts for the time period over which the generated key will be valid: <programlisting> <computeroutput> @@ -139,8 +139,8 @@ </para> <para> - Following the passphrase, GPG will gather entropy for a period to ensure the - generated key uses sutitably random numbers. When enough entropy is + Following the passphrase, GnuPG will gather entropy for a period to ensure + the generated key uses sutitably random numbers. When enough entropy is collected the key is generated and added to the keyring: <programlisting> <computeroutput> @@ -165,7 +165,7 @@ </para> <para> - At this point the key is in the GPG keyring and ready to be used by + At this point the key is in the GnuPG keyring and ready to be used by <package>Crypt_GPG</package>. </para> http://cvs.php.net/viewvc.cgi/peardoc/en/package/encryption/crypt-gpg/intro.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/encryption/crypt-gpg/intro.xml diff -u peardoc/en/package/encryption/crypt-gpg/intro.xml:1.5 peardoc/en/package/encryption/crypt-gpg/intro.xml:1.6 --- peardoc/en/package/encryption/crypt-gpg/intro.xml:1.5 Fri Jan 16 16:22:44 2009 +++ peardoc/en/package/encryption/crypt-gpg/intro.xml Thu Jan 22 19:27:12 2009 @@ -17,20 +17,20 @@ <para> <package>Crypt_GPG</package> is a PHP package to interact with the - <link xlink:href="http://www.gnupg.org/"><application>GNU Privacy Guard (GPG)</application></link>. - GPG is a free and open-source implementation of the <link xlink:href="http://www.ietf.org/rfc/rfc4880.txt">OpenPGP protocol</link>, + <link xlink:href="http://www.gnupg.org/"><application>GNU Privacy Guard (GnuPG)</application></link>. + GnuPG is a free and open-source implementation of the <link xlink:href="http://www.ietf.org/rfc/rfc4880.txt">OpenPGP protocol</link>, providing key management, data encryption and data signing. <package>Crypt_GPG</package> provides an object-oriented API for performing - OpenPGP commands using GPG. + OpenPGP commands using GnuPG. </para> <para> - GPG is distributed as an executable program with a command-line argument - syntax for performing commands. <package>Crypt_GPG</package> uses PHP's + GnuPG is distributed as an executable program with a command-line argument + syntax for performing actions. <package>Crypt_GPG</package> uses PHP's <link xlink:href="http://ca3.php.net/manual/en/ref.exec.php">program - execution functions</link> to run GPG as a subprocess thus performing the - desired command. <package>Crypt_GPG</package> automatically handles process - control, stream handling and error checking of the GPG subprocess. + execution functions</link> to run GnuPG as a subprocess, performing the + desired action. <package>Crypt_GPG</package> automatically handles process + control, stream handling and error checking of the GnuPG subprocess. <package>Crypt_GPG</package> uses PHP streams internally for most actions, allowing (among other things) any streamable resource to be used with the <package>Crypt_GPG</package> file commands. @@ -39,7 +39,7 @@ <para> <note> <para> - Though GPG can support symmetric-key cryptography, this package is + Though GnuPG can support symmetric-key cryptography, this package is intended only to facilitate public-key cryptography. </para> </note> @@ -54,23 +54,23 @@ </info> <para> - The basic internal overview of a GPG command executed in + The basic internal overview of a GnuPG command executed in <package>Crypt_GPG</package> is as follows: <orderedlist> <listitem> <para>build the required command line,</para> </listitem> <listitem> - <para>open the GPG subprocess with the command line,</para> + <para>open the GnuPG subprocess with the command line,</para> </listitem> <listitem> <para> - stream data to and from the GPG subprocess on various IPC pipes until + stream data to and from the GnuPG subprocess on various IPC pipes until the command is finished, </para> </listitem> <listitem> - <para>close the GPG subprocess and,</para> + <para>close the GnuPG subprocess and,</para> </listitem> <listitem> <para>check for errors.</para> @@ -78,8 +78,8 @@ </orderedlist> </para> <para> - <package>Crypt_GPG</package> handles all these details internally so GPG can - be used with minimal effort from the developer. + <package>Crypt_GPG</package> handles all these details internally so GnuPG + can be used with minimal effort from the developer. </para> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/package/encryption/crypt-gpg/referring-to-keys.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/encryption/crypt-gpg/referring-to-keys.xml diff -u peardoc/en/package/encryption/crypt-gpg/referring-to-keys.xml:1.5 peardoc/en/package/encryption/crypt-gpg/referring-to-keys.xml:1.6 --- peardoc/en/package/encryption/crypt-gpg/referring-to-keys.xml:1.5 Fri Jan 16 16:22:44 2009 +++ peardoc/en/package/encryption/crypt-gpg/referring-to-keys.xml Thu Jan 22 19:27:12 2009 @@ -9,7 +9,7 @@ <title>Referring to Keys</title> <abstract> <para> - Outlines how to refer to GPG keys in code using + Outlines how to refer to GnuPG keys in code using <package>Crypt_GPG</package>. </para> </abstract> http://cvs.php.net/viewvc.cgi/peardoc/en/package/encryption/crypt-gpg/usage.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/encryption/crypt-gpg/usage.xml diff -u peardoc/en/package/encryption/crypt-gpg/usage.xml:1.1 peardoc/en/package/encryption/crypt-gpg/usage.xml:1.2 --- peardoc/en/package/encryption/crypt-gpg/usage.xml:1.1 Fri Jan 16 16:22:44 2009 +++ peardoc/en/package/encryption/crypt-gpg/usage.xml Thu Jan 22 19:27:12 2009 @@ -12,14 +12,14 @@ <section xml:id="package.encryption.crypt-gpg.usage.creating"> <info> - <title>Creating The GPG Object</title> + <title>Creating The <classname>Crypt_GPG</classname> Object</title> </info> <para> The <classname>Crypt_GPG</classname> class is the main entry point for using - <package>Crypt_GPG</package>. To use GPG in your project, create an instance - of <classname>Crypt_GPG</classname> and then call methods on the object to - perform GPG commands. + <package>Crypt_GPG</package>. To use GnuPG in your project, create an + instance of <classname>Crypt_GPG</classname> and then call methods on the + object to perform GPG actions. </para> <para> @@ -38,8 +38,8 @@ case case is when using <classname>Crypt_GPG</classname> from the context of a Web page when the Web-server's user does not have a home directory, or does not have write access to its home directory. This is often the case on - shared hosts. In this case, you should specify the GPG keyring location as - an existing writeable directory. This is done using the + shared hosts. In this case, you should specify the GnuPG keyring location + as an existing writeable directory. This is done using the <literal>homedir</literal> option. For example: <informalexample> <programlisting role="php"><![CDATA[ @@ -48,7 +48,7 @@ require_once 'Crypt/GPG.php'; // Specify homedir as an existing writeable directory if the web user -// does not have a home directoryi, or if the web user's home directory +// does not have a home directory, or if the web user's home directory // is not writeable. $gpg = new Crypt_GPG(array('homedir' => '/my/writeable/directory')); @@ -91,15 +91,15 @@ <section> <info> - <title>Specifying the GPG Binary Location</title> + <title>Specifying the GnuPG Binary Location</title> </info> <para> - <package>Crypt_GPG</package> works by talking to the GPG subprocess. As a - result, it needs to know the location of the GPG binary to work properly. + <package>Crypt_GPG</package> works by talking to the GnuPG subprocess. As a + result, it needs to know the location of the GnuPG binary to work properly. In most cases, <package>Crypt_GPG</package> will detect the location of the - GPG binary automatically. If the location is detected incorrectly, or if - the GPG binary is installed in a custom location, the + GnuPG binary automatically. If the location is detected incorrectly, or if + the GnuPG binary is installed in a custom location, the <literal>binary</literal> option may be used. For example: <informalexample> <programlisting role="php"><![CDATA[ @@ -107,7 +107,7 @@ require_once 'Crypt/GPG.php'; -// Specify custom location of GPG binary. +// Specify custom location of GnuPG binary. $gpg = new Crypt_GPG(array('binary' => '/home/joe/bin/gpg')); ?>