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/08/14 18:55:56 UTC

(allura) 02/02: 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 ff9f64eacefc0d0a8f6d722681071b61aca2b7f6
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         | 9 +++++++--
 scripts/migrations/038-field-encryption-cleanup.sh | 9 +++++++--
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/scripts/migrations/037-field-encryption.sh b/scripts/migrations/037-field-encryption.sh
index df933f192..bbf241c1a 100755
--- a/scripts/migrations/037-field-encryption.sh
+++ b/scripts/migrations/037-field-encryption.sh
@@ -34,5 +34,10 @@ 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 preferences.email_address
\ No newline at end of file
+$CMD allura.model.auth.User email_addresses && \
+$CMD allura.model.auth.User preferences.email_address && \
+$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 fed1c3702..666abe794 100755
--- a/scripts/migrations/038-field-encryption-cleanup.sh
+++ b/scripts/migrations/038-field-encryption-cleanup.sh
@@ -34,5 +34,10 @@ 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 preferences.email_address
\ No newline at end of file
+$CMD allura.model.auth.User email_addresses && \
+$CMD allura.model.auth.User preferences.email_address && \
+$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