Did I break my Ubuntu GPG installation?

Stefan Boehringer stefan.boehringer at posteo.de
Wed Jan 18 20:29:00 CET 2017


Hello Peter and thank you very much!

> On 18/01/17 13:06, Stefan Boehringer wrote:
>> The error is as follows:
>> 
>>>> gpg: Auf geht's - Botschaft eintippen ...
>>>> test
>>>> gpg: Keine gültigen OpenPGP-Daten gefunden.
>>>> gpg: processing message failed: Unbekannter Systemfehler
>
> What was the command line you used to invoke gpg? It looks like it is
> expecting you to type in an OpenPGP message, i.e., one that begins with
> "-----BEGIN PGP MESSAGE-----" for example. "test" is not valid OpenPGP
> data. I think you made a mistake in the invocation.
>
> A test for encrypting and decrypting stuff from the command line looks
> something like this:
>
> $ echo Hello >test.txt
> $ gpg -r stefan.boehringer at posteo.de -e test.txt
> $ rm test.txt
> $ gpg test.txt.gpg
>
> And at the end, you'll have your test.txt back. If (like me) you think
> pipes are cool, try this:
>
> $ echo Hello | gpg -r stefan.boehringer at posteo.de -e | gpg

That worked. I really misunderstood the gpg commandline. :-)

>
> HTH,
>
> Peter.



More information about the Gnupg-users mailing list