[Rt-commit] rt branch, 4.4/crypt-gpg-file-extension, created. rt-4.4.3-44-g3035ecf2a
? sunnavy
sunnavy at bestpractical.com
Mon Sep 24 11:06:18 EDT 2018
The branch, 4.4/crypt-gpg-file-extension has been created
at 3035ecf2ac442da1c5aeea76330fe4b6e037200a (commit)
- Log -----------------------------------------------------------------
commit 3035ecf2ac442da1c5aeea76330fe4b6e037200a
Author: sunnavy <sunnavy at bestpractical.com>
Date: Mon Sep 24 20:17:41 2018 +0800
Support to decrypt .gpg files by default
Especially that gnupg.org uses it for non armored encrypted files.
diff --git a/lib/RT/Crypt/GnuPG.pm b/lib/RT/Crypt/GnuPG.pm
index 540a2482b..23881223b 100644
--- a/lib/RT/Crypt/GnuPG.pm
+++ b/lib/RT/Crypt/GnuPG.pm
@@ -286,7 +286,7 @@ my %supported_opt = map { $_ => 1 } qw(
verbose
);
-our $RE_FILE_EXTENSIONS = qr/pgp|asc/i;
+our $RE_FILE_EXTENSIONS = qr/pgp|asc|gpg/i;
# DEV WARNING: always pass all STD* handles to GnuPG interface even if we don't
# need them, just pass 'IO::Handle->new()' and then close it after safe_run_child.
-----------------------------------------------------------------------
More information about the rt-commit
mailing list