aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0022-password-double-encryption.patch
diff options
context:
space:
mode:
authorLucas de Castro Borges <lucas@gnuabordo.com.br>2024-05-15 11:43:01 -0300
committerLucas de Castro Borges <lucas@gnuabordo.com.br>2024-05-15 11:43:01 -0300
commit6e039fc6475d1dec21f7aa280c13f1c0b071f56c (patch)
tree22ced3820ff2b0dc302856c7fcd62f079c7708df /debian/patches/0022-password-double-encryption.patch
parent677b3a938f2f714109b47880fdf364183fdb61b2 (diff)
attached patches from Bill MacAllister
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;