NODE c09d6ab4a /etc/magic for the unix file command
Peter & <shipley@merde.dis.org>Wed, 3 Mar 93 18:13:48 PST
-----BEGIN PGP SIGNED MESSAGE-----
to "teach" the Unix file(1) command to identify pgpfiles add the following
to your /etc/magic file:
# pgp hacks
0 short 0x9900 pgp key public ring
0 short 0x9501 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
#
-----BEGIN PGP SIGNATURE-----
Version: 2.1
iQBFAgUBK5Vk5shmn7GUWLLFAQH7LwF9FxXXT2BldFcSQsRN1OzB8o5qauyFvOJq
fXzOOEZxU+aAAS194IPzGwjysKEVn3m/
=sDtW
-----END PGP SIGNATURE-----
NODE 9cac8caaRe: a /etc/magic for the unix file command
Nickey MacDonald <i6t4@jupiter.sun.csd.unb.ca>Wed, 3 Mar 93 18:58:53 PST
Just a note... to save people some time... The fields for those additions
to the magic file must be seperated by TABs....
---
Nick MacDonald | NMD on IRC
i6t4@jupiter.sun.csd.unb.ca | PGP 2.1 Public key available via finger
On Wed, 3 Mar 1993, Peter & wrote:
> # pgp hacks
> 0 short 0x9900 pgp key public ring
> 0 short 0x9501 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
> #