extracting the message from a clearsigned message

Joel N. Weber II devnull at gnu.org
Fri Nov 8 18:32:01 CET 2002


Let's say I grab a file like the one you see at the end of this
message.  What's the best way to take the output of --clearsign
--not-dash-escaped and find out what the input to gpg had been?

(It's obvious how to use gpg --verify to check the sig.  But if I want
to display just the actual directory listing, without the GPG stuff,
how do I do that?)

ftp> get ls-l.asc /dev/tty
local: /dev/tty remote: ls-l.asc
227 Entering Passive Mode (199,232,41,7,25,40)
150 Opening BINARY mode data connection for ls-l.asc (959 bytes).
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

ftp://ftp.gnu.org/gnu/wget
total 6340
-rw-rw-r--    1 root     ftp        446966 Sep 23  1998 wget-1.5.3.tar.gz
-rw-rw-r--    1 bkuhn    ftp        670777 Dec 31  2000 wget-1.6.tar.gz
-rw-rw-r--    1 bkuhn    ftp            72 Dec 31  2000 wget-1.6.tar.gz.sig
-rw-r--r--    1 bonzini  ftp       1035518 Nov 18  2001 wget-1.7.1.tar.gz
-rw-r--r--    1 gary     ftp        945138 Jun  4  2001 wget-1.7.tar.gz
-rw-r--r--    1 bonzini  hurdalph  1097780 Dec 25  2001 wget-1.8.1.tar.gz
-rw-r--r--    1 root     ftp       1154648 May 28 15:16 wget-1.8.2.tar.gz
-rw-r--r--    1 bonzini  ftp       1087847 Dec 10  2001 wget-1.8.tar.gz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9y30EVPKHinzsOTURAnaMAJ9dO4CixAG692qu54xv0GVGckJ3egCeIlLo
ecmRFieMOt3WqSYHz+VrP4I=
=7Uyw
-----END PGP SIGNATURE-----
226 File send OK.
959 bytes received in 00:00 (5.95 KB/s)
ftp> 




More information about the Gnupg-devel mailing list