The gs-netcat tool currently supports obtaining the secret via a command line argument (-s) or retrieving it from a file (-k).
My secrets are stored in pass in pass. For example pass gsocket/foo outputs the gsocket secret of the machine foo on stdout. It would be great if I could invoke gs-netcat so that it directly obtains the password from the stdout of a specified command. For example, using a new command line option -K:
$ gs-netcat -K "pass gsocket/foo" -i