home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 451 
 Wilfred van Velzen to August Abolins 
 Re: gpg "live" editor 
 07 Jan 20 22:04:37 
 
TID: FMail-lnx64 2.1.0.18-B20170815
RFC-X-No-Archive: Yes
TZUTC: 0100
CHRS: UTF-8 2
PID: GED+LNX 1.1.5-b20161221
MSGID: 2:280/464 5e14f53e
REPLY: 2:221/360.0 5e14ef0c
Hi August,

On 2020-01-07 22:50:29, you wrote to me:

 WvV>> C: \>> gpg

 WvV>> Did you have the option to type arguments here, or was the
 WvV>>  automatic?

 AA> I just type gpg + ENTER.  Apparently that is an option.  ;)

Ok, I think I was little bit confused about the 'gpg editor' part you
mentioned. I was thinking that was maybe an option of your Enigmail...

But you just meant the 'gpg' command line util.

 AA>>> gpg: WARNING: no command supplied. Trying to guess what you
 AA>>> mean... gpg: Go ahead and type your message...

 AA> ...and then it sits there waiting for the message to be typed.

Yes. But as you don't give it any command line commands. It expects content it
can understand (import or decode).

 AA> I start to type my message, but there is no obvious way to save it.

That's right. You have to tell it on the command line with the correct options
and commands what it needs to do with what you type.

 WvV>> To do something valid here you will have to enter or paste
 WvV>> something that gpg can understand. So either a ascii encoded
 WvV>> key or pgp message. Something
 WvV>> that starts with the usual "-----BEGIN PGP MESSAGE-----" etc...
 WvV>> (You can paste by right clicking in the window or the window
 WvV>> top bar, and selecting paste).

 AA> Nope.  The gpg editor does not dump the contents that I have in clipboard.

It's what you tell cmd.exe to do with what's in the clipboard... Stop calling
it the 'gpg editor'! It's not an editor. It's a command line util that gets
its input from "stdin" that's provided to it by the shell (cmd.exe) it's
running in.

 WvV>> You pressed ctrl-c, I think, before entering anything that
 WvV>> would be meaningfull content for 'gpg'...

 AA> Yes, ^C ultimately killed the session.  But none of the --commands on a
 AA> line by line basis did anything either.

 AA> The gpg editor is a mystery to me.

 AA> Doesn't your linux version have the live editor feature too?

I can have it do something interactively without using input or output files.
(But it's not a "live editor"! ;))

For instance:

wilfred@wilnux5:~> gpg -sea -r 'August Abolins'

You need a passphrase to unlock the secret key for
user: "Wilfred van Velzen "
4096-bit RSA key, ID 4A97932B, created 2017-10-25

gpg: 69D0999F: There is no assurance this key belongs to the named user

pub  2048R/69D0999F 2020-01-02 August Abolins 
 Primary key fingerprint: D0EB 2A29 5204 F316 7EB2  503C EF0E 8965 5789 589B
      Subkey fingerprint: F649 033E EEEA 3FF9 2FEE  2147 583B 29AD 69D0 999F

It is NOT certain that the key belongs to the person named
in the user ID.  If you *really* know what you are doing,
you may answer the next question with yes.

Use this key anyway? (y/N) y
Hi how are you doing?
-----BEGIN PGP MESSAGE-----
Version: GnuPG v2

hQEMA1g7Ka1p0JmfAQf/YmVdsrrmLyYFTnIUwm8qjd8Q6RqWTRzPkdSO1d+0LnWI
ayLO19ja5r1/mPNjzSR9Wcd2fjcx76go5ksYyeT7CBE0C3mODsyPHMhIwQJCaeJX
OemVe5VRnuqfuW+hvCa5Iiem3jzYC8lEoQ2Qxx2Og2w2sxaXc58wVnS4N2HKQZIb
IeYAgAmM4OMNfuTk5cvX43acd/+184J+MoPd9uu6CfryMWg7H0P/Q4N11VJ/tqlA
EEjuhRHJD0HAHWTq0JbL9TvpQ+swyf8r8mKNOMV04BDp+hMZRh1kDra37pS036JM
3LcmCYa70QquLmx4xJoDYT7do+/uCJ1nj6PK3DRY6tLpAXIxwusl+roZ+CRP29LM
AyzTslERYTOW86n6sTILe+EfnxexwGH9Rp1mDQcwMeLLD9GLyPQgCtbqYzeYdtJ/
/O3i1u0ahW5qK4dXk75ERhTATwUqpoGkU7m4R1ZOrA4mFZUfar5HI9n8SUKG6DtR
PZ9hHvpFKgU/3k4G7YhBaLGZEtH842AAftFtvI7HNOXKCk46Xez4v/S4cCFwYqfh
Tqao6gKvuiS/f7Wcwylj+QbM9hzTImvI+CNqzl4q95GgtZOwyT5++xSxGMy9xy4A
Tb9N4+IvSyF8rG7/RMvpHcCf62iAMJNXMA2k9sfQ0gEVjqu11PjmT5BfGJF0+32w
h7DdxNVzSqpkra9hrtwbajCGzueq+LjAm9mWjpEadUe6MNHucB3l1NiO9SpeDKvm
ID2dwWxu5muIztNWou0vM7XhRXum/Jn0BoJbW4ebXeiD55QFg2VQ44hOI5r2FltL
0JNnXt+VU7dm82YhfKfstp9oltqImNQNhG6vlcToA8dujIrs/Ezm1zbWu6iBUKGP
TloZABOdM8b9HBwq6mRRES1ERQ+O5aCtY9XpD/vAyLkPL33vx145MH8pmOhm5nvz
+HaPhaySTqjOo8mPRWuw0GQ/ThIN2e80jww7wyymzuNHMhEmjYtCPqj+Y11dsbBd
/FB8GcZcQfXSWYj4kNNCfkGC31/GNhflWay90vvu0oSl1y5iMuAU09AnOpd1YZ9n
c34pEu9SOgCqwhqn1YhzdqM4HPvjpl+pomATtmS7GVyVfZNRB7aleUtrfSBgTbmv
j7tqhOOPyrO3KjtL0c6WpgKxKjfg9Smc4P+d/tF1XxQIc+Rep9AQ2+zieJ1GVmdh
kj5IOg==
=6ZGc
-----END PGP MESSAGE-----
wilfred@wilnux5:~>

After the message about the passphrase, I get a seperate window to enter my
passphrase.
And I typed a ^d, after my "How are you doing?" line, to end my input (to the
shell it's running in).

Bye, Wilfred.

--- FMail-lnx64 2.1.0.18-B20170815
 * Origin: FMail development HQ (2:280/464)
SEEN-BY: 1/123 90/1 154/10 203/0 221/0 227/114 229/426 1014 240/5832
SEEN-BY: 249/206 317 400 280/464 5003 292/854 310/31 317/3 322/757
SEEN-BY: 342/200 396/45 423/120 712/848 770/1 2452/250
PATH: 280/464 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca