Discussion:
Secret key not found in Private Key
Gaurang Pandya
2014-02-03 17:55:23 UTC
Permalink
Hello All,

I am new to PGP encryption. Please forgive my silly questions.

My requirement is like this. I have PGP installed at one of my client's
place. Client will send encrypted files to me and my application (Software
application in Java) needs to decrypt those files.

I have completed programming with Java application.

PGP desktop installed at my client place.I asked the client to export the
keys from All Keys--> KeyName--> Export (Keys).

So now i have Admin.asc file which contains both Private and Public keys.

My problem is this:- I am able to encrypt files using the public keys but
when i try to decrypt the same files using private keys. it is giving me an
error like "Secret key for message not found".


Does that mean Private key was not exported properly ? if yes.. please let
me know the proper way to export the private key.

I am using PGP 9.2
--
Thanks & Regards,
Gaurang
Gaurang Pandya
2014-02-04 09:27:32 UTC
Permalink
Hello all,
Any clues?
Post by Gaurang Pandya
Hello All,
I am new to PGP encryption. Please forgive my silly questions.
My requirement is like this. I have PGP installed at one of my client's
place. Client will send encrypted files to me and my application (Software
application in Java) needs to decrypt those files.
I have completed programming with Java application.
PGP desktop installed at my client place.I asked the client to export the
keys from All Keys--> KeyName--> Export (Keys).
So now i have Admin.asc file which contains both Private and Public keys.
My problem is this:- I am able to encrypt files using the public keys but
when i try to decrypt the same files using private keys. it is giving me an
error like "Secret key for message not found".
Does that mean Private key was not exported properly ? if yes.. please let
me know the proper way to export the private key.
I am using PGP 9.2
--
Thanks & Regards,
Gaurang
Bob Jonkman
2014-02-04 19:50:30 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm guessing your export did not include the secret keys. But I'm not
a PGP user (I've got GnuPG) so I'm not able to offer any suggestions...

- --Bob.
Hello all, Any clues? On 3 Feb 2014 23:25, "Gaurang Pandya"
Post by Gaurang Pandya
Hello All,
I am new to PGP encryption. Please forgive my silly questions.
My requirement is like this. I have PGP installed at one of my
client's place. Client will send encrypted files to me and my
application (Software application in Java) needs to decrypt those
files.
I have completed programming with Java application.
PGP desktop installed at my client place.I asked the client to
export the keys from All Keys--> KeyName--> Export (Keys).
So now i have Admin.asc file which contains both Private and
Public keys.
My problem is this:- I am able to encrypt files using the public
keys but when i try to decrypt the same files using private keys.
it is giving me an error like "Secret key for message not
found".
Does that mean Private key was not exported properly ? if yes..
please let me know the proper way to export the private key.
I am using PGP 9.2
-- Thanks & Regards, Gaurang
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Ensure confidentiality, authenticity, non-repudiability

iEYEARECAAYFAlLxRIQACgkQuRKJsNLM5epQ2QCgsfqbVCDYg0q/1FtaPs3ViDVB
qoMAn0iWqgVBLQtBQ526uJQ0U4mysVUj
=635h
-----END PGP SIGNATURE-----


------------------------------------

______________________________________________________________
Archives: http://groups.yahoo.com/group/PGP-Basics/messages
OT List: http://groups.yahoo.com/group/PGP-Basics-OT
OT Subscribe: mailto:PGP-Basics-OT-***@yahoogroups.com
Gossamer Spider Web of Trust http://www.gswot.org

Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/PGP-Basics/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/PGP-Basics/join
(Yahoo! ID required)

<*> To change settings via email:
PGP-Basics-***@yahoogroups.com
PGP-Basics-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
PGP-Basics-***@yahoogroups.com

<*> Your use of Yahoo Groups is subject to:
http://info.yahoo.com/legal/us/yahoo/utos/terms/
Michael Daigle
2014-02-04 23:33:36 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Post by Gaurang Pandya
I am new to PGP encryption. Please forgive my silly questions.
Welcome to PGP-Basics, Gaurang!
Post by Gaurang Pandya
My requirement is like this. I have PGP installed at one of my
client's place. Client will send encrypted files to me and my
application (Software application in Java) needs to decrypt those
files.
I have completed programming with Java application.
PGP desktop installed at my client place.I asked the client to
export the keys from All Keys--> KeyName--> Export (Keys).
I don't have PGP installed but that doesn't sound like a route to
exporting a private keypair. I suspect only public keys were exported.
Post by Gaurang Pandya
So now i have Admin.asc file which contains both Private and
Public keys.
Did you verify this? Did you view the .asc file in a text editor and
note a PGP block header containing "PRIVATE KEY", or did your
application advise you that a private key was imported? Does your
application inform you that you have the private key?
Post by Gaurang Pandya
My problem is this:- I am able to encrypt files using the public
keys but when i try to decrypt the same files using private keys.
it is giving me an error like "Secret key for message not found".
Does that mean Private key was not exported properly ? if yes..
please let me know the proper way to export the private key.
I am using PGP 9.2
Again, I don't use PGP but I would hazard a guess that you would be
able to right-click on the public key in the key manager and select to
export the key. If you could not then choose to export the private
key, an option (probably a radio button or check box) may appear in
the export dialog to include the private key. A strong passphrase to
protect the private key is encouraged, and since the private key is
being shared you should also ensure the passphrase is passed on as
securely as the private key.


- --
Mike Daigle http://www.mikedaigle.ca


-----BEGIN PGP SIGNATURE-----
Comment: Mike Daigle Ontario, Canada www.mikedaigle.ca

iHEEAREDADEFAlLxeM4qGGh0dHA6Ly9saW5rcy5taWtlZGFpZ2xlLmNhL01pa2VE
YWlnbGUuYXNjAAoJEE7x4eArFU5idhoAn3p4YFcSg6lL21/cE0x1Td7XQl9AAKCN
hTJB/bUYDXGJbK2lS+xlutF/Sg==
=6z0K
-----END PGP SIGNATURE-----


------------------------------------

______________________________________________________________
Archives: http://groups.yahoo.com/group/PGP-Basics/messages
OT List: http://groups.yahoo.com/group/PGP-Basics-OT
OT Subscribe: mailto:PGP-Basics-OT-***@yahoogroups.com
Gossamer Spider Web of Trust http://www.gswot.org

Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/PGP-Basics/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/PGP-Basics/join
(Yahoo! ID required)

<*> To change settings via email:
PGP-Basics-***@yahoogroups.com
PGP-Basics-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
PGP-Basics-***@yahoogroups.com

<*> Your use of Yahoo Groups is subject to:
http://info.yahoo.com/legal/us/yahoo/utos/terms/

Continue reading on narkive:
Loading...