Did I break my Ubuntu GPG installation?

Peter Lebbing peter at digitalbrains.com
Wed Jan 18 15:55:14 CET 2017

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



I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>

More information about the Gnupg-users mailing list