ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Speculation is fine, but this sub-forum is a technical one for discussing programming.
If you're not going to "do" anything on your part, then the question is more opinions and academic. If so, the Non-nix/general forum may be better for that type of discussion.
Speculation is fine, but this sub-forum is a technical one for discussing programming.
If you're not going to "do" anything on your part, then the question is more opinions and academic. If so, the Non-nix/general forum may be better for that type of discussion.
What are you writing about? It doesn't make sense. It's like you're making judgement about something you haven't even read.
I sought a C routine (see title), and the only constructive advice is Ser Olmy stating echo commands are readable in compiled C.
[moderated comment]
Last edited by astrogeek; 04-24-2021 at 05:15 PM.
Reason: inappropriate comment removed
What are you writing about? It doesn't make sense. It's like you're making judgement about something you haven't even read.
I sought a C routine (see title), and the only constructive advice is Ser Olmy stating echo commands are readable in compiled C.
In addition to SerOlmy's poets, see #'s 2,3,5,7,13,14, ...
What I'm talking about is that there are libraries in C which you can use.
We're not here to look things up for you.
But I did check github before my first response. Plenty of libraries or code projects, and it has been suggested many times that what you wish to do seems very customized, so you should try coding a solution yourself.
Happy to help you along with code, but you would need to write some to show that you really aren't wasting anyone's time, or illustrate a different way you've decided to follow to achieve your desired result. People have suggested off-the-shelf solutions as well as specific libraries.
@JASlinux - Please review the Site FAQ for guidance in asking well formed questions and general forum usage. Especially visit the link from that page, How to Ask Questions the Smart Way for discussion of things to consider when asking others for help.
Please also remember that this forum is frequented by members of all ages and sensibilities, please refrain from inappropriate comments.
You have stated your requirements several times in different ways, and received several helpful suggestions. Repeating those requirements is not really helpful, and as others have said, it would be most helpful if you could attempt to implement a solution based on one or more of those suggestions, or an idea of your own, then show us where you are having trouble so others can offer specific help. Otherwise the thread ultimately becomes a request for others to provide a complete solution and this is not the appropriate place for that.
Executables can be masked. PGP is great when the other user is already on it.
...or just input the KEY YOU SEND THEM, as you're saying you want....
Quote:
My counterparty will read a message but not install anything. They also trust me to run an executable. It can be a script (batch file) that runs an executable, so long there's no password and anything it runs doesn't have to be installed by the user.
So again...they don't 'install anything'....except YOUR program, right??
Quote:
Say, for example, we're using a Windows .zip utility.
I can include the utility with the message to run on files in the same folder. Here's an example that might work:
I think pk is commercial, but I might find an alternative with the same switch. This is the kind of solution I'm looking for. It should be easier.
Ah, so your 'solution' is to have them install the pkzip utility...after you said you didn't want them to install anything, just like PGP shouldn't be used, because they'll have to have IT, right???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.