[Gpg4win-users-en] How do I exit the text editor in gpg?
Fabian Nick
fabian.nick at scai.fraunhofer.de
Mon Nov 17 13:27:26 CET 2014
Got it. Thanks all.
And sorry, I have this mailing list in a folder called "GPG", I forgot
it was the gpg4WIN list...
> It's as stupid as creating a computer where the on/off button wouldn't turn on the computers power
Have you ever noticed that on windows you actually have to click the
"Start"-Button to turn off the computer?! ;-)
Best,
Fabian
* From: Werner Koch (wk at gnupg.org)
* To: Fabian Nick (fabian.nick at scai.fraunhofer.de)
* Sent: 17.11.2014 at 12:41 +0100
* Subject: Re: [Gpg4win-users-en] How do I exit the text editor in gpg?
> On Mon, 17 Nov 2014 11:46, fabian.nick at scai.fraunhofer.de said:
>
>> I tried CTRL+D before but it didn't work.
>> After your e-mail I tried again and pressed CTRL+D TWICE and that 'worked':
>
> Usually one uses Ctrl-D followed by a RETURN.
>
>> I called gpg -r "NAME", typed a message, hit CTRL+D twice. However it
>> returns:
>> "Keine gültigen OpenPGP-Daten gefunden.
>> gpg: processing message failed: Unbekannter Systemfehler"
>
> Without a command option gpg tries to decrypt or verify an OpenPGP
> message (that is basically the same as using "gpg -d" as seen in
> Citizenfour). If you don't type a valid OpenPGP message you will get
> such an error message.
>
> What you probably want is
>
> gpg -ear "NAME"
>
> of verbose
>
> gpg -e -a -r "NAME"
>
> ir even verboser
>
> gpg --encrypt --armor --recipient "NAME"
>
> This encrypts (-e) a message, makes it human readable (-a for ascii
> armor), and prints it to stdout (i.e. to the terminal).
>
> There are several HOWTO documents linked from https://gnupg.org which
> explain the basic commands.
>
>
> Salam-Shalom,
>
> Werner
>
>
More information about the Gpg4win-users-en
mailing list