Knowledge Base

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


"Invalid passphrase specified" when attempting to set the passphrase on an imported key.

Some key pairs generated by older products may have the secret key (also called "private key") encrypted in such a way that Robo-FTP cannot decrypt the secret key even with the correct password.

Robo-FTP is able to import these key pairs, but attempts to set their passphrase in the PGP configurator results in the error, Invalid passphrase specified. Setting the passphrase in the PGPDECRYPT command with the /pw option results in the error, No appropriate OpenPGP secret key for the decryption found. Key cannot be found in your keyring [1280], which is the same error you would see if you were attempting to use an incorrect passphrase.

If you experience this problem, and you are certain that the issue is not that you are simply using the wrong passphrase, you can work around the problem by using gpg.

Gpg is a free utility that supports both the old method of storing the key and the newer method which is supported by Robo-FTP.

  1. Download and install gpg.
  2. Import the key into gpg.

    gpg --import [Filename]

  3. Export the key from gpg.

    gpg --export-secret-key -a "[User Name]" > private.key

  4. Import the exported key into Robo-FTP using the configurator.

  5. You should now be able to save the passphrase or set it on the PGPDECRYPT command line with the /pw option.

Article last updated: 2021-11-17

Tags: PGP passphrase configurator