I'm having trouble with command line PGP 6.5.8 (freeware). When I try to decrypt a file with the syntax pgp <filename> it returns the message:
File is encrypted. Secret key is required to read it.
You do not have the secret key needed to decrypt this file.
However, if I run pgp -kv, the key is displayed in the list as my default signing key. I know this key is ok because the GUI PGPTools can decrypt the file, asking for the passphrase along the way.
Doesn't seem to matter if PGPPATH is set to the directory in which my keyrings are held.
I need to use the command line PGP because the decryption will be done by a VB program. I was hoping that the line pgp <filename> -z <passphrase> would do the job, but am now rather worried that it won't.
This is on Windows 2000, btw.
I guess this must have been done lots of times before, so can anyone help?
Bill (newbie for whom it was all going so well...)
File is encrypted. Secret key is required to read it.
You do not have the secret key needed to decrypt this file.
However, if I run pgp -kv, the key is displayed in the list as my default signing key. I know this key is ok because the GUI PGPTools can decrypt the file, asking for the passphrase along the way.
Doesn't seem to matter if PGPPATH is set to the directory in which my keyrings are held.
I need to use the command line PGP because the decryption will be done by a VB program. I was hoping that the line pgp <filename> -z <passphrase> would do the job, but am now rather worried that it won't.
This is on Windows 2000, btw.
I guess this must have been done lots of times before, so can anyone help?
Bill (newbie for whom it was all going so well...)