ftp_syslog('debug', "($log_style) DEBUG: Signature made $1") if DEBUG;
+ # Some versions of GPG also mention the key used to make the signature
+ # on this line, while others do not. The testing mock does.
+ $timestr =~ s/ using .*//; # trim to only timestamp
+
# If the time/date string starts with a weekday (e.g. "Wed Apr 28 16:40:03 2004 EDT"),
# chop off the weekday - Date::Manip doesn't like it
$timestr =~ s/^[a-z]+? ([a-z]+)/$1/i;