From eebb15430448026c71fcaa5c664efad35bd376e6 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Thu, 3 Aug 1995 07:11:45 +0000 Subject: [PATCH] Sanitize the PGP strings a bit. --- usr.bin/file/Magdir/pgp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/usr.bin/file/Magdir/pgp b/usr.bin/file/Magdir/pgp index 39655538792..eb10f2186e3 100644 --- a/usr.bin/file/Magdir/pgp +++ b/usr.bin/file/Magdir/pgp @@ -1,10 +1,11 @@ # -# pgp (pretty good protection) -0 beshort 0x9900 pgp key public ring -0 beshort 0x9501 pgp key security ring -0 beshort 0x9500 pgp key security ring -0 string -----BEGIN\040PGP pgp armored data ->15 string PUBLIC\040KEY\040BLOCK- public key blocK ->15 string MESSAGE- message ->15 string SIGNED\040MESSAGE- signed message ->15 string PGP\040SIGNATURE- signature +# PGP (Pretty Good Privacy) +# +0 beshort 0x9900 PGP key public ring +0 beshort 0x9501 PGP key security ring +0 beshort 0x9500 PGP key security ring +0 string -----BEGIN\040PGP PGP armored data +>15 string PUBLIC\040KEY\040BLOCK- (public key block) +>15 string MESSAGE- (message) +>15 string SIGNED\040MESSAGE- (signed message) +>15 string PGP\040SIGNATURE- (signature)