You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by cc...@apache.org on 2026/07/24 14:44:35 UTC

(allura) 04/04: fixup! [#8614] Implement field level encryption for User and UserLoginDetails fields

This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch cc/8614-part2
in repository https://gitbox.apache.org/repos/asf/allura.git

commit d83b8b2177366e1093d27d943cfd824b4165e3e3
Author: Carlos Cruz <ca...@slashdotmedia.com>
AuthorDate: Mon Jul 20 15:27:21 2026 -0600

    fixup! [#8614] Implement field level encryption for User and UserLoginDetails fields
---
 scripts/migrations/037-field-encryption.sh         | 7 ++++++-
 scripts/migrations/038-field-encryption-cleanup.sh | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/scripts/migrations/037-field-encryption.sh b/scripts/migrations/037-field-encryption.sh
index f81d6899c..1b13ec439 100755
--- a/scripts/migrations/037-field-encryption.sh
+++ b/scripts/migrations/037-field-encryption.sh
@@ -34,4 +34,9 @@ export PYTHONWARNINGS="${PYTHONWARNINGS:-ignore:pkg_resources is deprecated as a
 
 CMD="paster script $INI ../scripts/convert_encrypted_field.py"
 
-$CMD allura.model.auth.User email_addresses
+$CMD allura.model.auth.User email_addresses && \
+$CMD allura.model.auth.User last_access.login_ip && \
+$CMD allura.model.auth.User last_access.session_ip && \
+$CMD allura.model.auth.User socialnetworks.accounturl && \
+$CMD allura.model.auth.User telnumbers && \
+$CMD allura.model.auth.UserLoginDetails ip
diff --git a/scripts/migrations/038-field-encryption-cleanup.sh b/scripts/migrations/038-field-encryption-cleanup.sh
index a3a21dbcc..82e44ac6f 100755
--- a/scripts/migrations/038-field-encryption-cleanup.sh
+++ b/scripts/migrations/038-field-encryption-cleanup.sh
@@ -34,4 +34,9 @@ export PYTHONWARNINGS="${PYTHONWARNINGS:-ignore:pkg_resources is deprecated as a
 
 CMD="paster script $INI ../scripts/convert_encrypted_field.py -- --remove-unencrypted"
 
-$CMD allura.model.auth.User email_addresses
+$CMD allura.model.auth.User email_addresses && \
+$CMD allura.model.auth.User last_access.login_ip && \
+$CMD allura.model.auth.User last_access.session_ip && \
+$CMD allura.model.auth.User socialnetworks.accounturl && \
+$CMD allura.model.auth.User telnumbers && \
+$CMD allura.model.auth.UserLoginDetails ip