Hello Wilfred!
** 07.01.20 - 22:04, Wilfred van Velzen wrote to August Abolins:
WvV>But you just meant the 'gpg' command line util.
Correct. Pure gpg.exe
AA>> I start to type my message, but there is no obvious way to save it.
WvV>That's right. You have to tell it on the command line with the correct
WvV>options and commands what it needs to do with what you type.
Update: I *can* dump the contents of my clipboard in that area. But how
do I save the results and start the encryption process?
If gpg.exe is allowed without initial arguments/options, I am surprised
that it runs at all.
AA>> Nope. The gpg editor does not dump the contents that I have in
AA>> clipboard.
My mistake. Corrected above. Right-click-Paste dumps the clipboard into
the live editor window.
WvV>It's what you tell cmd.exe to do with what's in the clipboard... Stop
WvV>calling it the 'gpg editor'! It's not an editor. It's a command line util
WvV>that gets its input from "stdin" that's provided to it by the shell
WvV>(cmd.exe) it's running in.
OK, I get that. But I launch gpg.exe, it runs and is "Waiting for input".
It does not fail. It sits there waiting for the message content. Fine.
Then, how do I finish that process?
If it expects all parameters/arguments at the command-line, then I am
surprised that it runs at all. If using it without arguments makes not
sense then I would expect it to issue a warning and exit immediately.
WvV>I can have it do something interactively without using input or output
WvV>files. (But it's not a "live editor"! ;))
It behaves like a very basic editor. Backspace works. Insert works. IT
continues a "message line" until I press enter. Then, I can continue on
another line.
WvV>For instance:
WvV>wilfred@wilnux5:~> gpg -sea -r 'August Abolins'
Noted.
WvV>Use this key anyway? (y/N) y
WvV>Hi how are you doing?
OK. I started gpg with -->C:\gpg -sea -r wilfred
Then I got the key prompt like above.
Then I start typing a message.
But how do I tell the program I am done?
When I perform a ^d, it just sits there.
I don't know how to trigger the prompt for a passphrase.
WvV>After the message about the passphrase, I get a seperate window to enter
WvV>my passphrase. And I typed a ^d, after my "How are you doing?" line, to
WvV>end my input (to the shell it's running in).
I guess I need to see someone doing it.
I know how to use gpg with pre-written message files, and produce armoured
output files. But I want to understand why the live, type as you go
method does not work for me.
../|ug
--- OpenXP 5.0.42
* Origin: Key ID = 0x5789589B (2:221/1.58)
|