Using an RSA GnuPG key for RSA ?

Peter Lebbing peter at
Sun Apr 6 21:50:06 CEST 2014

On 06/04/14 16:29, vedaal at wrote:
> [5] Examine it in PGPdump,  and extract the RSA components

On Debian, there is the pgpdump package which, I just tested, outputs the
private key components in hex (or hex escaped string with -g).

Also, when I did apt-cache search pgpdump, I noticed there is a Python library:
[1]. That might be even better for your purpose.




I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <>

More information about the Gnupg-users mailing list