[Rt-commit] r9603 - in rt/branches/3.7-EXPERIMENTAL: . etc

ruz at bestpractical.com ruz at bestpractical.com
Tue Nov 6 07:12:32 EST 2007


Author: ruz
Date: Tue Nov  6 07:12:29 2007
New Revision: 9603

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/etc/RT_Config.pm.in
   rt/branches/3.7-EXPERIMENTAL/lib/RT/Crypt/GnuPG.pm

Log:
 r9537 at cubic-pc (orig r9536):  ruz | 2007-11-02 18:13:16 +0300
 * cover in the doc that '-' gnupg options must be quoted


Modified: rt/branches/3.7-EXPERIMENTAL/etc/RT_Config.pm.in
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/etc/RT_Config.pm.in	(original)
+++ rt/branches/3.7-EXPERIMENTAL/etc/RT_Config.pm.in	Tue Nov  6 07:12:29 2007
@@ -318,6 +318,7 @@
 # Options of GnuPG program
 # If you override this in your RT_SiteConfig, you should be sure
 # to include a homedir setting
+# NOTE that options with '-' character MUST be quoted.
 
 Set(%GnuPGOptions,
     homedir => '@RT_VAR_PATH@/data/gpg',

Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Crypt/GnuPG.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Crypt/GnuPG.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Crypt/GnuPG.pm	Tue Nov  6 07:12:29 2007
@@ -152,6 +152,9 @@
         # 'commented-option' => 'value or undef',
     );
 
+B<NOTE> that options may contain '-' character and such options B<MUST> be
+quoted, otherwise you can see quite cryptic error 'gpg: Invalid option "--0"'.
+
 =over
 
 =item --homedir


More information about the Rt-commit mailing list