Retreive pgp secret key
Hi,
i'm using opengpg to decrypt an encrypted file with GnuPG. I have tested some example code giving in the example folder for opengpg. Here, to decrypt file, we need to pass the secret key file as a parameter. My problem is that i want to retreive this secret key from the keyring og gpg and not giving in it as a file. I know that this key is password protected but is there another way to retreive secret key than searching it from an inputstream variable.
Tnahks
|