You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I recently discovered this excellent tool and I would like to address particular security issue on macOS. The default copy/paste commands to copy and paste clipboard content can be easily sniffed by malware programs, see discussion over here. To address this issue I wrote my own secure clipboard manager application which provides scopy, spaste and shistory commands which I want to use instead of build-in macOS clipboard. For that I would like to remap Command-C/Command-V macOS commands to use my tools. I tried to use the config shown below but it does not work. What I'm looking for is how to not only to remap keys but also to pass to my shell command a positional argument, e.g.
# example how to copy some text to secure clipboard in a terminal
/usr/local/bin/scopy "some text"
In other words when I select some text elsewhere on my system I want to invoke Command-C keystroke and pass to my shell command selected text, etc.
I would appreciate any feedback from your dev team if it can be achieved through some configuration. Of course I want a full set of commands to copy, paste and show my history which will interact with stdin and stdout.
In order to achieve this, the scopy command will need to obtain information such as the selected text.
Could this be implemented using something like kAXSelectedTextAttribute?
Hi, I recently discovered this excellent tool and I would like to address particular security issue on macOS. The default copy/paste commands to copy and paste clipboard content can be easily sniffed by malware programs, see discussion over here. To address this issue I wrote my own secure clipboard manager application which provides
scopy
,spaste
andshistory
commands which I want to use instead of build-in macOS clipboard. For that I would like to remap Command-C/Command-V macOS commands to use my tools. I tried to use the config shown below but it does not work. What I'm looking for is how to not only to remap keys but also to pass to my shell command a positional argument, e.g.In other words when I select
some text
elsewhere on my system I want to invoke Command-C keystroke and pass to my shell command selected text, etc.I would appreciate any feedback from your dev team if it can be achieved through some configuration. Of course I want a full set of commands to copy, paste and show my history which will interact with stdin and stdout.
Here is configuration which I tried:
The text was updated successfully, but these errors were encountered: