When attempting to import a user's key which contains special characters (Ä,Ö,Ü,ß,â, ê, î...) created with a version of PGP Desktop prior to version 8.x to the PGP Universal Server, the key is not imported to the server and an error is displayed in the logs of the server.
When checking the server logs you may see the following error message: ERROR: invalid byte sequence for encoding "UTF8": 0xf36e878d HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding".
PGP Keys created in versions prior to version of PGP Desktop 8.x do not observe RFC 2440 standards which mandate the User ID to use UTF-8. The default character set for text RFC 2440 is the UTF-8. PGP Universal Server requires all User IDs to comply with RFC 2440.
To resolve this issue, you must create a new User ID for the key using PGP Desktop 8.x or above and then delete the old User ID from the key. The new User ID is created using UTF-8 and allows the PGP Universal Server to successfully import the key.
This example uses PGP Desktop 9.x, however PGP Desktop 8.x may also be used.
Create New UserID
Copy the exported key file to a system with PGP Desktop.
Double-click the .asc file for the key to import the key.
Click Import on the Select key(s) screen.
Click OK to close the PGP Information alert.
Open PGP Desktop and select PGP Keys from the control box.
Double-click the key. (The key properties are displayed).
Click the arrow next to Trust and click Implicit to change the trust status of the key.
Click Add Email Address at the top of the key properties.
Enter a Username and Email Address for the key and click OK.
This will create a new User ID for the key. You can use the same Username and Email Address, but the new User ID is created using UTF-8.
Enter the passphrase for the key and click OK.
Click X to close the key properties.
Delete User ID
In PGP Keys, click the key.
Expand the key by clicking the + sign. The expanded key displays two envelopes with a name and email address.
Right-click the first envelope. (This is the original User ID)
Click OK to complete the process to delete the User ID.
After performing the previous steps, export the key from PGP Desktop and import the key to the PGP Universal Server.
Imported Document ID: TECH149125
Subscribing will provide email updates when this Article is updated. Login is required.
Thanks for your feedback. Let us know if you have additional comments below. (requires login)
Subscribed to the Article.
Unable to subscribe
Thanks for your additional feedback !!!
Enterprise Support Virtual Agent
Rate Me :
Tell us more:
Welcome! My name is Sami, the Enterprise Support Virtual Agent answering technical support questions.