[Rt-commit] r9310 - in rt/branches/3.7-RTIR-RELENG: html/Ticket

sartak at bestpractical.com sartak at bestpractical.com
Mon Oct 15 16:35:46 EDT 2007


Author: sartak
Date: Mon Oct 15 16:35:45 2007
New Revision: 9310

Modified:
   rt/branches/3.7-RTIR-RELENG/   (props changed)
   rt/branches/3.7-RTIR-RELENG/html/Ticket/Create.html
   rt/branches/3.7-RTIR-RELENG/html/Ticket/Update.html

Log:
 r43701 at onn:  sartak | 2007-10-15 16:34:21 -0400
 Make sure RT::Crypt::GnuPG is loaded if signing/encrypting on ticket create/update


Modified: rt/branches/3.7-RTIR-RELENG/html/Ticket/Create.html
==============================================================================
--- rt/branches/3.7-RTIR-RELENG/html/Ticket/Create.html	(original)
+++ rt/branches/3.7-RTIR-RELENG/html/Ticket/Create.html	Mon Oct 15 16:35:45 2007
@@ -321,6 +321,11 @@
 my $checks_failure = 0;
 my $cannot_sign = 0;
 my @gnupg_keys_issues;
+
+if (RT->Config->Get('GnuPG')->{'Enable'}) {
+    require RT::Crypt::GnuPG;
+}
+
 if ( !exists $ARGS{'AddMoreAttach'} && ($ARGS{'id'}||'') eq 'new' ) {
 
     # check to see if we have a good passphrase

Modified: rt/branches/3.7-RTIR-RELENG/html/Ticket/Update.html
==============================================================================
--- rt/branches/3.7-RTIR-RELENG/html/Ticket/Update.html	(original)
+++ rt/branches/3.7-RTIR-RELENG/html/Ticket/Update.html	Mon Oct 15 16:35:45 2007
@@ -251,6 +251,11 @@
 my @results;
 my $cannot_sign = 0;
 my @gnupg_keys_issues;
+
+if (RT->Config->Get('GnuPG')->{'Enable'}) {
+    require RT::Crypt::GnuPG;
+}
+
 if ( $ARGS{'SubmitTicket'} ) {
 
     # check to see if we have a good passphrase


More information about the Rt-commit mailing list