[Rt-commit] r9536 - in rt/branches/3.7-RTIR-RELENG: etc
ruz at bestpractical.com
ruz at bestpractical.com
Fri Nov 2 11:13:18 EDT 2007
Author: ruz
Date: Fri Nov 2 11:13:16 2007
New Revision: 9536
Modified:
rt/branches/3.7-RTIR-RELENG/etc/RT_Config.pm.in
rt/branches/3.7-RTIR-RELENG/lib/RT/Crypt/GnuPG.pm
Log:
* cover in the doc that '-' gnupg options must be quoted
Modified: rt/branches/3.7-RTIR-RELENG/etc/RT_Config.pm.in
==============================================================================
--- rt/branches/3.7-RTIR-RELENG/etc/RT_Config.pm.in (original)
+++ rt/branches/3.7-RTIR-RELENG/etc/RT_Config.pm.in Fri Nov 2 11:13:16 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-RTIR-RELENG/lib/RT/Crypt/GnuPG.pm
==============================================================================
--- rt/branches/3.7-RTIR-RELENG/lib/RT/Crypt/GnuPG.pm (original)
+++ rt/branches/3.7-RTIR-RELENG/lib/RT/Crypt/GnuPG.pm Fri Nov 2 11:13:16 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