From me at joegurr.com Tue Oct 20 09:35:40 2026 From: me at joegurr.com (Joe Gurr) Date: Tue, 20 Oct 2026 20:35:40 +1100 Subject: [PATCH] platform/darwin: prefer diskutil image attach for ramdisk In-Reply-To: References: Message-ID: <20261020093540.17226-1-me@joegurr.com> On recent macOS, hdid prints a deprecation warning on every command that needs a secure tmpdir (edit, git, ...): hdiutil: WARNING: 'hdiutil attach -nomount ...' is deprecated. Please use 'diskutil image attach --noMount ...' instead. Try diskutil image attach --noMount first, and fall back to hdid when it does not produce a device, e.g. on older macOS releases. diskutil has no equivalent of -drivekey system-image=yes, so the ramdisk is no longer tagged as a system image. It is still never auto-mounted, and pass mounts it with nobrowse as before. Tested on macOS 27.0.1. Signed-off-by: Joe Gurr --- src/platform/darwin.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platform/darwin.sh b/src/platform/darwin.sh index 9a1fda8..0e864fb 100644 --- a/src/platform/darwin.sh +++ b/src/platform/darwin.sh @@ -25,7 +25,8 @@ tmpdir() { } trap unmount_tmpdir INT TERM EXIT SECURE_TMPDIR="$(mktemp -d "${TMPDIR:-/tmp}/$PROGRAM.XXXXXXXXXXXXX")" - DARWIN_RAMDISK_DEV="$(hdid -drivekey system-image=yes -nomount 'ram://32768' | cut -d ' ' -f 1)" # 32768 sectors = 16 mb + DARWIN_RAMDISK_DEV="$(diskutil image attach --noMount 'ram://32768' 2>/dev/null | grep -o -m 1 '^/dev/disk[0-9]*')" # 32768 sectors = 16 mb + [[ -z $DARWIN_RAMDISK_DEV ]] && DARWIN_RAMDISK_DEV="$(hdid -drivekey system-image=yes -nomount 'ram://32768' | cut -d ' ' -f 1)" [[ -z $DARWIN_RAMDISK_DEV ]] && die "Error: could not create ramdisk." newfs_hfs -M 700 "$DARWIN_RAMDISK_DEV" &>/dev/null || die "Error: could not create filesystem on ramdisk." mount -t hfs -o noatime -o nobrowse "$DARWIN_RAMDISK_DEV" "$SECURE_TMPDIR" || die "Error: could not mount filesystem on ramdisk." -- 2.47.3 From fernando.viola at gmail.com Tue Oct 20 10:27:31 2026 From: fernando.viola at gmail.com (Fernando Viola) Date: Tue, 20 Oct 2026 12:27:31 +0200 Subject: [PATCH] platform/darwin: prefer diskutil image attach for ramdisk In-Reply-To: <20261020093540.17226-1-me@joegurr.com> References: <20261020093540.17226-1-me@joegurr.com> Message-ID: Hi Joe, thanks for the patch. I had already reported this issue on the list back in September , so I'm glad to see it being addressed. One thought on the ordering: would it make sense to do it the other way around, i.e. keep using hdid when it is available (silencing the deprecation warning) and fall back to diskutil only when hdid is missing or fails? This would have two advantages: - we keep -drivekey system-image=yes on every system that still ships hdid; - the method is chosen up front instead of inferred from the output. With the current patch, if diskutil creates the device but grep fails to parse its output (e.g. if the format changes in a future release), hdid creates a second ramdisk and the first one is never ejected, since the trap only knows about $DARWIN_RAMDISK_DEV. Something like: if command -v hdid &>/dev/null; then DARWIN_RAMDISK_DEV="$(hdid -drivekey system-image=yes -nomount 'ram://32768' 2>/dev/null | cut -d ' ' -f 1)" fi [[ -z $DARWIN_RAMDISK_DEV ]] && DARWIN_RAMDISK_DEV="$(diskutil image attach --noMount 'ram://32768' 2>/dev/null | grep -o -m 1 '^/dev/disk[0-9]*')" [[ -z $DARWIN_RAMDISK_DEV ]] && die "Error: could not create ramdisk." The obvious downside is that the diskutil path would get little real-world testing until Apple actually removes hdid, so I'm not fully sure which trade-off is better. What do you think? Jason, do you have a preference here? Thanks, Fernando Viola Il giorno mar 20 ott 2026 alle ore 11:42 Joe Gurr ha scritto: > > On recent macOS, hdid prints a deprecation warning on every command > that needs a secure tmpdir (edit, git, ...): > > hdiutil: WARNING: 'hdiutil attach -nomount ...' is deprecated. > Please use 'diskutil image attach --noMount ...' instead. > > Try diskutil image attach --noMount first, and fall back to hdid when > it does not produce a device, e.g. on older macOS releases. > > diskutil has no equivalent of -drivekey system-image=yes, so the > ramdisk is no longer tagged as a system image. It is still never > auto-mounted, and pass mounts it with nobrowse as before. > > Tested on macOS 27.0.1. > > Signed-off-by: Joe Gurr > --- > src/platform/darwin.sh | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/src/platform/darwin.sh b/src/platform/darwin.sh > index 9a1fda8..0e864fb 100644 > --- a/src/platform/darwin.sh > +++ b/src/platform/darwin.sh > @@ -25,7 +25,8 @@ tmpdir() { > } > trap unmount_tmpdir INT TERM EXIT > SECURE_TMPDIR="$(mktemp -d "${TMPDIR:-/tmp}/$PROGRAM.XXXXXXXXXXXXX")" > - DARWIN_RAMDISK_DEV="$(hdid -drivekey system-image=yes -nomount 'ram://32768' | cut -d ' ' -f 1)" # 32768 sectors = 16 mb > + DARWIN_RAMDISK_DEV="$(diskutil image attach --noMount 'ram://32768' 2>/dev/null | grep -o -m 1 '^/dev/disk[0-9]*')" # 32768 sectors = 16 mb > + [[ -z $DARWIN_RAMDISK_DEV ]] && DARWIN_RAMDISK_DEV="$(hdid -drivekey system-image=yes -nomount 'ram://32768' | cut -d ' ' -f 1)" > [[ -z $DARWIN_RAMDISK_DEV ]] && die "Error: could not create ramdisk." > newfs_hfs -M 700 "$DARWIN_RAMDISK_DEV" &>/dev/null || die "Error: could not create filesystem on ramdisk." > mount -t hfs -o noatime -o nobrowse "$DARWIN_RAMDISK_DEV" "$SECURE_TMPDIR" || die "Error: could not mount filesystem on ramdisk." > -- > 2.47.3 > From me at joegurr.com Tue Oct 20 23:01:28 2026 From: me at joegurr.com (Joe Gurr) Date: Wed, 21 Oct 2026 10:01:28 +1100 Subject: [PATCH v2] platform/darwin: silence hdid deprecation warning, fall back to diskutil In-Reply-To: References: Message-ID: <20261020230128.7561-1-me@joegurr.com> On recent macOS, hdid prints a deprecation warning on every command that needs a secure tmpdir (edit, git, ...): hdiutil: WARNING: 'hdiutil attach -nomount ...' is deprecated. Please use 'diskutil image attach --noMount ...' instead. Keep using hdid when it is available, with its stderr silenced, so the ramdisk is still tagged with -drivekey system-image=yes. Fall back to diskutil image attach --noMount only when hdid is missing or fails. Choosing the method up front, rather than trying diskutil first and inferring success from its output, avoids creating a second ramdisk that the trap would never eject if diskutil's output format changes. Tested on macOS 27.0.1. Suggested-by: Fernando Viola Signed-off-by: Joe Gurr --- v2: try hdid first (stderr silenced) and fall back to diskutil, as suggested by Fernando. Hi Fernando, Thanks for looking at this so quickly, and sorry for the slow reply. I'm new to git send-email and think I mucked up replying to your original thread (which I did see!). I hope I'm not stepping on any toes. I'm pretty new to contributing to open source and would like to do more of it. Agreed, choosing the method up front is cleaner, and the orphaned ramdisk case is a real problem. src/platform/darwin.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/platform/darwin.sh b/src/platform/darwin.sh index 9a1fda8..6a6aa41 100644 --- a/src/platform/darwin.sh +++ b/src/platform/darwin.sh @@ -25,7 +25,10 @@ tmpdir() { } trap unmount_tmpdir INT TERM EXIT SECURE_TMPDIR="$(mktemp -d "${TMPDIR:-/tmp}/$PROGRAM.XXXXXXXXXXXXX")" - DARWIN_RAMDISK_DEV="$(hdid -drivekey system-image=yes -nomount 'ram://32768' | cut -d ' ' -f 1)" # 32768 sectors = 16 mb + if command -v hdid &>/dev/null; then + DARWIN_RAMDISK_DEV="$(hdid -drivekey system-image=yes -nomount 'ram://32768' 2>/dev/null | cut -d ' ' -f 1)" # 32768 sectors = 16 mb + fi + [[ -z $DARWIN_RAMDISK_DEV ]] && DARWIN_RAMDISK_DEV="$(diskutil image attach --noMount 'ram://32768' 2>/dev/null | grep -o -m 1 '^/dev/disk[0-9]*')" [[ -z $DARWIN_RAMDISK_DEV ]] && die "Error: could not create ramdisk." newfs_hfs -M 700 "$DARWIN_RAMDISK_DEV" &>/dev/null || die "Error: could not create filesystem on ramdisk." mount -t hfs -o noatime -o nobrowse "$DARWIN_RAMDISK_DEV" "$SECURE_TMPDIR" || die "Error: could not mount filesystem on ramdisk." -- 2.47.3 From glusvardi at posteo.net Sun Oct 25 12:36:00 2026 From: glusvardi at posteo.net (Gianmarco Lusvardi) Date: Sun, 25 Oct 2026 12:36:00 +0000 Subject: [PATCH] Wayland: added sensitive hint for clipboard managers Message-ID: <20261025123604.768977-1-glusvardi@posteo.net> Some desktop environments (e.g., KDE) include an instance of a clipboard manager. Clipboard managers keep a full history of everything that passed through the system clipboard; passwords copied by `pass` are not an exception. For security reasons, the clipboard manager should not remember the password copied by pass. `wl-copy`, the Wayland utility to copy and paste from the command line, implements a flag (`sensitive`) that hints the clipboard manager that the data is sensitive, so that it can react by not displaying or persistently memorizing the copied data. This commit makes `pass` append to the options of `wl-copy` the `sensitive` flag, so that clipboard managers can react accordingly. Signed-off-by: Gianmarco Lusvardi --- src/password-store.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/password-store.sh b/src/password-store.sh index 22e818f..da6da8a 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -156,7 +156,7 @@ check_sneaky_paths() { clip() { if [[ -n $WAYLAND_DISPLAY ]] && command -v wl-copy &> /dev/null; then - local copy_cmd=( wl-copy ) + local copy_cmd=( wl-copy --sensitive ) local paste_cmd=( wl-paste -n ) if [[ $X_SELECTION == primary ]]; then copy_cmd+=( --primary ) -- 2.56.0 From mcepl at cepl.eu Mon Oct 26 10:56:07 2026 From: mcepl at cepl.eu (=?utf-8?q?Mat=C4=9Bj_Cepl?=) Date: Mon, 26 Oct 2026 11:56:07 +0100 Subject: [PATCH] Wayland: added sensitive hint for clipboard managers In-Reply-To: <20261025123604.768977-1-glusvardi@posteo.net> References: <20261025123604.768977-1-glusvardi@posteo.net> Message-ID: On Sun Oct 25, 2026 at 1:39 PM CET, Gianmarco Lusvardi wrote: > - local copy_cmd=( wl-copy ) > + local copy_cmd=( wl-copy --sensitive ) What happens if you are running an older version of `wl-copy`, which doesn?t know this option yet? Best, Mat?j -- http://matej.ceplovi.cz/blog/, @mcepl at en.osm.town GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 The state is the great fictitious entity by which everyone seeks to live at the expense of everyone else. -- Frederick Bastiat -------------- next part -------------- A non-text attachment was scrubbed... Name: E09FEF25D96484AC.asc Type: application/pgp-keys Size: 3102 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: not available URL: From fernando.viola at gmail.com Mon Oct 26 16:46:32 2026 From: fernando.viola at gmail.com (Fernando Viola) Date: Mon, 26 Oct 2026 17:46:32 +0100 Subject: [PATCH] Wayland: added sensitive hint for clipboard managers In-Reply-To: References: <20261025123604.768977-1-glusvardi@posteo.net> Message-ID: Hi, This breaks `pass -c` with wl-clipboard < 2.3.0, since older wl-copy rejects the unknown --sensitive option. The flag should only be added when wl-copy actually supports it. Note that Nemo already sent a patch in March doing exactly this: https://lists.zx2c4.com/pipermail/password-store/2026-March/004971.html The relevant part is: if [[ -n $WAYLAND_DISPLAY ]] && command -v wl-copy &> /dev/null; then local copy_cmd=( wl-copy ) + wl-copy --help 2>&1 | grep -qw -- --sensitive && copy_cmd+=( --sensitive ) local paste_cmd=( wl-paste -n ) Thanks, Fernando Viola From glusvardi at posteo.net Mon Oct 26 17:43:41 2026 From: glusvardi at posteo.net (Gianmarco Lusvardi) Date: Mon, 26 Oct 2026 17:43:41 +0000 Subject: [PATCH] Wayland: added sensitive hint for clipboard managers In-Reply-To: References: <20261025123604.768977-1-glusvardi@posteo.net> Message-ID: <796c35f6-da61-4294-8168-9f3484681d91@posteo.net> Hello, On 26/10/2026 17:46, Fernando Viola wrote: > Hi, > This breaks `pass -c` with wl-clipboard < 2.3.0, since older wl-copy > rejects the unknown --sensitive option. The flag should only be added > when wl-copy actually supports it. Note that Nemo already sent a patch > in March doing exactly this: > https://lists.zx2c4.com/pipermail/password-store/2026-March/004971.html > Ouch! This was my bad, I should have checked if wl-copy supported the relevant flag. I am happy that another person already managed to include the flag. IMO it should be merged. > The relevant part is: > > if [[ -n $WAYLAND_DISPLAY ]] && command -v wl-copy &> /dev/null; then > local copy_cmd=( wl-copy ) > + wl-copy --help 2>&1 | grep -qw -- --sensitive && copy_cmd+=( --sensitive ) > local paste_cmd=( wl-paste -n ) > > Thanks, > Fernando Viola Thanks, -- Gianmarco Lusvardi From mirrorwitch at transmom.love Tue Oct 27 11:44:59 2026 From: mirrorwitch at transmom.love (mirrorwitch) Date: Tue, 27 Oct 2026 12:44:59 +0100 Subject: The True Pass [humour] Message-ID: <52275e353ba6bc146921d89abb42a771@transmom.love> When I unlock my Fairphone 2 from 2015 degoogled with LineageOS, both Keepass *and* Bitwarden are too slow. They present useless UI controls like "Set up biometric authentication", or "Open master key file". So I use the password manager that doesn't waste my *valuable* 5 inches screen estate. pass(1), man! !man 1 pass PASS(1) PASSWORD STORE PASS(1) NAME pass - stores and retrieves passwords securely. DESCRIPTION pass is the standard unix password manager. Transgender furries love pass(1), not just because of its transparent architecture, but because it hasn't needed any updates in over a year. Every other gender loves pass because it has *no* *slop*!! "pass is the standard unix password manager." And pass doesn't waste RAM on my EeePC 1000HE i386 running NetBSD. Just look: PID USER VIRT RES MEM% COMMAND 22354 mirrorwitch 942M 108M 10% /usr/bin/cli /usr/lib/eeepass2/KeePass2.exe 10692 mirrorwitch 289.3G 20G 2.0e3% firefox-esr?bitwarden.example.com 31342 mirrorwitch 5928K 5928K 0%+? /usr/bin/pass Of course, in the android devices **I** have jailbreaked, keyboard completion was given to pass. Bitwarden has been replaced by a fake app icon that 1) sends a warning of compromised device to all of my contacts, 2) factory resets the phone while taunting the cops, and 3) revokes the device-local gpg subkeys for **pass**!! ?pass is the standard unix password manager." When I use a password manager, I don't want 76 whole **megabytes** to embed an entire HTML engine to run some offline pseudo internet! I just want a **pass**word manager!! Not a "vaultwardenword manager". Not a "keepassxcword manager". Those aren't even **words**!! ***pass(1)! pass(1)! pass(1) is the standard!!!*** unix password manager. pass(1) is for those who can *manage* the synchronisation of their own data. If you are a tech bro, you should use Bitwarden. If you are a bit warden, you should not keep ass. If you use pass(1), you are on the **path to ideological purity.** ***The so-called 'cloud services' have been placed here by pass(1) to tempt the sellouts. Do not give in!!! The pristine pass(1) has spoken!!!*** gpg: decryption failed: Bad session key From jason at zx2c4.com Tue Oct 27 14:30:06 2026 From: jason at zx2c4.com (Jason A. Donenfeld) Date: Tue, 27 Oct 2026 15:30:06 +0100 Subject: [PATCH] Wayland: added sensitive hint for clipboard managers In-Reply-To: <796c35f6-da61-4294-8168-9f3484681d91@posteo.net> References: <20261025123604.768977-1-glusvardi@posteo.net> <796c35f6-da61-4294-8168-9f3484681d91@posteo.net> Message-ID: I handled things slightly differently: https://git.zx2c4.com/password-store/commit/?id=9286be251990441cc956ea8e634e541212037a1b I'm going to assume distros have more recent wl-copy. If they don't, they can work this differently locally. From jason.donenfeld at gmail.com Tue Oct 27 14:32:12 2026 From: jason.donenfeld at gmail.com (Jason A. Donenfeld) Date: Tue, 27 Oct 2026 15:32:12 +0100 Subject: [PATCH] Make sleep_argv0 selection-specific In-Reply-To: <20250802213110.6881-1-vnctdj@laposte.net> References: <20250802213110.6881-1-vnctdj@laposte.net> Message-ID: laposte.net in the house, I see! https://git.zx2c4.com/password-store/commit/?id=414bbec98673cc82c2ca0c8637c17d018528449d From jason.donenfeld at gmail.com Tue Oct 27 14:40:31 2026 From: jason.donenfeld at gmail.com (Jason A. Donenfeld) Date: Tue, 27 Oct 2026 15:40:31 +0100 Subject: PATCH: Split QR code viewers (X11/Wayland) In-Reply-To: <878qlj4m11.fsf@nyarlathotep> References: <878qlj4m11.fsf@nyarlathotep> Message-ID: https://git.zx2c4.com/password-store/commit/?id=e3f8fb2f70cbcb81e10127e0d0f328324924de2d Seems reasonable. Thanks. As a side note, imv does weird things with the cursor and doesn't respect the esc key on my system. From jason.donenfeld at gmail.com Tue Oct 27 14:44:51 2026 From: jason.donenfeld at gmail.com (Jason A. Donenfeld) Date: Tue, 27 Oct 2026 15:44:51 +0100 Subject: [PATCH 1/2] Replace `dmenu-wl` with `wmenu` in passmenu script. In-Reply-To: <20240416203017.27802-2-igor@c4llv07e.xyz> References: <20240416203017.27802-1-igor@c4llv07e.xyz> <20240416203017.27802-2-igor@c4llv07e.xyz> Message-ID: Voila: https://git.zx2c4.com/password-store/commit/?id=9cddee1345c4c26dcd647672d01a0d5d3da09a05 From jason at zx2c4.com Tue Oct 27 14:46:05 2026 From: jason at zx2c4.com (Jason A. Donenfeld) Date: Tue, 27 Oct 2026 15:46:05 +0100 Subject: Switch passmenu to bemenu on Wayland In-Reply-To: References: Message-ID: https://git.zx2c4.com/password-store/commit/?id=9cddee1345c4c26dcd647672d01a0d5d3da09a05 I switched to wmenu. From fernando.viola at gmail.com Tue Oct 27 14:49:11 2026 From: fernando.viola at gmail.com (Fernando Viola) Date: Tue, 27 Oct 2026 15:49:11 +0100 Subject: [PATCH] Wayland: added sensitive hint for clipboard managers In-Reply-To: References: <20261025123604.768977-1-glusvardi@posteo.net> <796c35f6-da61-4294-8168-9f3484681d91@posteo.net> Message-ID: Hi Jason, Fair enough on requiring a recent wl-copy. For what it's worth, though, "recent" doesn't hold everywhere yet: Ubuntu 24.04 LTS currently ships wl-clipboard 2.2.1, which doesn't support --sensitive. The part that bothers me is how it fails there: wl-copy rejects the unknown option and exits immediately, but since stderr goes to /dev/null and the pipeline is backgrounded and disowned, nothing notices. pass then prints "Copied ... to clipboard" even though nothing was copied, which is pretty confusing to debug, both for users and for packagers who don't realize they need to bump the dependency. I'm not suggesting version detection or a fallback, just failing loudly. Something like this before the wl-copy invocation would do: wl-copy --help 2>&1 | grep -q -- --sensitive || die "Error: wl-copy is too old (--sensitive is required)" That keeps the requirement as-is, but turns a silent no-op into a clear error. Thanks, Fernando Viola Il giorno mar 27 ott 2026 alle ore 15:30 Jason A. Donenfeld ha scritto: > > I handled things slightly differently: > https://git.zx2c4.com/password-store/commit/?id=9286be251990441cc956ea8e634e541212037a1b > > I'm going to assume distros have more recent wl-copy. If they don't, > they can work this differently locally. From jason at zx2c4.com Tue Oct 27 14:50:30 2026 From: jason at zx2c4.com (Jason A. Donenfeld) Date: Tue, 27 Oct 2026 15:50:30 +0100 Subject: [PATCH] Wayland: added sensitive hint for clipboard managers In-Reply-To: References: <20261025123604.768977-1-glusvardi@posteo.net> <796c35f6-da61-4294-8168-9f3484681d91@posteo.net> Message-ID: On Tue, Oct 27, 2026 at 3:49?PM Fernando Viola wrote: > > Hi Jason, > > Fair enough on requiring a recent wl-copy. For what it's worth, > though, "recent" doesn't hold everywhere yet: Ubuntu 24.04 LTS > currently ships wl-clipboard 2.2.1, which doesn't support --sensitive. I don't think Ubuntu 24.04 will be packaging the next version of password store either then, right? From fernando.viola at gmail.com Tue Oct 27 14:56:53 2026 From: fernando.viola at gmail.com (Fernando Viola) Date: Tue, 27 Oct 2026 15:56:53 +0100 Subject: [PATCH] Wayland: added sensitive hint for clipboard managers In-Reply-To: References: <20261025123604.768977-1-glusvardi@posteo.net> <796c35f6-da61-4294-8168-9f3484681d91@posteo.net> Message-ID: > password store either then, right? Fair point, the distro packages should line up. Thanks for the quick reply. Fernando Il giorno mar 27 ott 2026 alle ore 15:50 Jason A. Donenfeld ha scritto: > > On Tue, Oct 27, 2026 at 3:49?PM Fernando Viola wrote: > > > > Hi Jason, > > > > Fair enough on requiring a recent wl-copy. For what it's worth, > > though, "recent" doesn't hold everywhere yet: Ubuntu 24.04 LTS > > currently ships wl-clipboard 2.2.1, which doesn't support --sensitive. > > I don't think Ubuntu 24.04 will be packaging the next version of > password store either then, right? From jason.donenfeld at gmail.com Wed Oct 28 13:54:32 2026 From: jason.donenfeld at gmail.com (Jason A. Donenfeld) Date: Wed, 28 Oct 2026 14:54:32 +0100 Subject: PATCH: Split QR code viewers (X11/Wayland) In-Reply-To: References: <878qlj4m11.fsf@nyarlathotep> Message-ID: On Tue, Oct 27, 2026 at 3:40?PM Jason A. Donenfeld wrote: > > https://git.zx2c4.com/password-store/commit/?id=e3f8fb2f70cbcb81e10127e0d0f328324924de2d > > Seems reasonable. Thanks. > > As a side note, imv does weird things with the cursor and doesn't > respect the esc key on my system. I'm considering reverting that in favor of a different approach: https://github.com/derf/feh/pull/839 From alexm at alexm.org Fri Oct 30 14:56:20 2026 From: alexm at alexm.org (Alex Muntada) Date: Fri, 30 Oct 2026 15:56:20 +0100 Subject: [PATCH] Follow symbolic links in reencrypt_path Message-ID: This is a follow-up of commit 13153cfb1aae76c93b48c4817fb4150790a64938. --- src/password-store.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/password-store.sh b/src/password-store.sh index a8bfaac..73fd038 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -137,7 +137,7 @@ reencrypt_path() { mv "$passfile_temp" "$passfile" || rm -f "$passfile_temp" fi prev_gpg_recipients="${GPG_RECIPIENTS[*]}" - done < <(find "$1" -path '*/.git' -prune -o -path '*/.extensions' -prune -o -iname '*.gpg' -print0) + done < <(find -L "$1" -path '*/.git' -prune -o -path '*/.extensions' -prune -o -iname '*.gpg' -print0) } check_sneaky_paths() { local path -- 2.47.3 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: