aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0022-password-double-encryption.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0022-password-double-encryption.patch')
-rw-r--r--debian/patches/0022-password-double-encryption.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/0022-password-double-encryption.patch b/debian/patches/0022-password-double-encryption.patch
new file mode 100644
index 0000000..e183964
--- /dev/null
+++ b/debian/patches/0022-password-double-encryption.patch
@@ -0,0 +1,12 @@
+--- a/perl/lib/Wallet/Object/Password.pm
++++ b/perl/lib/Wallet/Object/Password.pm
+@@ -187,8 +187,7 @@ sub retrieve {
+ if ($Wallet::Config::LDAP_SECRET) {
+ my $undata = Wallet::Object::File->string_decrypt($data);
+ if ($undata eq $data) {
+- my $endata = Wallet::Object::File->file_encrypt($data);
+- $self->_write_pw_file($path, $endata);
++ $self->_write_pw_file($path, $data);
+ $self->log_action ($operation, $user, $host, $time);
+ }
+ $data = $undata;