Hi,
We are running OTRS on sos.indymedia.org with a simple PGP config: a
single gpg key with one UID per queue. This way its quite simpler to
run and maintain than having a key for each queue.
But looks like PGP.pm isn't able to find and print the correct UID,
so here's a little patch for that, against the last CVS version og
PGP.pm
I've also feed a bug for that, #1080
Bert.
----
--- PGP.pm_orig 2006-01-27 14:48:53.532901032 +0100
+++ /usr/share/otrs/Kernel/System/Crypt/PGP.pm 2006-01-27 16:29:27.253688560
+0100
@@ -353,7 +353,7 @@
$Key{Created} .= $4;
$Key{Identifier} .= $5;
}
- if ($InKey && $Line =~ /^uid\s+(.*)/) {
+ if ($InKey && $Line =~ /^uid\s+(.*)\<$Search\>/) {
$Key{Identifier} .= ', '.$1;
}
if ($InKey && $Line =~ /^(ssb)\s(.+?)\/(.+?)\s(.+?)\s/) {
@@ -408,7 +408,7 @@
$Key{Created} .= $4;
$Key{Identifier} .= $5;
}
- if ($InKey && $Line =~ /^uid\s+(.*)/) {
+ if ($InKey && $Line =~ /^uid\s+(.*)\<$Search\>/) {
$Key{Identifier} .= ', '.$1;
}
if ($InKey && $Line =~ /\[expires:\s(.+?)\]/) {
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev