signing a hash

Atom 'Smasher' atom at suspicious.org
Mon May 24 19:47:16 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

are there any hacks to create a signature using the hash of a message,
instead of feeding the message into gpg and letting gpg calculate the
hash?

in other words, if i want to sign the message: "test\n"
can i just tell gpg to create a signature for a message that hashes to:
		4e1243bd22c66e76c2ba9eddc1f91394e57f9f83
???

would that be a difficult option to add? --sign-hash ??


        ...atom

 _________________________________________
 PGP key - http://atom.smasher.org/pgp.txt
 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
 -------------------------------------------------

	"The Final Act of the Uruguay Round, marking the conclusion of
	 the most ambitious trade negotiation of our century, will
	 give birth - in Morocco - to the World Trade Organization,
	 the third pillar of the New World Order, along with the
	 United Nations and the International Monetary Fund."
		-- Part of full-page advertisement
		by the government of Morocco in
		The New York Times (April 1994)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
Comment: What is this gibberish?  -  http://atom.smasher.org/links/#digital_signatures

iEYEARECAAYFAkCyNSoACgkQnCgLvz19QeMsyACdGoA0rJbjuJmWsL9qrLjUBAGo
LHsAoKaV+aiFYYkU2VzH0XzQPoVt5sHp
=jtjy
-----END PGP SIGNATURE-----



More information about the Gnupg-devel mailing list