Hello,
I would like to know an easy way to get numbers used in a key.
For example, in a RSA key, N and e (used like this: message^e modulus N)
Here is one RSA 1024 bits public key:
-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v1.4.10 (GNU/Linux)
On 2 August 2011 20:10, Sébastien tigresetdrag...@yahoo.fr wrote:
Hello,
I would like to know an easy way to get numbers used in a key.
For example, in a RSA key, N and e (used like this: message^e modulus N)
Why do you want N and E?
I think exponent is almost always 65537
Some apps display
For example, in a RSA key, N and e (used like this: message^e modulus N)
Note that gpg uses hybrid (session key) encryption. There are various
advantages, e.g. you can reveal the session key to someone else (think
subpoena) without giving up your entire key.
--
Jerome Baum
Hessenweg 222
48432
On Tue, 2 Aug 2011 20:10, tigresetdrag...@yahoo.fr said:
I would like to know an easy way to get numbers used in a key.
For example, in a RSA key, N and e (used like this: message^e modulus N)
Import the key and then:
$ gpg --list-keys --with-key-data KEYID
In the output look for pkd
Sorry, wrong link extension,
here is the correct one:
http://www.pgpdump.net/
vedaal
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users