From prajwalnadig21 at gmail.com Tue Jul 9 09:26:33 2024 From: prajwalnadig21 at gmail.com (Prajwal S N) Date: Tue, 9 Jul 2024 11:26:33 +0200 Subject: Add feature to delete password from clipmenu (clipboard manager) In-Reply-To: References: Message-ID: Hi! Apologies for the delayed reply. I understand your point about why it is the wrong approach to be sending the data through the clipboard in the first place, but that *is* how pass works at the moment. Unlike rofi-pass, pass is invoked in the terminal, which means there's no easy way to automatically have an active output element to write the data into using wtype/xdotool. This is simply my attempt to solve the existing problem of having passwords stored in the clipboard manager's history. I feel this is reasonable, considering how it is a single line addition that makes the situation better for a sizeable number of users. I ask again, would a patch be accepted? :) Cheers, Prajwal From password-store at city17.xyz Sun Jul 21 15:19:50 2024 From: password-store at city17.xyz (password-store at city17.xyz) Date: Sun, 21 Jul 2024 17:19:50 +0200 Subject: Using pass in command substitution Message-ID: <877cdeu609.fsf@city17.xyz> Hi, I think I need some rubberduck debugging from you folks. I use pass like this: $ token=$( pass logins/website | head -n1 ) This works fine: as expected, in $token there is the password. However when using the --clip flag: $ token=$( pass logins/website --clip=1 ) the resulting variable $token contains the text "Copied xxx to clipboard. Will clear in NNN seconds." instead of the password. My $copy_cmd in the pass script is set to "wl-copy" (I use Wayland/Sway). Running something like this produces the same result: $ TEST=$( echo -n heyhey | wl-copy ) && echo $TEST $ but: $ TEST=$( echo -n heyhey | wl-copy | wl-paste ) && echo $TEST $ heyhey I am not sure of what am I looking at. Is this is the expected behaviour? Any ideas/suggestion? Thanks! From password-store at city17.xyz Tue Jul 30 16:25:40 2024 From: password-store at city17.xyz (jman) Date: Tue, 30 Jul 2024 18:25:40 +0200 Subject: Using pass in command substitution References: <877cdeu609.fsf@city17.xyz> Message-ID: <878qxij18b.fsf@city17.xyz> Hi, I think I need some rubberduck debugging from you folks. I use pass like this: $ token=$( pass logins/website | head -n1 ) This works fine: as expected, in $token there is the password. However when using the --clip flag: $ token=$( pass logins/website --clip=1 ) the resulting variable $token contains the text "Copied xxx to clipboard. Will clear in NNN seconds." instead of the password. My $copy_cmd in the pass script is set to "wl-copy" (I use Wayland/Sway). Running something like this produces the same result: $ TEST=$( echo -n heyhey | wl-copy ) && echo $TEST $ but: $ TEST=$( echo -n heyhey | wl-copy | wl-paste ) && echo $TEST $ heyhey I am not sure of what am I looking at. Is this is the expected behaviour? Any ideas/suggestion? Thanks!