1. Home
  2. Administration
  3. Cannot Import OpenPGP Public Key

Cannot Import OpenPGP Public Key


I attempt to import an OpenPGP Public Key, but I get an error message stating that the file “has no public keys to import.”


When you receive an ASCII armored Public Key, there will be a header block followed by the encoded key.

The key should look something like this:

 Version: GnuPG v1.0.6 (AIX)
 Comment: For info see http://www.gnupg.org

 mQGiBD1FqSARBACnF2UO4O3opzu  ...

There needs to be a blank line between the header block and the encoded public key (per the standard), or Diplomat MFT will fail to import properly.


If you receive a file such as this without a blank line between the header and the encoded body, simply open the file in a text editor such as Notepad, add the blank line, and import the key again.

Updated on April 21, 2022

Was this article helpful?

Related Articles