GPG Encryption on Raspberry Pi 4 using custom e-mail address failure

donnellydw at gmail.com donnellydw at gmail.com
Thu Dec 17 20:00:05 CET 2020


Andrew,
  I learned a few things after this post was submitted.

  Yes - I had not created my key...or keys?
  At any rate - once I create the key (with an associated passphrase), the
encryption worked.  Well - to some degree. 

  Another problem cropped up which I will post via a different e-mail.

Many thanks, this initial issue is solved. 

Many thanks,
Dave

-----Original Message-----
From: Gnupg-users <gnupg-users-bounces at gnupg.org> On Behalf Of Andrew
Gallagher
Sent: Thursday, December 17, 2020 1:52 AM
To: gnupg-users at gnupg.org
Subject: Re: GPG Encryption on Raspberry Pi 4 using custom e-mail address
failure

On 16/12/2020 16:15, david.donnelly at daviddonnelly.com wrote:
> However,  when I try to run the same command using my 
> david.donnelly.com
> (IONOS.COM) email account:
> 
> gpg --encrypt -o .msmtp-ionos.gpg -r david.donnelly at daviddonnelly.com 
> <mailto:david.donnelly at daviddonnelly.com> -
> 
> or
> 
> gpg --encrypt -o .msmtp-ionos.gpg -r 2d at daviddonnelly.com 
> <mailto:2d at daviddonnelly.com> -
> 
> I get the following three errors:
> 
> gpg: error retrieving 'david.donnelly at daviddonnelly.com' via WKD: 
> Network error
> 
> gpg: david.donnelly at daviddonnelly.com
> <mailto:david.donnelly at daviddonnelly.com>: skipped: Network error
> 
> gpg: [stdin]: encryption failed: Network error

It appears that you don't already have a copy of the public key for
david.donnelly at daviddonnelly.com on that machine. Is this expected?

I can't find keys for any of your listed emails on the SKS pool, or on
Hagrid (which appears to be down?), or via WKD. If you don't have the key
locally either, then gpg won't be able to encrypt.

--
Andrew Gallagher





More information about the Gnupg-users mailing list