No secret key on 1 file
    Werner Koch 
    wk at gnupg.org
       
    Fri Aug 16 11:50:34 CEST 2013
    
    
  
On Wed, 14 Aug 2013 22:30, sbonda at advance-medical.com said:
> When I run the following command:
>
> Gpg2 -batch -passphrase pass -o c:\temp\temp.txt -d c:\temp\file.pgp
I assume you used 
  Gpg2 --batch --passphrase pass -o c:\temp\temp.txt -d c:\temp\file.pgp
That is two dashes for the long options.
--passphrase does not work with gpg2.  You will be asked by a pop-up
Window for the passphrase.  That requires that GnuPG has been fully
installed.
What version are you using.  Did you used a Gpg4win installer?
If you are using the command line you may want to add the option 
  -v 
to see more diagnostics.  If you are not using the latest gpg2 version it
is possible that the imported secret hast been protected using the IDEA
algorithms which - for patent reason was not support by older GnuPG
versions.  You need at least GnuPG 2.020 and Libgcrypt 1.5.2.  Running
  gpg2 --version
shows the the GnuPG and Libgcrypt version.
Salam-Shalom,
   Werner
-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
    
    
More information about the Gnupg-users
mailing list