Knowledge Base

Enter search queries below or use the tag links to the right to browse the knowledge base by category (Show All Tags).


Error: Key cannot be found in your keyring. [1280]

The following output is written to the main console window and to the Script Log when the PGPDECRYPT command is unable to locate the required decryption key:

*Decryption in progress...  
*No appropriate OpenPGP secret key for decryption found  
*Key cannot be found in your keyring. [1280]

Troubleshooting

  1. Verify that your private PGP key for decryption was already imported into the Robo-FTP Configurator. Click the Manage Keys button on the Configurator's PGP menu to display a list of keys. Switch to the Private Keys tab to verify that Robo-FTP knows about your decryption key.

  2. Verify that the creator of the file encrypted it using the correct public key. Click the Manage Keys button on the Configurator's PGP menu and verify that the Key ID of your public key matches the Key ID of your private key. Then contact the person that encrypted the file and verify that they used a key with the same ID value.

  3. If you are able to decrypt files by typing the PGPDECRYPT command into the main console window but the same syntax fails when running as a Windows Service or Scheduled Task, that could indicate that the Windows logon account used to execute the job lacks access to the PGP private key for decryption. When a PGP key is created or imported by a user that is not an administrator, it is added to the user's private keyring instead of the global shared keyring. The easiest way to fix this is to re-import the key while logged in using the Administrator account.

Article last updated: 2022-01-07

Tags: PGP, PDPDECRYPT, private key