summaryrefslogtreecommitdiff
path: root/ar
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-07 16:16:34 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-07 16:16:34 +0900
commit62efb7d4fb797d336fc835fc3a941e8ed3d2ccdb (patch)
tree397e0fa59cecd7525bebaee539704c02b96d5009 /ar
parent77e73ebfa980f3d4f2ca87009946379afc7df291 (diff)
modified bin/ecrypt
Diffstat (limited to 'ar')
-rwxr-xr-xar/.local/bin/ecrypt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ar/.local/bin/ecrypt b/ar/.local/bin/ecrypt
index 5547dcb..ace0eb7 100755
--- a/ar/.local/bin/ecrypt
+++ b/ar/.local/bin/ecrypt
@@ -2,7 +2,7 @@
mount_encrypted() {
! mount | grep -q " $1 " && echo "$PASSPHRASE" | sudo mount -t ecryptfs "$1" "$2" \
- -o ecryptfs_cipher=aes,ecryptfs_key_bytes=32,ecryptfs_passthrough=no,ecryptfs_enable_filename_crypto=yes,ecryptfs_sig=$ECRYPTFS_SIG,ecryptfs_fnek_sig=$FNEK_SIG,passwd=$(printf '%s' "$PASSPHRASE")
+ -o ecryptfs_cipher=aes,ecryptfs_key_bytes=32,ecryptfs_passthrough=no,ecryptfs_enable_filename_crypto=yes,ecryptfs_sig=$ECRYPTFS_SIG,ecryptfs_fnek_sig=$FNEK_SIG,key=passphrase:passphrase_passwd=$(printf '%s' "$PASSPHRASE")
}
attempt_mount() {