[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

a /etc/magic for the unix file command




-----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-----